Changeset 3795 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 04/22/04 15:45:20 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r3768 r3795 75 75 #include "MMcCalibrationUpdate.h" // MMcCalibrationUpdate 76 76 #include "MCalibrate.h" // MCalibrate 77 #include "MMcTriggerLvl2Calc.h" // MMcTriggerLvl2Calc 77 78 78 79 // … … 90 91 #include "MPedPhotCam.h" // MPedPhotCam 91 92 #include "MCalibrationChargeCam.h" // MCalibrationChargeCam 93 #include "MMcTriggerLvl2.h" // MMcTriggerLvl2 92 94 93 95 ClassImp(MEventDisplay); … … 221 223 MHEvent *evt7 = new MHEvent(MHEvent::kEvtIdxMax); 222 224 MHEvent *evt8 = new MHEvent(MHEvent::kEvtArrTime); 225 MHEvent *evt9 = new MHEvent(MHEvent::kEvtTrigPix); 223 226 224 227 evt1->SetName("Signal"); … … 230 233 evt7->SetName("Max Slice Idx"); 231 234 evt8->SetName("Arrival Time"); 235 evt9->SetName("Trigger"); 232 236 233 237 // This makes sure, that the containers are deleted... … … 240 244 plist->AddToList(evt7); 241 245 plist->AddToList(evt8); 246 plist->AddToList(evt9); 242 247 243 248 MCerPhotAnal2 *nanal = new MCerPhotAnal2; … … 252 257 MHillasCalc *hcalc = new MHillasCalc; 253 258 MHillasSrcCalc *scalc = new MHillasSrcCalc; 259 MMcTriggerLvl2Calc *trcal = new MMcTriggerLvl2Calc; 260 MFillH *fill9 = new MFillH(evt9, "MMcTriggerLvl2", "MFillH9"); 254 261 255 262 // If no pedestal or no calibration file is availble … … 265 272 266 273 MExtractSignal* extra = new MExtractSignal(); 267 extra->SetRange( 5, 10, 5, 10);274 extra->SetRange(0, 6, 2, 7); 268 275 extra->SetSaturationLimit(240); 269 276 … … 278 285 mcupd->SetFilter(f1); 279 286 mccal->SetFilter(f1); 287 trcal->SetFilter(f1); 280 288 281 289 // Data … … 292 300 tlist->AddToList(mccal); 293 301 294 tlist->AddToList(nanal); 302 303 tlist->AddToList(nanal); 295 304 } 296 305 else … … 310 319 tlist->AddToList(hcalc); 311 320 tlist->AddToList(scalc); 321 312 322 if (!pcam || !ccam) 313 323 { … … 318 328 tlist->AddToList(fill7); 319 329 tlist->AddToList(fill8); 330 331 tlist->AddToList(trcal); 332 tlist->AddToList(fill9); 320 333 } 321 334 … … 518 531 ((MHillasSrc*) plist->FindObject("MHillasSrc"))->Print(*geom); 519 532 ((MNewImagePar*)plist->FindObject("MNewImagePar"))->Print(*geom); 520 533 521 534 // 522 535 // UpdateDisplay
Note:
See TracChangeset
for help on using the changeset viewer.