Ignore:
Timestamp:
01/26/05 17:02:50 (20 years ago)
Author:
rico
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/macros/hillasONOFF.C

    r4429 r6029  
    55//                       Ester Aliu  <aliu@ifae.es>
    66////////////////////////////////////////////////////////////////////////////
    7 void hillasONOFF(
    8 TString onname,
    9 TString offname,
    10 TString psname)
     7void hillasONOFF()
    118{   
    129    // general settings
     
    2724       
    2825    // define file, tree, canvas
    29     TChain *fdata = new TChain;
    30     fdata->AddFile(onname);
    31     TTree *t = Parameters;                                                     
     26    TChain* t= new TChain("Parameters");
     27    //    t->AddFile("/local_disk/jrico/hillas/hillasOn21.root");
     28    //    t->AddFile("/local_disk/jrico/hillas/hillasOn22.root");
     29    t->AddFile("/local_disk/jrico/hillas/RFOnnoAlpha.root");
    3230   
    3331    // define file, tree, canvas
    34     TChain *fdata2 = new TChain;
    35     fdata2->AddFile(offname);
    36     TTree *t2 = Parameters; 
     32    TChain *t2 = new TChain("Parameters");
     33    //    t2->AddFile("/local_disk/jrico/hillas/hillasOff09.root");
     34    //    t2->AddFile("/local_disk/jrico/hillas/hillasOff18.root");
     35    //    t2->AddFile("/local_disk/jrico/hillas/hillasOff21.root");
     36    t2->AddFile("/local_disk/jrico/hillas/RFOffnoAlpha.root");
     37
    3738   
     39    TString psname="hillasonoff.ps";
    3840    TString title;
    3941
     
    7577     
    7678    // define  cuts
    77     const char* cut1 = "size>500";
     79    const char* cut1 = "size>500 && MHadronness.fHadronness<0.1";
    7880    const char* cut2 = "size>1000";
    7981    const char* cut3 = "size>2000";
Note: See TracChangeset for help on using the changeset viewer.