5 TFile *
f=
new TFile(
"eangle.root");
8 TTree *tree =
f->Get(strout.str().c_str());
9 double dedx[100],eangle[100], fitmean[100], fitmeanerr[100];
10 tree->SetBranchAddress(
"gain",dedx);
11 tree->SetBranchAddress(
"eangle",eangle);
14 tree->SetBranchAddress(
"mean",fitmean);
15 tree->SetBranchAddress(
"sigma",fitmeanerr);
17 cout<<
"Entries: "<<tree->GetEntries()<<endl;
21 for(
int i=0;i<100;i++)
27 gStyle->SetOptFit(0111);
29 TGraphErrors* gr =
new TGraphErrors(100,eangle,fitmean,0,fitmeanerr);
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")