ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/AnaRpcMisc.h
Revision: 1.3
Committed: Mon Oct 1 19:19:57 2012 UTC (12 years, 6 months ago) by konec
Content type: text/plain
Branch: MAIN
Changes since 1.2: +2 -1 lines
Log Message:
major changes,

File Contents

# User Rev Content
1 konec 1.1 #ifndef UserCode_L1RpcTriggerAnalysis_AnaRpcMisc_H
2     #define UserCode_L1RpcTriggerAnalysis_AnaRpcMisc_H
3     class TObjArray;
4     class TH1D;
5     class MuonObj;
6     class L1ObjColl;
7     class L1Obj;
8     class TH2D;
9     class EventObj;
10     class TGraph;
11     #include <vector>
12     #include <map>
13    
14     class AnaRpcMisc {
15     public:
16 konec 1.3 AnaRpcMisc() : debug(false) {}
17     void init(TObjArray& histos);
18 konec 1.1 void run(const EventObj* ev, const MuonObj* muon, const L1ObjColl *l1RpcColl, const L1ObjColl *l1OtherColl);
19     TGraph* resume();
20    
21     bool debug;
22     private:
23     double maxPt(const std::vector<L1Obj> & l1Objs) const;
24     TH2D *hRpcMisc_UE, *hRpcMisc_OE;
25     TH1D *hRpcMisc_EffRun;
26 konec 1.2 TH1D *hRpcMisc_Time, *hRpcMisc_TimeAll, *hRpcMisc_TimeDen;
27 konec 1.1 typedef std::map< unsigned int, std::pair<unsigned int, unsigned int> > EffRunMap;
28     EffRunMap effRunMap;
29     };
30    
31     #endif