Changeset 17895 for trunk/Mars/fact/analysis/star.C
- Timestamp:
- 05/26/14 16:29:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/analysis/star.C
r17885 r17895 1 1 #include "MLogManip.h" 2 2 3 int star(const char *seqfile="sequences/20111205_013.seq", Double_t lvl1=4.0, Double_t lvl2=2.5, const char *inpath = "output", const char *outpath = "output") 3 int star(const char *seqfile="sequences/20111205_013.seq", 4 const char *inpath = "callisto_new", const char *outpath = "callisto_new") 4 5 { 5 6 double deltat = 17.5; 6 // lvl1 = 2.5;7 // lvl2 = 0.5;8 7 9 8 // The sequence file which defines the files for the analysis … … 109 108 110 109 MContinue cont("MRawEvtHeader.GetTriggerID!=4", "SelectData"); 110 //MContinue cont("(MRawEvtHeader.GetTriggerID&0xff00)!=0", "SelectDat"); 111 //MContinue cont("(MRawEvtHeader.GetTriggerID&0xff00)!=0x400", "SelectPed"); 111 112 112 113 MGeomApply apply; 113 114 114 MImgCleanStd clean(lvl1, lvl2); 115 clean.SetMethod(MImgCleanStd::kAbsolute); 116 clean.SetTimeLvl1(deltat);//17.5/*1.3*/); 117 clean.SetTimeLvl2(deltat);//17.5/*1.3*/); 118 clean.SetPostCleanType(3); 115 MImgCleanTime clean; 116 clean.SetMinCount(0); 117 clean.SetMinSize(25); 118 clean.SetDeltaT(1.25*17.5*0.1111); 119 119 120 120 MHillasCalc hcalc; … … 296 296 return 0; 297 297 } 298 299 int star(const ULong64_t seqnum, Double_t lvl1=4.0, Double_t lvl2=2.5, const char *inpath = "output", const char *outpath = "output")300 {301 UInt_t night = seqnum/1000;302 UInt_t num = seqnum%1000;303 304 TString file = Form("/scratch/fact/sequences/%04d/%02d/%02d/%06d_%03d.seq",305 night/10000, (night/100)%100, night%100, num);306 307 return star(file.Data(), lvl1, lvl2, inpath, outpath);308 }
Note:
See TracChangeset
for help on using the changeset viewer.