- Timestamp:
- Dec 9, 2008, 10:22:42 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/FuncDef.h
r39 r91 79 79 80 80 string nom = histo.erase(0,histo.find(">>")+2); 81 TH1F *h = new TH1F(nom.c_str(),"",50,- 3,3);81 TH1F *h = new TH1F(nom.c_str(),"",50,-1,3); 82 82 83 83 string all = min + " && " + max; … … 85 85 h->SetMarkerSize(0.6); 86 86 double MeanFix = h->GetMean(); 87 TF1 *Gauss = new TF1("Gauss","gaus",- 3,3);87 TF1 *Gauss = new TF1("Gauss","gaus",-1,3); 88 88 Gauss->FixParameter(1,MeanFix); 89 89 h->Fit("Gauss","QR"); -
trunk/routines/resolutions.C
r89 r91 43 43 char tempMin[500]; 44 44 if(i==0)binMin=5; 45 sprintf(tempMin,"JetPTResol. NonSmearePT > %d",binMin);45 sprintf(tempMin,"JetPTResol.PT > %d",binMin); 46 46 string mystringMin(tempMin); 47 47 char tempMax[500]; 48 sprintf(tempMax,"JetPTResol. NonSmearePT < %d",binMax);48 sprintf(tempMax,"JetPTResol.PT < %d",binMax); 49 49 string mystringMax(tempMax); 50 50 char tempName[500]; 51 sprintf(tempName,"(JetPTResol.Smeare PT)>>hETSoverET%d",i);51 sprintf(tempName,"(JetPTResol.SmearedPT)>>hETSoverET%d",i); 52 52 string mystringName(tempName); 53 53 … … 103 103 gROOT->Reset(); 104 104 105 TFile *f1 = new TFile(" Etmis.root","read");105 TFile *f1 = new TFile("lept.root","read"); 106 106 TTree *Analyze = (TTree*)f1->Get("Analysis"); 107 107 … … 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.