Changeset 89 in svn for trunk/routines
- Timestamp:
- Dec 5, 2008, 9:34:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/routines/resolutions.C
r60 r89 103 103 gROOT->Reset(); 104 104 105 TFile *f1 = new TFile(" PTMIS.root","read");105 TFile *f1 = new TFile("Etmis.root","read"); 106 106 TTree *Analyze = (TTree*)f1->Get("Analysis"); 107 107 … … 132 132 char tempMin[500]; 133 133 if(i==0)binMin=5; 134 sprintf(tempMin,"ElecEResol. NonSmeareE > %d",binMin);134 sprintf(tempMin,"ElecEResol.E > %d",binMin); 135 135 string mystringMin(tempMin); 136 136 char tempMax[500]; 137 sprintf(tempMax,"ElecEResol. NonSmeareE < %d",binMax);137 sprintf(tempMax,"ElecEResol.E < %d",binMax); 138 138 string mystringMax(tempMax); 139 139 char tempName[500]; 140 sprintf(tempName,"(ElecEResol. NonSmeareE-ElecEResol.SmeareE)>>hETSoverET%d",i);140 sprintf(tempName,"(ElecEResol.E-ElecEResol.SmearedE)>>hETSoverET%d",i); 141 141 string mystringName(tempName); 142 142 … … 189 189 gROOT->Reset(); 190 190 191 TFile *f1 = new TFile(" PTMIS.root","read");191 TFile *f1 = new TFile("Etmis.root","read"); 192 192 TTree *Analyze = (TTree*)f1->Get("Analysis"); 193 193 … … 233 233 gROOT->Reset(); 234 234 235 TFile *f1 = new TFile(" PTMIS.root","read");235 TFile *f1 = new TFile("Etmis.root","read"); 236 236 TTree *Analyze = (TTree*)f1->Get("Analysis"); 237 237 … … 311 311 void General() 312 312 { 313 JetResol();313 // JetResol(); 314 314 ElecResol(); 315 315 ETmisResol();
Note:
See TracChangeset
for help on using the changeset viewer.