Changeset 4702 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 08/23/04 11:41:30 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r4452 r4702 215 215 fEvtLoop->SetParList(plist); 216 216 217 MHEvent *evt1 = new MHEvent(MHEvent::kEvtSignalRaw); 218 MHEvent *evt2 = new MHEvent(MHEvent::kEvtSignalRaw); 219 MHEvent *evt3 = new MHEvent(MHEvent::kEvtPedestal); 220 MHEvent *evt4 = new MHEvent(MHEvent::kEvtPedestalRMS); 221 MHEvent *evt5 = new MHEvent(MHEvent::kEvtRelativeSignal); 222 MHEvent *evt6 = new MHEvent(MHEvent::kEvtCleaningLevels); 223 MHEvent *evt7 = new MHEvent(MHEvent::kEvtIdxMax); 224 MHEvent *evt8 = new MHEvent(MHEvent::kEvtArrTime); 225 MHEvent *evt9 = new MHEvent(MHEvent::kEvtTrigPix); 226 227 evt1->SetName("Signal"); 228 evt2->SetName("Cleaned"); 229 evt3->SetName("Pedestal"); 230 evt4->SetName("PedRMS"); 231 evt5->SetName("Signal/PedRMS"); 232 evt6->SetName("CleanLevels"); 233 evt7->SetName("Max Slice Idx"); 234 evt8->SetName("Arrival Time"); 235 evt9->SetName("Trigger"); 217 MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalRaw); 218 MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalRaw); 219 MHEvent *evt03 = new MHEvent(MHEvent::kEvtPedestal); 220 MHEvent *evt04 = new MHEvent(MHEvent::kEvtPedestalRMS); 221 MHEvent *evt05 = new MHEvent(MHEvent::kEvtRelativeSignal); 222 MHEvent *evt06 = new MHEvent(MHEvent::kEvtCleaningLevels); 223 MHEvent *evt07 = new MHEvent(MHEvent::kEvtIdxMax); 224 MHEvent *evt08 = new MHEvent(MHEvent::kEvtArrTime); 225 MHEvent *evt09 = new MHEvent(MHEvent::kEvtTrigPix); 226 MHEvent *evt10 = new MHEvent(MHEvent::kEvtIslandIndex); 227 228 evt01->SetName("Signal"); 229 evt02->SetName("Cleaned"); 230 evt03->SetName("Pedestal"); 231 evt04->SetName("PedRMS"); 232 evt05->SetName("Signal/PedRMS"); 233 evt06->SetName("CleanLevels"); 234 evt07->SetName("Max Slice Idx"); 235 evt08->SetName("Arrival Time"); 236 evt09->SetName("Trigger"); 237 evt10->SetName("Islands"); 236 238 237 239 // This makes sure, that the containers are deleted... 238 plist->AddToList(evt1); 239 plist->AddToList(evt2); 240 plist->AddToList(evt3); 241 plist->AddToList(evt4); 242 plist->AddToList(evt5); 243 plist->AddToList(evt6); 244 plist->AddToList(evt7); 245 plist->AddToList(evt8); 246 plist->AddToList(evt9); 247 248 MCerPhotAnal2 *nanal = new MCerPhotAnal2; 249 MFillH *fill1 = new MFillH(evt1, "MCerPhotEvt", "MFillH1"); 250 MImgCleanStd *clean = new MImgCleanStd; 251 MFillH *fill2 = new MFillH(evt2, "MCerPhotEvt", "MFillH2"); 252 MFillH *fill3 = new MFillH(evt3, "MPedPhotCam", "MFillH3"); 253 MFillH *fill4 = new MFillH(evt4, "MPedPhotCam", "MFillH4"); 254 MFillH *fill5 = new MFillH(evt5, "MCameraData", "MFillH5"); 255 MFillH *fill6 = new MFillH(evt6, "MCameraData", "MFillH6"); 240 plist->AddToList(evt01); 241 plist->AddToList(evt02); 242 plist->AddToList(evt03); 243 plist->AddToList(evt04); 244 plist->AddToList(evt05); 245 plist->AddToList(evt06); 246 plist->AddToList(evt07); 247 plist->AddToList(evt08); 248 plist->AddToList(evt09); 249 plist->AddToList(evt10); 250 251 MCerPhotAnal2 *nanal = new MCerPhotAnal2; 252 MFillH *fill01 = new MFillH(evt01, "MCerPhotEvt", "MFillH01"); 253 MImgCleanStd *clean = new MImgCleanStd; 254 MFillH *fill02 = new MFillH(evt02, "MCerPhotEvt", "MFillH02"); 255 MFillH *fill03 = new MFillH(evt03, "MPedPhotCam", "MFillH03"); 256 MFillH *fill04 = new MFillH(evt04, "MPedPhotCam", "MFillH04"); 257 MFillH *fill05 = new MFillH(evt05, "MCameraData", "MFillH05"); 258 MFillH *fill06 = new MFillH(evt06, "MCameraData", "MFillH06"); 256 259 // MBlindPixelCalc *blind = new MBlindPixelCalc; 257 MHillasCalc *hcalc = new MHillasCalc; 258 MHillasSrcCalc *scalc = new MHillasSrcCalc; 259 MMcTriggerLvl2Calc *trcal = new MMcTriggerLvl2Calc; 260 MFillH *fill9 = new MFillH(evt9, "MMcTriggerLvl2", "MFillH9"); 260 MHillasCalc *hcalc = new MHillasCalc; 261 MHillasSrcCalc *scalc = new MHillasSrcCalc; 262 MMcTriggerLvl2Calc *trcal = new MMcTriggerLvl2Calc; 263 MFillH *fill09 = new MFillH(evt09, "MMcTriggerLvl2", "MFillH09"); 264 MFillH *fill10 = new MFillH(evt10, "MCerPhotEvt", "MFillH10"); 261 265 262 266 // If no pedestal or no calibration file is availble … … 285 289 mcupd->SetFilter(f1); 286 290 mccal->SetFilter(f1); 287 trcal->SetFilter(f1); 291 trcal->SetFilter(f1); 292 //fill09->SetFilter(f1); 288 293 289 294 // Data … … 309 314 } 310 315 311 tlist->AddToList(fill 1);316 tlist->AddToList(fill01); 312 317 tlist->AddToList(clean); 313 tlist->AddToList(fill 2);314 tlist->AddToList(fill 3);315 tlist->AddToList(fill 4);316 tlist->AddToList(fill 5);317 tlist->AddToList(fill 6);318 tlist->AddToList(fill02); 319 tlist->AddToList(fill03); 320 tlist->AddToList(fill04); 321 tlist->AddToList(fill05); 322 tlist->AddToList(fill06); 318 323 // tlist->AddToList(blind); 319 324 tlist->AddToList(hcalc); 320 325 tlist->AddToList(scalc); 326 tlist->AddToList(fill10); 321 327 322 328 if (!pcam || !ccam) 323 329 { 324 330 MArrivalTimeCalc *tcalc = new MArrivalTimeCalc; 325 MFillH *fill 7 = new MFillH(evt7, "MRawEvtData", "MFillH7");326 MFillH *fill 8 = new MFillH(evt8, "MArrivalTimeCam", "MFillH8");331 MFillH *fill07 = new MFillH(evt07, "MRawEvtData", "MFillH7"); 332 MFillH *fill08 = new MFillH(evt08, "MArrivalTimeCam", "MFillH8"); 327 333 tlist->AddToList(tcalc); 328 tlist->AddToList(fill 7);329 tlist->AddToList(fill 8);334 tlist->AddToList(fill07); 335 tlist->AddToList(fill08); 330 336 331 337 tlist->AddToList(trcal); 332 tlist->AddToList(fill 9);338 tlist->AddToList(fill09); 333 339 } 334 340
Note:
See TracChangeset
for help on using the changeset viewer.