ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Util/interface/EfficiencyWeightsInterface.h
Revision: 1.3
Committed: Tue Feb 14 21:29:18 2012 UTC (13 years, 3 months ago) by khahn
Content type: text/plain
Branch: MAIN
CVS Tags: synched
Changes since 1.2: +11 -0 lines
Log Message:
various fixes

File Contents

# Content
1 #include <vector>
2 #include "EventData.h"
3
4 void initEfficiencyWeights(void);
5 std::pair<double,double> muonPerLegOfflineEfficiencyWeight( float eta, float pt );
6 std::pair<double,double> elePerLegOfflineEfficiencyWeight( float eta, float pt );
7 std::pair<double,double> getOfflineEfficiencyWeight( std::vector< std::pair< double,double> > &v );
8 std::pair<double,double> getOnlineMuonEfficiencyWeight( std::vector<std::pair<float,float> > &muvec );
9 std::pair<double,double> getOnlineElectronEfficiencyWeight( std::vector<std::pair<float,float> > &elevec );
10 std::pair<double,double> getOnlineEfficiencyWeight( std::vector<std::pair<float,float> > &muvec,
11 std::vector<std::pair<float,float> > &elevec );
12 std::pair<double,double> getOnlineEfficiencyWeight( std::vector<std::pair<float,float> > &muvec,
13 std::vector<std::pair<bool, std::pair<float,float> > > &elevec );
14
15 void fillOnlineAndOfflineSFs(EventData &evtdata,
16 double &w_online, double &werr_online,
17 double &w_offline, double &werr_offline);
18
19 void fillOnlineAndOfflineSFs2Leptons(EventData &evtdata,
20 double &w_online, double &werr_online,
21 double &w_offline, double &werr_offline);