Changeset 4370
- Timestamp:
- 06/30/04 19:48:23 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4365 r4370 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/06/30: Thomas Bretz 23 24 * mbase/MEvtLoop.[h,cc]: 25 - overwrite ReadEnv with a new function taking the 26 name of the setup file as argument 27 28 * mjobs/MJPedestal.[h,cc]: 29 - added setup file name as argument to 30 31 * mjobs/MJPedestal.[h,cc]: 32 - implemented a new data member fEnv 33 - implemented new setter SetEnv 34 - some small changes towards setup files 35 - some simplifications to line drawing 36 37 * msignal/MExtractor.[h,cc]: 38 - added ReadEnv member function 39 - removed obsolete virtual qualifiers in header 40 - simplified usage of Form() 41 42 * mraw/MRawFileWrite.[h,cc]: 43 - moved writing of RunHeaders from PreProcess to new ReInit 44 45 21 46 22 47 2004/06/29: Thomas Bretz -
trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc
r3387 r4370 174 174 // - Branches are automatically deleted by the tree destructor 175 175 // 176 177 // 178 // Write the run header information to the file 179 // 180 TTree *rh = new TTree("RunHeaders", "Run headers of all runs in this file"); 181 rh->Branch("MRawRunHeader.", "MRawRunHeader", &fRawRunHeader, 32000); 182 rh->Fill(); 183 //rh->Write(); 176 fTRunHeader = new TTree("RunHeaders", "Run headers of all runs in this file"); 177 fTRunHeader->Branch("MRawRunHeader.", "MRawRunHeader", &fRawRunHeader, 32000); 184 178 185 179 // … … 229 223 return kTRUE; 230 224 } 231 225 226 // -------------------------------------------------------------------------- 227 // 228 // Write the run header information to the file 229 // 230 Bool_t MRawFileWrite::ReInit(MParList *pList) 231 { 232 fTRunHeader->Fill(); 233 return kTRUE; 234 } 235 232 236 // -------------------------------------------------------------------------- 233 237 // -
trunk/MagicSoft/Mars/mraw/MRawFileWrite.h
r3800 r4370 31 31 TTree *fTCalibration; //! 32 32 33 TTree *fTRunHeader; //! 34 33 35 TFile *fOut; //! 36 37 Int_t PreProcess(MParList *pList); 38 Bool_t ReInit(MParList *pList); 39 Int_t Process(); 34 40 35 41 public: … … 41 47 ~MRawFileWrite(); 42 48 43 Int_t PreProcess(MParList *pList);44 Int_t Process();45 46 49 ClassDef(MRawFileWrite, 0) // Task to write the raw data containers to a root file 47 50 };
Note:
See TracChangeset
for help on using the changeset viewer.