ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/SFrameTools/include/MCDataScaleFactors.h
Revision: 1.1
Committed: Fri Nov 2 12:55:15 2012 UTC (12 years, 6 months ago) by peiffer
Content type: text/plain
Branch: MAIN
CVS Tags: Nov-30-2012-v2, Nov-30-2012-v1
Log Message:
MC scale factors

File Contents

# User Rev Content
1 peiffer 1.1 #ifndef MCDataScaleFactors_H
2     #define MCDataScaleFactors_H
3    
4     #include "include/Utils.h"
5     #include "include/EventCalc.h"
6    
7     /**
8     * @short module to apply data-MC lepton scale factors for trigger and ID
9     *
10     *
11     */
12     class LeptonScaleFactors{
13     public:
14     /**
15     * constructor
16     *
17     * first argument: list of corrections to be applied together with weight factors for luminosity, example: "MuonRunA 1.5 MuonRunB 2.6 MuonRunC 7.8"
18     *
19     * second argument: systematic shift
20     * @see E_SystShift
21     */
22     LeptonScaleFactors(std::vector<std::string> correctionlist, E_SystShift syst_shift=e_Default);
23     ///Default destructor
24     ~LeptonScaleFactors(){};
25    
26     ///return the weighted correction factor
27     double GetWeight();
28    
29     private:
30     E_SystShift m_syst_shift;
31     std::vector<std::pair<std::string, double> > m_correctionlist;
32    
33     };
34    
35    
36     #endif