Changeset 7134 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 06/03/05 20:15:28 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mmain
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r7061 r7134 83 83 #include "MMcCalibrationUpdate.h" // MMcCalibrationUpdate 84 84 #include "MCalibrateData.h" // MCalibrateData 85 #include "MMuonSearchParCalc.h" // MMuonSearchParCalc 86 #include "MMuonCalibParCalc.h" // MMuonCalibParCalc 85 87 //#include "MMcTriggerLvl2Calc.h" // MMcTriggerLvl2Calc 86 88 … … 100 102 #include "MPedPhotCam.h" // MPedPhotCam 101 103 #include "MCalibrationChargeCam.h" // MCalibrationChargeCam 104 #include "MMuonSearchPar.h" // MMuonCalibPar 102 105 //#include "MMcTriggerLvl2.h" // MMcTriggerLvl2 103 106 … … 212 215 //plist->AddToList(atime); 213 216 214 MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignal Raw);215 MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignal Raw);217 MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalDensity); 218 MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalDensity); 216 219 MHEvent *evt03 = new MHEvent(type==1?MHEvent::kEvtPedPhot:MHEvent::kEvtPedestal); 217 220 MHEvent *evt04 = new MHEvent(type==1?MHEvent::kEvtPedPhotRMS:MHEvent::kEvtPedestalRMS); … … 247 250 248 251 MExtractTimeAndChargeDigitalFilter *digf = new MExtractTimeAndChargeDigitalFilter; 249 digf-> ReadWeightsFile("msignal/MC_weights.dat");252 digf->SetNameWeightsFile("msignal/cosmics_weights46.dat"); 250 253 251 254 MTaskEnv *taskenv1=new MTaskEnv("ExtractSignal"); … … 253 256 taskenv1->SetOwner(); 254 257 255 MSignalCalc *nanal= new MSignalCalc;256 MFillH *fill01= new MFillH(evt01, "MSignalCam", "MFillH01");257 MImgCleanStd *clean= new MImgCleanStd;258 MFillH *fill02= new MFillH(evt02, "MSignalCam", "MFillH02");259 MFillH *fill03= new MFillH(evt03, type==1?"MPedPhotFundamental":"MPedestalCam", "MFillH03");260 MFillH *fill04= new MFillH(evt04, type==1?"MPedPhotFromExtractorRndm":"MPedestalCam", "MFillH04");261 MFillH *fill06a= new MFillH(evt06a, "MCameraData", "MFillH06a");262 MFillH *fill06b= new MFillH(evt06b, "MCameraData", "MFillH06b");263 MHillasCalc *hcalc= new MHillasCalc;258 MSignalCalc *nanal = new MSignalCalc; 259 MFillH *fill01 = new MFillH(evt01, "MSignalCam", "MFillH01"); 260 MImgCleanStd *clean = new MImgCleanStd; 261 MFillH *fill02 = new MFillH(evt02, "MSignalCam", "MFillH02"); 262 MFillH *fill03 = new MFillH(evt03, type==1?"MPedPhotFundamental":"MPedestalCam", "MFillH03"); 263 MFillH *fill04 = new MFillH(evt04, type==1?"MPedPhotFromExtractorRndm":"MPedestalCam", "MFillH04"); 264 MFillH *fill06a = new MFillH(evt06a, "MCameraData", "MFillH06a"); 265 MFillH *fill06b = new MFillH(evt06b, "MCameraData", "MFillH06b"); 266 MHillasCalc *hcalc = new MHillasCalc; 264 267 //MMcTriggerLvl2Calc *trcal = new MMcTriggerLvl2Calc; 265 268 //MFillH *fill09 = new MFillH(evt09, "MMcTriggerLvl2", "MFillH09"); 266 MFillH *fill10= new MFillH(evt10, "MSignalCam", "MFillH10");267 268 MBadPixelsCalc *bcalc= new MBadPixelsCalc;269 MBadPixelsTreat *btreat= new MBadPixelsTreat;269 MFillH *fill10 = new MFillH(evt10, "MSignalCam", "MFillH10"); 270 271 MBadPixelsCalc *bcalc = new MBadPixelsCalc; 272 MBadPixelsTreat *btreat = new MBadPixelsTreat; 270 273 btreat->SetProcessTimes(kFALSE); 271 274 if (type==1) … … 336 339 } 337 340 tlist->AddToList(hcalc); 341 // -------------------------------------------------- 342 MMuonSearchParCalc *muscalc = new MMuonSearchParCalc; 343 MMuonCalibParCalc *mcalc = new MMuonCalibParCalc; 344 MFillH *fillmuon = new MFillH("MHSingleMuon", "", "FillMuon"); 345 tlist->AddToList(muscalc); 346 tlist->AddToList(fillmuon); 347 tlist->AddToList(mcalc); 348 // -------------------------------------------------- 338 349 339 350 // … … 542 553 plist->FindObject("MImagePar")->Print(); 543 554 ((MNewImagePar*)plist->FindObject("MNewImagePar"))->Print(*geom); 555 plist->FindObject("MMuonCalibPar")->Print(); 556 ((MMuonSearchPar*)plist->FindObject("MMuonSearchPar"))->Print(*geom); 544 557 545 558 // … … 589 602 TObject *hillas1 = plist->FindObject("MHillas"); 590 603 TObject *hillas2 = plist->FindObject("MHillasSrc"); 604 TObject *hmuon = plist->FindObject("MMuonSearchPar"); 591 605 for (int i=1; i<7;i++) 592 606 { 593 607 TCanvas *c = GetCanvas(i); 594 608 c->GetPad(1)->cd(1); 609 hmuon->Draw(); 595 610 hillas1->Draw(); 596 611 hillas2->Draw(); -
trunk/MagicSoft/Mars/mmain/Makefile
r6856 r7134 23 23 -I../mfileio -I../mimage -I../mhistmc -I../mgbase -I../mfbase \ 24 24 -I../mdata -I../msignal -I../mcalib -I../mbadpixels \ 25 -I../mpointing -I../mpedestal 25 -I../mpointing -I../mpedestal -I../mmuon 26 26 27 27 SRCFILES = MBrowser.cc \
Note:
See TracChangeset
for help on using the changeset viewer.