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.34 by buchmann, Mon Sep 26 15:28:38 2011 UTC vs.
Revision 1.35 by buchmann, Mon Sep 26 15:37:39 2011 UTC

# Line 503 | Line 503 | void do_systematics_for_one_file(TTree *
503    float mceff,mcefferr,jzbeff,jzbefferr;
504    if(!automatized) dout << "MC efficiencies:" << endl;
505    Value mceff_nosigcont = MCefficiency(events,mceff,mcefferr,mcjzb,requireZ,Neventsinfile,addcut,-1);
506 < cout << "no signal contamionation result : " << mceff_nosigcont << " which means value = " << mceff_nosigcont.getValue() << endl;
506 >  if(!automatized) cout << "   Without signal contamination, we find an efficiency of " << mceff_nosigcont << endl;
507 >
508    if(PlottingSetup::computeJZBefficiency) JZBefficiency(events,informalname,jzbeff,jzbefferr,requireZ,addcut);
509    if(!automatized) dout << "JZB efficiency: " << jzbeff << "+/-" << jzbefferr << endl;
510    
# Line 574 | Line 575 | cout << "no signal contamionation result
575    if(fabs(jesup)>fabs(jesdown)) res.push_back(fabs(jesup)); else res.push_back(fabs(jesdown));
576    if(fabs(scaleup)>fabs(scaledown)) res.push_back(fabs(scaleup)); else res.push_back(fabs(scaledown));
577    res.push_back(fabs(resolution));
578 <  results.push_back(res);
579 < cout << mceff_nosigcont.getValue() << endl;
579 < //  results.push_back(mceff_nosigcont.getValue());
580 < //  results.push_back(mceff_nosigcont.getError());
578 >  res.push_back(mceff_nosigcont.getValue());
579 >  res.push_back(mceff_nosigcont.getError());
580    if(ismSUGRA) res.push_back(PDFuncert);
581 +  results.push_back(res);
582   }
583  
584   vector<vector<float> > compute_systematics(string mcjzb, float mcpeakerror, string datajzb, samplecollection &signalsamples, vector<float> bins, bool requireZ=false) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines