ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/AnaEff.h
Revision: 1.5
Committed: Fri Jun 28 08:31:12 2013 UTC (11 years, 10 months ago) by akalinow
Content type: text/plain
Branch: MAIN
CVS Tags: Artur_28_06_2013
Changes since 1.4: +1 -1 lines
Log Message:
*updates by AK

File Contents

# User Rev Content
1 konec 1.1 #ifndef UserCode_L1RpcTriggerAnalysis_AnaEff_H
2     #define UserCode_L1RpcTriggerAnalysis_AnaEff_H
3     class TObjArray;
4     class TH1D;
5 konec 1.4 class TrackObj;
6 konec 1.1 class L1ObjColl;
7     class L1Obj;
8     #include <vector>
9     #include <map>
10     #include <string>
11    
12 konec 1.4 #include "FWCore/ParameterSet/interface/ParameterSet.h"
13 konec 1.1
14    
15     class AnaEff {
16     public:
17 konec 1.4 AnaEff(const edm::ParameterSet & cfg) : debug(false), theConfig(cfg) {}
18 konec 1.2 void init(TObjArray& histos);
19 konec 1.4 void run(const TrackObj* muon, const L1ObjColl *l1Coll);
20 konec 1.1
21     bool debug;
22    
23     private:
24     double maxPt(const std::vector<L1Obj> & l1Objs) const;
25     TH1D* hEfficMuPt_D, *hEfficRpcNoCut_N, *hEfficRpcPtCut_N;
26     std::map< std::string, TH1D* > hm;
27    
28 akalinow 1.5 const static unsigned int nPtCuts= 30;
29 konec 1.1 const static double ptCuts[];
30    
31 konec 1.4 edm::ParameterSet theConfig;
32    
33 konec 1.1 };
34    
35     #endif