Ignore:
Timestamp:
07/22/05 11:11:26 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/macros/tutorials
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/tutorials/extendcam.C

    r7159 r7208  
    6565MHCamera *d6=new MHCamera(MGeomCamMagicXT());
    6666
    67 MCerPhotEvt *evt=0;
     67MSignalCam *evt=0;
    6868MMcEvt *mc;
    6969
     
    8181
    8282    //Für Real-Raum
    83     evt = (MCerPhotEvt*)plist->FindObject("MCerPhotEvt");
     83    evt = (MSignalCam*)plist->FindObject("MSignalCam");
    8484    if (!evt)
    8585    {
    86         cout << "Fehler: MCerPhotEvt" << endl;
     86        cout << "Fehler: MSignalCam" << endl;
    8787        return kFALSE;
    8888    }
     
    135135Int_t Process()
    136136{
    137     d1->SetCamContent(*(MCerPhotEvt*)cl1->GetClone());
    138     d2->SetCamContent(*(MCerPhotEvt*)cl2->GetClone());
     137    d1->SetCamContent(*(MSignalCam*)cl1->GetClone());
     138    d2->SetCamContent(*(MSignalCam*)cl2->GetClone());
    139139    d3->SetCamContent(*fFreq2);
    140     d4->SetCamContent(*(MCerPhotEvt*)cl4->GetClone());
    141     d5->SetCamContent(*(MCerPhotEvt*)cl3->GetClone());
     140    d4->SetCamContent(*(MSignalCam*)cl4->GetClone());
     141    d5->SetCamContent(*(MSignalCam*)cl3->GetClone());
    142142    d6->SetCamContent(*evt);
    143143
     
    174174    MReadMarsFile read("Events");
    175175    read.DisableAutoScheme();
    176     read.AddFile("/home/kolodziejski/Diplomarbeit/marsdata/mcdata/*.root");
     176    read.AddFile("/home/tbretz/Software/mcwobble/lza/cal/19*.root");
    177177    //read.AddFile("/home/hoehne/data/mcdata/gammas/calib/calib_gamma_zbin0.root");
    178178    //read.AddFile("/home/hoehne/data/mcdata/hadrons/calib/calib_proton_zbin0.root");
     
    184184    // enhance.SetNameCerPhotEvtOut("MCerPhotEvt2");
    185185
    186     MClone clone1("MCerPhotEvt", "Clone1");
    187     MClone clone2("MCerPhotEvt", "Clone2");
    188     MClone clone3("MCerPhotEvt", "Clone3");
    189     MClone clone4("MCerPhotEvt", "Clone4");
     186    MClone clone1("MSignalCam", "Clone1");
     187    MClone clone2("MSignalCam", "Clone2");
     188    MClone clone3("MSignalCam", "Clone3");
     189    MClone clone4("MSignalCam", "Clone4");
    190190
    191191    cl1 = &clone1;
     
    202202    mytask.SetProcess(Process);
    203203
    204     MImgCleanStd clean1(26, 18);
     204    MImgCleanStd clean1(8, 4.5);
    205205    clean1.SetMethod(MImgCleanStd::kAbsolute);
    206206    clean1.SetNameGeomCam("MGeomCamMagicXT");
    207 
    208     MImgCleanStd clean2(26, 18);
     207    clean1.SetNamePedPhotCam("MPedPhotFromExtractorRndm");
     208
     209    MImgCleanStd clean2(8, 4.5);
    209210    clean2.SetMethod(MImgCleanStd::kAbsolute);
    210211    clean2.SetNameGeomCam("MGeomCamMagicXT");
     212    clean2.SetNamePedPhotCam("MPedPhotFromExtractorRndm");
    211213
    212214    // Setup your tasklist
  • trunk/MagicSoft/Mars/macros/tutorials/hft.C

    r7159 r7208  
    188188}
    189189
    190 void hft(const char *fname="/home/hoehne/data/mcdata/hadrons/calib/calib_proton_zbin0.root")
     190void hft(const char *fname="/home/tbretz/Software/mcwobble/lza/cal/19*.root")
    191191{
    192192    // Setup parameter- and tasklist
     
    201201
    202202    // Clone MCerPhotEvt befor eimage cleaning
    203     MClone clone1("MCerPhotEvt", "Clone1");
     203    MClone clone1("MSignalCam", "Clone1");
    204204
    205205    // Setup image cleaning
    206     MImgCleanStd clean(24, 12);
     206    MImgCleanStd clean(8.5, 4);
    207207    clean.SetMethod(MImgCleanStd::kAbsolute);
     208    clean.SetNamePedPhotCam("MPedPhotFromExtractorRndm");
    208209
    209210    // Clone MCerPhotEvt befor eimage cleaning
    210     MClone clone2("MCerPhotEvt", "Clone2");
     211    MClone clone2("MSignalCam", "Clone2");
    211212
    212213    // Setup intercative task calling the functions defined above
Note: See TracChangeset for help on using the changeset viewer.