Changeset 2622
- Timestamp:
- 12/08/03 11:42:07 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2620 r2622 8 8 * mraw/MRawFileRead.cc: 9 9 - implemented an artificial time-stamp for the current data 10 11 * star.cc, macros/star.C: 12 - works now with MC files and real data. 10 13 11 14 -
trunk/MagicSoft/Mars/star.cc
r2563 r2622 17 17 #include "MMcPedestalNSBAdd.h" 18 18 #include "MCerPhotCalc.h" 19 #include "MCerPhotAnal2.h" 19 20 #include "MBlindPixelCalc.h" 20 21 #include "MSigmabarCalc.h" … … 23 24 #include "MHillasSrcCalc.h" 24 25 #include "MWriteRootFile.h" 26 #include "MFDataMember.h" 27 #include "MFillH.h" 28 #include "MPointingPosCalc.h" 29 #include "MReportDrive.h" // PRELIMINARY: 30 #include "MPointingPos.h" // PRELIMINARY: 25 31 26 32 using namespace std; … … 146 152 plist.AddToList(&tlist); 147 153 154 // PRELIMINARY: 155 /* 156 MReportDrive rep; 157 plist.AddToList(&rep); 158 MPointingPos pos; 159 plist.AddToList(&pos); 160 */ 161 148 162 // 149 163 // Now setup the tasks and tasklist: … … 156 170 MMcPedestalCopy pcopy; 157 171 MMcPedestalNSBAdd pnsb; 172 173 //MPointingPosCalc pcalc; 174 158 175 MCerPhotCalc ncalc; 176 MCerPhotAnal2 nanal; 177 178 MFDataMember f1("MRawRunHeader.fRunType", '>', 255.5); 179 MFDataMember f2("MRawRunHeader.fRunType", '<', 255.5); 180 181 ncalc.SetFilter(&f1); 182 nanal.SetFilter(&f2); 183 159 184 MBlindPixelCalc blind; 160 185 MSigmabarCalc sgcal; 186 //MFillH fills("MHSigmaTheta", "", "FillSigmaTheta"); 187 //MFillH fillb("MHBlindPixels", "", "FillBlindPixels"); 161 188 MImgCleanStd clean; 162 189 MHillasCalc hcalc; … … 165 192 166 193 tlist.AddToList(&read); 194 tlist.AddToList(&f1); 195 tlist.AddToList(&f2); 167 196 tlist.AddToList(&apply); 168 197 tlist.AddToList(&pcopy); 169 198 tlist.AddToList(&pnsb); 199 //tlist.AddToList(&pcalc); 170 200 tlist.AddToList(&ncalc); 201 tlist.AddToList(&nanal); 171 202 tlist.AddToList(&blind); 172 203 tlist.AddToList(&sgcal); 204 //tlist.AddToList(&fills); 205 //tlist.AddToList(&fillb); 173 206 tlist.AddToList(&clean); 174 207 tlist.AddToList(&hcalc); … … 186 219 blind.SetUseInterpolation(); 187 220 188 write.AddContainer(write.AddSerialNumber("MMcEvt"), "Events" );221 write.AddContainer(write.AddSerialNumber("MMcEvt"), "Events", kFALSE); 189 222 write.AddContainer(write.AddSerialNumber("MSigmabar"), "Events"); 190 223 write.AddContainer(write.AddSerialNumber("MHillas"), "Events"); … … 193 226 write.AddContainer(write.AddSerialNumber("MNewImagePar"), "Events"); 194 227 write.AddContainer(write.AddSerialNumber("MSrcPosCam"), "RunHeaders"); 228 //write.AddContainer(write.AddSerialNumber("MHSigmaTheta"), "RunHeaders"); 195 229 if (!kUpdate) 196 230 { 197 231 write.AddContainer("MRawRunHeader", "RunHeaders"); 198 write.AddContainer("MMcRunHeader", "RunHeaders" );232 write.AddContainer("MMcRunHeader", "RunHeaders", kFALSE); 199 233 } 200 234 … … 214 248 } 215 249 216 // tlist.PrintStatistics(); 250 tlist.PrintStatistics(); 251 252 //plist.FindObject("MHSigmaTheta")->Write(); 253 //plist.FindObject("MHBlindPixels")->Write(); 217 254 218 255 gLog << all << "Star finished successfull!" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.