Ignore:
Timestamp:
04/01/14 14:38:58 (11 years ago)
Author:
ftemme
Message:
Added the calculation of Disp and ThetaSq in the MC-Star macro and commented the lightpulser calibration in the MC-Callisto macro out
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/mc/callisto.C

    r17309 r17641  
    9292    Bool_t maximum = kTRUE;
    9393
    94     const char *lp_template    = maximum ?
    95         "/cm/shared/apps/fact/Mars_svn_LP/template-lp-extractor-maximum.root" :
    96         "/cm/shared/apps/fact/Mars_svn_LP/template-lp-extractor-leading-edge.root";
    97 
    98     const char *pulse_template = "/cm/shared/apps/fact/Mars_svn_LP/template-pulse.root";
     94    //const char *lp_template    = maximum ?
     95    //    "/cm/shared/apps/fact/Mars_svn_LP/template-lp-extractor-maximum.root" :
     96    //    "/cm/shared/apps/fact/Mars_svn_LP/template-lp-extractor-leading-edge.root";
     97
     98    const char *lp_template    = "/cm/shared/apps/fact/Mars_Trunk/template-lp.root";
     99
     100    //const char *pulse_template = "/cm/shared/apps/fact/Mars_svn_LP/template-pulse.root";
     101
     102    const char *pulse_template = "/cm/shared/apps/fact/Mars_Trunk/template-pulse.root";
    99103
    100104    // ------------------------------------------------------
     
    182186    lpref->SetDirectory(0);
    183187
    184     MHCamera *gain = (MHCamera*)arrt.FindObjectInCanvas("gain", "MHCamera", "Gain");
    185     if (!gain)
    186     {
    187         gLog << err << "ERROR - Gain not found in " << lp_template << endl;
    188         return 101;
    189     }
    190     gain->SetDirectory(0);
     188    // MHCamera *gain = (MHCamera*)arrt.FindObjectInCanvas("gain", "MHCamera", "Gain");
     189    // if (!gain)
     190    // {
     191    //     gLog << err << "ERROR - Gain not found in " << lp_template << endl;
     192    //     return 101;
     193    // }
     194    // gain->SetDirectory(0);
    191195
    192196    TFile fp(pulse_template);
Note: See TracChangeset for help on using the changeset viewer.