return;
}
- if(!tree){
- Printf("%s:%d Output tree not found",(char*)__FILE__,__LINE__);
- return;
- }
-
TProfile *hXsec = ((TProfile*)(fHistList->FindObject("h1Xsec")));
TH1F* hTrials = ((TH1F*)(fHistList->FindObject("h1Trials")));
if(!hXsec)return;
// This only works if the tree is not a special output
// in this case it is already written
/*
+ if(!tree){
+ Printf("%s:%d Output tree not found",(char*)__FILE__,__LINE__);
+ return;
+ }
TParameter<float> *x = new TParameter<float>("xsection",xsec);
tree->GetUserInfo()->Add(x);
TParameter<float> *t = new TParameter<float>("trials",trials);