ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/PatternManager.h
Revision: 1.1
Committed: Fri May 17 13:04:52 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
Log Message:
extenstion for OTF

File Contents

# User Rev Content
1 konec 1.1 #ifndef UserCode_L1RpcTriggerAnalysis_PatternManager_H
2     #define UserCode_L1RpcTriggerAnalysis_PatternManager_H
3    
4     class TrackObj;
5     class HitSpecObj;
6     class EventObj;
7    
8     #include "UserCode/L1RpcTriggerAnalysis/interface/GoldenPattern.h"
9     #include "UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h"
10    
11     #include "FWCore/ParameterSet/interface/ParameterSet.h"
12     #include <vector>
13     #include <utility>
14     #include <map>
15    
16    
17     class PatternManager {
18    
19     public:
20     typedef std::vector< std::pair<uint32_t, uint32_t> > VDigiSpec;
21     PatternManager(const edm::ParameterSet &cfg);
22    
23     ~PatternManager();
24     public:
25     void run(const EventObj* ev, const TrackObj * simu, const HitSpecObj * hitSpec, const VDigiSpec & higSpec);
26     L1Obj check(const EventObj* ev, const TrackObj * simu, const HitSpecObj * hitSpec, const VDigiSpec & higSpec);
27     void endJob();
28     void beginJob();
29    
30     private:
31     edm::ParameterSet theConfig;
32    
33     unsigned int theEvForPatCounter, theEvUsePatCounter;
34    
35     std::map< GoldenPattern::Key, GoldenPattern> theGPs;
36     };
37     #endif