Changeset 3389 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/03/04 13:50:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal.cc
r3374 r3389 103 103 return kFALSE; 104 104 105 return kTRUE; 106 } 107 108 Bool_t MCerPhotAnal::ReInit(MParList *pList) 109 { 105 110 fPedestals = NULL; 106 111 112 // This must be done in ReInit because in PreProcess the 113 // headers are not available 107 114 const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); 108 115 if (!runheader) -
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal.h
r2408 r3389 27 27 MRawRunHeader *fRunHeader; // RunHeader information 28 28 29 Int_t PreProcess(MParList *pList); 30 Int_t Process(); 29 Int_t PreProcess(MParList *pList); 30 Bool_t ReInit(MParList *pList); 31 Int_t Process(); 31 32 32 33 public: -
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc
r3374 r3389 106 106 return kFALSE; 107 107 108 return kTRUE; 109 } 110 111 Bool_t MCerPhotAnal2::ReInit(MParList *pList) 112 { 108 113 fPedestals=NULL; 109 114 115 // This must be done in ReInit because in PreProcess the 116 // headers are not available 110 117 const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); 111 118 if (!runheader) 112 119 *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl; 113 120 else 121 { 122 *fLog << all << "CHECK: " << runheader->GetRunType() << endl; 114 123 if (runheader->IsMonteCarloRun()) 115 124 return kTRUE; 125 } 116 126 117 127 fPedestals = (MPedPhotCam*)pList->FindCreateObj("MPedPhotCam"); -
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.h
r2946 r3389 33 33 Int_t fSkip; //! 34 34 35 Int_t PreProcess(MParList *pList); 36 Int_t Process(); 37 Int_t PostProcess(); 35 Int_t PreProcess(MParList *pList); 36 Bool_t ReInit(MParList *pList); 37 Int_t Process(); 38 Int_t PostProcess(); 38 39 39 40 public:
Note:
See TracChangeset
for help on using the changeset viewer.