Changeset 3484 for trunk


Ignore:
Timestamp:
03/12/04 10:44:55 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/ONOFFAnalysis.C

    r3363 r3484  
    1 
    21
    32//#include "MagicEgyEst.C"
     
    174173      //const char *offfile = "20040126_OffCrab_";
    175174      //const char *offfile  = "*.OFF";
    176       const char *offfile  = "12*.OFF";
     175      //const char *offfile  = "12776.OFF";
     176      //const char *offfile  = "12*.OFF";
     177      const char *offfile  = "*.OFF";
    177178
    178179      //const char *onfile  = "~magican/ct1test/wittek/mkn421_on.preproc";
     
    181182      //const char *onfile  = "MCerPhot_output";
    182183      //const char *onfile  = "*.ON";
    183       const char *onfile  = "12*.ON";
    184       //const char *onfile  = "1238*.ON";
     184      //const char *onfile  = "12162*.ON";
     185      //const char *onfile  = "12*.ON";
     186      const char *onfile  = "*.ON";
    185187
    186188     const char *mcfile  = "/data/MAGIC/mc_eth/magLQE_3/gh/0/0/G_M0_00_0_550*.root";
     
    194196      //TString inPath = "~wittek/datacrab_feb04/";
    195197      //TString inPath = "~wittek/datacrab_26feb04/";
    196      TString inPath = "/.magic/magicserv01/scratch/calibrated/";
    197198     //TString inPath = "/.magic/magicserv01/scratch/David/CalibratedRuns/";
     199     //TString inPath = "/.magic/magicserv01/scratch/calibrated/";
     200     TString inPath = "/.magic/magicserv01/scratch/calibrated26/";
    198201
    199202      // path for output from Mars
    200203      //TString outPath = "~wittek/datacrab_feb04/";
    201       TString outPath = "~wittek/datacrab_26feb04/";
     204     //TString outPath = "~wittek/datacrab_01march04/";
     205      TString outPath = "~wittek/datacrab_04mar04/";
    202206
    203207      //-----------------------------------------------
     
    252256                                  // onto the file parSCfile
    253257    Bool_t RTest       = kFALSE;  // test the supercuts using the test matrix
    254     Bool_t WSC         = kTRUE;  // update input root file ?
     258    Bool_t WSC         = kFALSE;  // update input root file ?
    255259
    256260
     
    348352    //--------------------------------------------------
    349353    // type of data to be padded
    350     TString typeInput = "ON";
    351     //TString typeInput = "OFF";
     354    //TString typeInput = "ON";
     355    TString typeInput = "OFF";
    352356    //TString typeInput = "MC";
    353357    gLog << "typeInput = " << typeInput << endl;
     
    672676    MTaskList tliston;
    673677    MParList pliston;
     678
     679    MObservatory observ;
    674680
    675681    char *sourceName = "MSrcPosCam";
     
    726732    //blind.SetUseBlindPixels();
    727733    blind.SetUseInterpolation();
    728     //blind.SetCheckPedestalRMS();
     734    blind.SetCheckPedestalRMS();
    729735    blind.SetName("BlindAfterPadding");
    730736
     
    741747    fillsigtheta.SetName("HSigmaTheta");
    742748
    743     MImgCleanStd    clean;
     749    MImgCleanStd    clean(3.0, 2.5);
     750    clean.SetMethod(MImgCleanStd::kDemocratic);
     751    clean.SetCleanRings(3);
    744752
    745753
     
    777785    selstandard.SetHillasName(fHilName);
    778786    selstandard.SetImgParName(fImgParName);
    779     selstandard.SetCuts(200, 4, 600, 0.2, 1.3, 0.0, 0.0);
     787    selstandard.SetCuts(300, 6, 3000, 0.0, 1.1, 0.001, 0.001);
    780788    MContinue contstandard(&selstandard);
    781789    contstandard.SetName("SelStandard");
     
    801809   
    802810    pliston.AddToList(&tliston);
     811    pliston.AddToList(&observ);
    803812    InitBinnings(&pliston);
    804813
     
    18321841
    18331842    TString parSCfile = outPath;
    1834     parSCfile += "parSC_240204a";
     1843    parSCfile += "parSC_050304a";
    18351844
    18361845    gLog << "parSCfile = " << parSCfile << endl;
     
    18391848    // file to be updated (either ON or MC)
    18401849
    1841     //TString typeInput = "ON";
    1842     TString typeInput = "OFF";
     1850    TString typeInput = "ON";
     1851    //TString typeInput = "OFF";
    18431852    //TString typeInput = "MC";
    18441853    gLog << "typeInput = " << typeInput << endl;
Note: See TracChangeset for help on using the changeset viewer.