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,
59  std::vector<RecHitProcessor::CppfItem> &CppfVec1,
60  // Output
61  l1t::CPPFDigiCollection &cppfDigis,
62  const int MaxClusterSize) const;
63 
64  void process(
65  // Input
66  const edm::Event &iEvent,
67  const edm::EventSetup &iSetup,
68  const edm::EDGetToken &recHitToken,
69  const edm::EDGetToken &rpcDigiToken,
70  const edm::EDGetToken &rpcDigiSimLinkToken,
72  // Output
73  l1t::CPPFDigiCollection &cppfDigis) const;
74 
75  void print(int a, int b, float c, float d) const { std::cout << a << " " << b << " " << c << " " << d << std::endl; };
76 
78 
79 private:
80 };
81 
82 #endif /* #define L1Trigger_L1TMuonCPPF_RecHitProcessor_h */
std::vector< CppfItem > CppfVec
int iEvent
Definition: GenABIO.cc:224
d
Definition: ztail.py:151
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, const edm::EDGetToken &rpcDigiToken, const edm::EDGetToken &rpcDigiSimLinkToken, const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > &rpcGeomToken, l1t::CPPFDigiCollection &cppfDigis) const
std::vector< CppfItem > const & getCppfVec() const
double b
Definition: hdecay.h:120
#define COND_SERIALIZABLE
Definition: Serializable.h:39
double a
Definition: hdecay.h:121
void processLook(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, const edm::EDGetToken &rpcDigiToken, const edm::EDGetToken &rpcDigiSimLinkToken, const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > &rpcGeomToken, std::vector< RecHitProcessor::CppfItem > &CppfVec1, l1t::CPPFDigiCollection &cppfDigis, const int MaxClusterSize) const
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
void print(int a, int b, float c, float d) const