Fork me on GitHub

Changeset 89 in svn for trunk/routines


Ignore:
Timestamp:
Dec 5, 2008, 9:34:25 AM (16 years ago)
Author:
severine ovyn
Message:

for resol plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/routines/resolutions.C

    r60 r89  
    103103  gROOT->Reset();
    104104 
    105   TFile *f1 = new TFile("PTMIS.root","read");
     105  TFile *f1 = new TFile("Etmis.root","read");
    106106  TTree *Analyze = (TTree*)f1->Get("Analysis");
    107107 
     
    132132      char tempMin[500];
    133133      if(i==0)binMin=5;
    134       sprintf(tempMin,"ElecEResol.NonSmeareE > %d",binMin);
     134      sprintf(tempMin,"ElecEResol.E > %d",binMin);
    135135      string mystringMin(tempMin);
    136136      char tempMax[500];
    137       sprintf(tempMax,"ElecEResol.NonSmeareE < %d",binMax);
     137      sprintf(tempMax,"ElecEResol.E < %d",binMax);
    138138      string mystringMax(tempMax);
    139139      char tempName[500];
    140       sprintf(tempName,"(ElecEResol.NonSmeareE-ElecEResol.SmeareE)>>hETSoverET%d",i);
     140      sprintf(tempName,"(ElecEResol.E-ElecEResol.SmearedE)>>hETSoverET%d",i);
    141141      string mystringName(tempName);
    142142     
     
    189189  gROOT->Reset();
    190190 
    191   TFile *f1 = new TFile("PTMIS.root","read");
     191  TFile *f1 = new TFile("Etmis.root","read");
    192192  TTree *Analyze = (TTree*)f1->Get("Analysis");
    193193 
     
    233233  gROOT->Reset();
    234234 
    235   TFile *f1 = new TFile("PTMIS.root","read");
     235  TFile *f1 = new TFile("Etmis.root","read");
    236236  TTree *Analyze = (TTree*)f1->Get("Analysis");
    237237 
     
    311311void General()
    312312{
    313   JetResol();
     313//  JetResol();
    314314  ElecResol();
    315315  ETmisResol();
Note: See TracChangeset for help on using the changeset viewer.