ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/AnalysisFramework/Plotting/Modules/Systematics.C
(Generate patch)

Comparing UserCode/cbrown/AnalysisFramework/Plotting/Modules/Systematics.C (file contents):
Revision 1.15 by buchmann, Wed Aug 17 11:06:50 2011 UTC vs.
Revision 1.17 by buchmann, Wed Aug 17 14:55:51 2011 UTC

# Line 244 | Line 244 | void MCefficiency(TTree *events,float &r
244          Float_t tot = Neventsinfile;
245          
246          result=(sel-nsel)/tot;
247        cout << "~~~~~~~~~~~~~ MCefficiency: Result : (" << sel << " - " << nsel << " / " << tot << " = " << result << endl;
247          resulterr=TMath::Sqrt(sel/tot*(1-sel/tot)/tot);
248 <        if(!automatized) dout << "  MC efficiency: " << result << "+-" << resulterr << std::endl;
248 >        dout << "  MC efficiency: " << result << "+-" << resulterr << "  ( JZB>" << jzbSel << " : " << sel << " , JZB<-" << jzbSel << " : " << nsel << " and nevents=" << tot << ")" << std::endl;
249   }
250  
251   void JZBefficiency(TTree *events, string informalname, float &jzbeff, float &jzbefferr, bool requireZ, string addcut="") {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines