ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/AnaDigiSpec.h
Revision: 1.2
Committed: Tue May 28 13:43:46 2013 UTC (11 years, 11 months ago) by konec
Content type: text/plain
Branch: MAIN
CVS Tags: Artur_11_07_2013_B, Artur_11_07_2013_A, Artur_11_07_2013, Artur_28_06_2013, HEAD
Changes since 1.1: +2 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 konec 1.1 #ifndef UserCode_L1RpcTriggerAnalysis_AnaDigiSpec_H
2     #define UserCode_L1RpcTriggerAnalysis_AnaDigiSpec_H
3    
4     class TrackObj;
5     class HitSpecObj;
6     class TObjArray;
7     class EventObj;
8     class TH2D;
9    
10     #include "FWCore/ParameterSet/interface/ParameterSet.h"
11     #include <vector>
12     #include <utility>
13     #include <map>
14    
15    
16    
17    
18     class AnaDigiSpec {
19     public:
20     typedef std::vector< std::pair<uint32_t, uint32_t> > VDigiSpec;
21     AnaDigiSpec(const edm::ParameterSet & cfg) : theConfig(cfg) {}
22     void init(TObjArray& histos);
23     void run(const EventObj* ev, const TrackObj * simu, const HitSpecObj * hitSpec, const VDigiSpec & higSpec);
24     void resume(TObjArray& histos);
25     private:
26     edm::ParameterSet theConfig;
27     typedef std::map< uint32_t, TH2D* > HMap;
28 konec 1.2 HMap theCscPosB, theCscBendB, theDtPosB, theDtBendB, theRpcBPosB, theRpcEPosB;
29     HMap theCscPosE, theCscBendE, theDtPosE, theDtBendE, theRpcBPosE, theRpcEPosE;
30 konec 1.1 private:
31     typedef std::vector<TH2D*> VHisto;
32     VHisto topN(const HMap & hmap, unsigned int n) const;
33     };
34     #endif
35