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 */
std::vector< CppfItem > CppfVec
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
int iEvent
Definition: GenABIO.cc:224
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
d
Definition: ztail.py:151
std::vector< CppfItem > const & getCppfVec() const
double b
Definition: hdecay.h:118
#define COND_SERIALIZABLE
Definition: Serializable.h:39
double a
Definition: hdecay.h:119
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
void print(int a, int b, float c, float d) const