Ignore:
Timestamp:
06/03/05 20:15:28 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mmain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MEventDisplay.cc

    r7061 r7134  
    8383#include "MMcCalibrationUpdate.h" // MMcCalibrationUpdate
    8484#include "MCalibrateData.h"       // MCalibrateData
     85#include "MMuonSearchParCalc.h"   // MMuonSearchParCalc
     86#include "MMuonCalibParCalc.h"    // MMuonCalibParCalc
    8587//#include "MMcTriggerLvl2Calc.h"   // MMcTriggerLvl2Calc
    8688
     
    100102#include "MPedPhotCam.h"           // MPedPhotCam
    101103#include "MCalibrationChargeCam.h" // MCalibrationChargeCam
     104#include "MMuonSearchPar.h"        // MMuonCalibPar
    102105//#include "MMcTriggerLvl2.h"        // MMcTriggerLvl2
    103106
     
    212215    //plist->AddToList(atime);
    213216
    214     MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalRaw);
    215     MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalRaw);
     217    MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalDensity);
     218    MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalDensity);
    216219    MHEvent *evt03 = new MHEvent(type==1?MHEvent::kEvtPedPhot:MHEvent::kEvtPedestal);
    217220    MHEvent *evt04 = new MHEvent(type==1?MHEvent::kEvtPedPhotRMS:MHEvent::kEvtPedestalRMS);
     
    247250
    248251    MExtractTimeAndChargeDigitalFilter *digf = new MExtractTimeAndChargeDigitalFilter;
    249     digf->ReadWeightsFile("msignal/MC_weights.dat");
     252    digf->SetNameWeightsFile("msignal/cosmics_weights46.dat");
    250253
    251254    MTaskEnv *taskenv1=new MTaskEnv("ExtractSignal");
     
    253256    taskenv1->SetOwner();
    254257
    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;
    264267    //MMcTriggerLvl2Calc *trcal  = new MMcTriggerLvl2Calc;
    265268    //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;
    270273    btreat->SetProcessTimes(kFALSE);
    271274    if (type==1)
     
    336339    }
    337340    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    // --------------------------------------------------
    338349
    339350    //
     
    542553    plist->FindObject("MImagePar")->Print();
    543554    ((MNewImagePar*)plist->FindObject("MNewImagePar"))->Print(*geom);
     555    plist->FindObject("MMuonCalibPar")->Print();
     556    ((MMuonSearchPar*)plist->FindObject("MMuonSearchPar"))->Print(*geom);
    544557
    545558    //
     
    589602    TObject *hillas1 = plist->FindObject("MHillas");
    590603    TObject *hillas2 = plist->FindObject("MHillasSrc");
     604    TObject *hmuon   = plist->FindObject("MMuonSearchPar");
    591605    for (int i=1; i<7;i++)
    592606    {
    593607        TCanvas *c = GetCanvas(i);
    594608        c->GetPad(1)->cd(1);
     609        hmuon->Draw();
    595610        hillas1->Draw();
    596611        hillas2->Draw();
  • trunk/MagicSoft/Mars/mmain/Makefile

    r6856 r7134  
    2323           -I../mfileio -I../mimage -I../mhistmc -I../mgbase -I../mfbase  \
    2424           -I../mdata -I../msignal -I../mcalib -I../mbadpixels            \
    25            -I../mpointing -I../mpedestal
     25           -I../mpointing -I../mpedestal -I../mmuon
    2626
    2727SRCFILES = MBrowser.cc \
Note: See TracChangeset for help on using the changeset viewer.