CMS 3D CMS Logo

RecHitProcessor.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TMuonCPPF_RecHitProcessor_h
2 #define L1Trigger_L1TMuonCPPF_RecHitProcessor_h
3 
8 
12 
18 
21 
24 
25 #include <boost/cstdint.hpp>
26 #include <iostream>
27 #include <memory>
28 #include <sstream>
29 #include <string>
30 #include <vector>
31 
33 public:
34  explicit RecHitProcessor();
36 
37  struct CppfItem {
38  int lb;
39  int rawId;
40  int strip;
41  int lbchannel;
43  int int_phi;
44  int int_theta;
46  };
47 
48  std::vector<CppfItem> const &getCppfVec() const { return CppfVec; }
49  std::vector<CppfItem> CppfVec;
50 
51  void processLook(
52  // Input
53  const edm::Event &iEvent,
54  const edm::EventSetup &iSetup,
55  const edm::EDGetToken &recHitToken,
56  const edm::EDGetToken &rpcDigiToken,
57  const edm::EDGetToken &rpcDigiSimLinkToken,
58  std::vector<RecHitProcessor::CppfItem> &CppfVec1,
59  // Output
60  l1t::CPPFDigiCollection &cppfDigis,
61  const int MaxClusterSize) const;
62 
63  void process(
64  // Input
65  const edm::Event &iEvent,
66  const edm::EventSetup &iSetup,
67  const edm::EDGetToken &recHitToken,
68  const edm::EDGetToken &rpcDigiToken,
69  const edm::EDGetToken &rpcDigiSimLinkToken,
70  // Output
71  l1t::CPPFDigiCollection &cppfDigis) const;
72 
73  void print(int a, int b, float c, float d) const { std::cout << a << " " << b << " " << c << " " << d << std::endl; };
74 
76 
77 private:
78 };
79 
80 #endif /* #define L1Trigger_L1TMuonCPPF_RecHitProcessor_h */
RecHitProcessor::CppfItem::strip
int strip
Definition: RecHitProcessor.h:40
MessageLogger.h
ESHandle.h
gather_cfg.cout
cout
Definition: gather_cfg.py:144
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
RecHitProcessor::getCppfVec
const std::vector< CppfItem > & getCppfVec() const
Definition: RecHitProcessor.h:48
RPCRoll.h
l1t::CPPFDigiCollection
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
RecHitProcessor::CppfItem::lb
int lb
Definition: RecHitProcessor.h:38
CPPFDigi.h
RPCDeadStrips.h
TrackTools.h
RecHitProcessor::RecHitProcessor
RecHitProcessor()
Definition: RecHitProcessor.cc:10
RecHitProcessor::print
void print(int a, int b, float c, float d) const
Definition: RecHitProcessor.h:73
b
double b
Definition: hdecay.h:118
RecHitProcessor::CppfItem::int_phi
int int_phi
Definition: RecHitProcessor.h:43
RPCDetId.h
RPCRecHitCollection.h
a
double a
Definition: hdecay.h:119
Event.h
RecHitProcessor::CppfItem::rawId
int rawId
Definition: RecHitProcessor.h:39
iEvent
int iEvent
Definition: GenABIO.cc:224
Serializable.h
edm::EventSetup
Definition: EventSetup.h:58
RecHitProcessor::CppfItem
Definition: RecHitProcessor.h:37
RecHitProcessor::CppfItem::lbchannel
int lbchannel
Definition: RecHitProcessor.h:41
RecHitProcessor::process
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, const edm::EDGetToken &rpcDigiToken, const edm::EDGetToken &rpcDigiSimLinkToken, l1t::CPPFDigiCollection &cppfDigis) const
Definition: RecHitProcessor.cc:281
edm::EDGetToken
Definition: EDGetToken.h:35
RecHitProcessor::processLook
void processLook(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, const edm::EDGetToken &rpcDigiToken, const edm::EDGetToken &rpcDigiSimLinkToken, std::vector< RecHitProcessor::CppfItem > &CppfVec1, l1t::CPPFDigiCollection &cppfDigis, const int MaxClusterSize) const
Definition: RecHitProcessor.cc:14
RecHitProcessor::CppfVec
std::vector< CppfItem > CppfVec
Definition: RecHitProcessor.h:49
RecHitProcessor
Definition: RecHitProcessor.h:32
emulatorCppfDigis_cfi.MaxClusterSize
MaxClusterSize
Definition: emulatorCppfDigis_cfi.py:8
RecHitProcessor::~RecHitProcessor
~RecHitProcessor()
Definition: RecHitProcessor.cc:12
RecHitProcessor::CppfItem::int_theta
int int_theta
Definition: RecHitProcessor.h:44
RecHitProcessor::CppfItem::halfchannel
int halfchannel
Definition: RecHitProcessor.h:42
EventSetup.h
RPCDigiCollection.h
ztail.d
d
Definition: ztail.py:151
MuonGeometryRecord.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
RPCGeometry.h
RPCMaskedStrips.h