1 |
#ifndef UserCode_L1RpcTriggerAnalysis_DetHitDigiGrabber_H
|
2 |
#define UserCode_L1RpcTriggerAnalysis_DetHitDigiGrabber_H
|
3 |
|
4 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
5 |
#include "UserCode/L1RpcTriggerAnalysis/interface/HitSpecObj.h"
|
6 |
#include "UserCode/L1RpcTriggerAnalysis/interface/RPCDigiSpec.h"
|
7 |
#include "UserCode/L1RpcTriggerAnalysis/interface/CSCDigiSpec.h"
|
8 |
#include "UserCode/L1RpcTriggerAnalysis/interface/DTphDigiSpec.h"
|
9 |
|
10 |
namespace edm { class Event; class EventSetup; }
|
11 |
class TObjArray;
|
12 |
class TrackObj;
|
13 |
|
14 |
|
15 |
|
16 |
class DetHitDigiGrabber {
|
17 |
public:
|
18 |
DetHitDigiGrabber(const edm::ParameterSet& cfg);
|
19 |
~DetHitDigiGrabber();
|
20 |
|
21 |
//
|
22 |
// get reference hit point (MS2out) or (RE2)
|
23 |
//
|
24 |
HitSpecObj rpcDetHits(const edm::Event &ev, const edm::EventSetup &es, const TrackObj * simu, int station = 2) const;
|
25 |
std::vector< std::pair<uint32_t, uint32_t> > digiCollector(const edm::Event &ev, const edm::EventSetup &es) const;
|
26 |
|
27 |
//std::vector<RpcDigiSpec>
|
28 |
std::vector<RPCDigiSpec> rpcDetDigis(const edm::Event &ev, const edm::EventSetup &es) const;
|
29 |
std::vector<CSCDigiSpec> cscDetDigis(const edm::Event &ev, const edm::EventSetup &es) const ;
|
30 |
std::vector<DTphDigiSpec> dtPhiDetDigis(const edm::Event &ev, const edm::EventSetup &es)const;
|
31 |
// void dtEtaDetDigis(const edm::Event &ev, const edm::EventSetup &es)const;
|
32 |
|
33 |
void initHistos(TObjArray & histos);
|
34 |
private:
|
35 |
edm::ParameterSet theConfig;
|
36 |
|
37 |
};
|
38 |
#endif
|
39 |
|