Changeset 3966 for trunk/MagicSoft/Mars
- Timestamp:
- 05/04/04 18:28:59 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3964 r3966 19 19 -*-*- END OF LINE -*-*- 20 20 21 2004/05/04: Raquel de los Reyes 22 23 * mbase/MRunIter.[h,cc] 24 - Added a flag and a set function to read .raw files. 25 The default option is set to read .root files. 26 21 27 2004/05/04: Javier Rico 22 28 … … 24 30 - when calibrating using kNONE, weight by the pixel area 25 31 26 27 32 2004/05/04: Thomas Bretz 28 33 -
trunk/MagicSoft/Mars/mbase/MRunIter.cc
r3944 r3966 52 52 p = "."; 53 53 54 MDirIter Next(p, Form("*_%05d_*_ *.root", run), -1);54 MDirIter Next(p, Form("*_%05d_*_%s", run,fIsRawFile?"*.raw":"*.root"), -1); 55 55 56 56 const TString name(Next()); -
trunk/MagicSoft/Mars/mbase/MRunIter.h
r3874 r3966 15 15 TString fPath; 16 16 TArrayI fRuns; 17 18 Bool_t fIsRawFile; 19 20 void SetRawFile(Bool_t filetype) { fIsRawFile = filetype; } 17 21 18 22 void AddRunNumber(UInt_t run) … … 39 43 40 44 public: 41 MRunIter(const char *path=0) : fPath(path) { }45 MRunIter(const char *path=0) : fPath(path), fIsRawFile(0) { } 42 46 43 47 Int_t AddRun(UInt_t run, const char *path=0);
Note:
See TracChangeset
for help on using the changeset viewer.