#include <TFile.h>#include <TH2F.h>#include "DSTAnalysis/NuMI/NuMIRunQAna.h"#include "DSTAnalysis/NuMI/NuMIBeamAna.h"#include "DSTAnalysis/NuMI/NuMITgtAna.h"#include "MIPPEventSummary/MIPPEventSummary.h"#include "MIPPEventSummary/MIPPTrackSummary.h"Go to the source code of this file.
Functions | |
| void | InitDST (const char *fname) |
| void | EndDST () |
| bool | AnaDST (const MIPPEventSummary *dst) |
Variables | |
| static int | firstRun = 14497 |
| static int | lastRun = 15250 |
| static NuMIRunQAna * | fNuMIRunQAna = 0 |
| static NuMIBeamAna * | fNuMIBeamAna = 0 |
| static NuMITgtAna * | fNuMITgtAna = 0 |
| static TFile * | gsHistoFile = 0 |
| bool AnaDST | ( | const MIPPEventSummary * | dst | ) |
Definition at line 37 of file NuMI/round2/anadst.cxx.
Referenced by EvtSumLoop(), and main().
00038 { 00039 // Select only NuMI target data 00040 // if (dst->tgta!=1201) return false; 00041 00042 // Fill histograms related to run quality 00043 bool goodrun = fNuMIRunQAna->Ana(dst); 00044 if (goodrun==false) return false; 00045 00046 // Look at the beam track quality 00047 bool goodbeam = fNuMIBeamAna->Ana(dst); 00048 if (goodbeam==false) return false; 00049 00050 // Now fill analysis histograms 00051 bool goodevent = fNuMITgtAna->Ana(dst); 00052 if (goodevent==false) return false; 00053 00054 return true; 00055 }
| void EndDST | ( | ) |
Definition at line 33 of file NuMI/round2/anadst.cxx.
Referenced by main().
00033 { gsHistoFile->Write(); }
| void InitDST | ( | const char * | fname | ) |
Definition at line 21 of file NuMI/round2/anadst.cxx.
Referenced by main().
00022 { 00023 gsHistoFile = new TFile(fname,"RECREATE"); 00024 gsHistoFile->cd(); 00025 00026 fNuMIRunQAna = new NuMIRunQAna(); 00027 fNuMIBeamAna = new NuMIBeamAna(); 00028 fNuMITgtAna = new NuMITgtAna(); 00029 }
int firstRun = 14497 [static] |
NuMIBeamAna* fNuMIBeamAna = 0 [static] |
NuMIRunQAna* fNuMIRunQAna = 0 [static] |
NuMITgtAna* fNuMITgtAna = 0 [static] |
TFile* gsHistoFile = 0 [static] |
Definition at line 17 of file NuMI/round2/anadst.cxx.
Referenced by End(), EndDST(), Init(), InitDST(), InitOutput(), and WriteFile().
int lastRun = 15250 [static] |
Definition at line 10 of file NuMI/round2/anadst.cxx.
Referenced by DoIndividualWires(), DoSumsOverWires(), and MCTruth::NeedUpdate().
1.4.7