ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/AnaEff.h
Revision: 1.6
Committed: Thu Jul 11 11:25:21 2013 UTC (11 years, 9 months ago) by akalinow
Content type: text/plain
Branch: MAIN
CVS Tags: Artur_11_07_2013_B, Artur_11_07_2013_A, Artur_11_07_2013, HEAD
Changes since 1.5: +14 -3 lines
Log Message:
*last commit before migration to Git.

File Contents

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