ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/AnaEff.h
Revision: 1.4
Committed: Thu May 23 18:24:03 2013 UTC (11 years, 11 months ago) by konec
Content type: text/plain
Branch: MAIN
Changes since 1.3: +6 -4 lines
Log Message:
*** empty log message ***

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     const static unsigned int nPtCuts= 6;
29     const static double ptCuts[];
30    
31 konec 1.4 edm::ParameterSet theConfig;
32    
33 konec 1.1 };
34    
35     #endif