Changeset 3913 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 04/30/04 17:11:54 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r3906 r3913 55 55 // 56 56 ///////////////////////////////////////////////////////////////////////////// 57 //static const TString inpath = "/home/rootdata/Calib/2004_04_16/"; 58 static const TString inpath = "/mnt/Data/rootdata/CrabNebula/2003_12_01/"; 59 static const Int_t pedrun = 3340; 60 static const Int_t calrun1 = 3341; 57 static const TString inpath = "/mnt/Data/rootdata/Miscellaneous/2004_03_03/"; 58 static const Int_t pedrun = 20123; 59 static const Int_t calrun1 = 20126; 61 60 static const Int_t calrun2 = 0; 62 /* 63 static const Int_t pedrun = 22265; 64 static const Int_t calrun1 = 22300; 65 static const Int_t calrun2 = 0; 66 */ 61 67 62 void calibration(const Int_t prun=pedrun, const Int_t crun1=calrun1, const Int_t crun2=calrun2) 68 63 { 69 64 70 65 MExtractFixedWindowPeakSearch extractor; 71 extractor.SetRange(0,6,0,6);66 // extractor.SetRange(0,14,0,14); 72 67 73 /* 74 MExtractTimeSpline timeext; 75 timeext.SetRange(0,14,6,14); 76 */ 68 // MExtractSlidingWindow extractor; 69 // MExtractFixedWindow extractor; 70 71 MExtractTimeHighestIntegral timeext; 72 73 // MExtractTimeSpline timeext; 74 // timeext.SetRange(0,14,6,14); 77 75 78 76 MRunIter pruns; … … 137 135 calloop.SetRelTimeCalibration(); 138 136 calloop.SetExtractor(&extractor); 139 // calloop.SetArrivalTimeLevel(1); 140 // calloop.SetTimeExtractor(&timeext); 137 calloop.SetTimeExtractor(&timeext); 141 138 calloop.SetInput(&cruns); 142 139 calloop.SetDisplay(display);
Note:
See TracChangeset
for help on using the changeset viewer.