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 
16 
19 
22 
23 #include <iostream>
24 #include <memory>
25 #include <sstream>
26 #include <string>
27 #include <vector>
28 
30 public:
31  explicit RecHitProcessor();
33 
34  struct CppfItem {
35  int lb;
36  int rawId;
37  int strip;
38  int lbchannel;
40  int int_phi;
41  int int_theta;
43  };
44 
45  std::vector<CppfItem> const &getCppfVec() const { return CppfVec; }
46  std::vector<CppfItem> CppfVec;
47 
48  void processLook(
49  // Input
50  const edm::Event &iEvent,
51  const edm::EventSetup &iSetup,
52  const edm::EDGetToken &recHitToken,
53  std::vector<RecHitProcessor::CppfItem> &CppfVec1,
54  // Output
55  l1t::CPPFDigiCollection &cppfDigis,
56  const int MaxClusterSize) const;
57 
58  void process(
59  // Input
60  const edm::Event &iEvent,
61  const edm::EventSetup &iSetup,
62  const edm::EDGetToken &recHitToken,
63  // Output
64  l1t::CPPFDigiCollection &cppfDigis) const;
65 
66  void print(int a, int b, float c, float d) const { std::cout << a << " " << b << " " << c << " " << d << std::endl; };
67 
69 
70 private:
71 };
72 
73 #endif /* #define L1Trigger_L1TMuonCPPF_RecHitProcessor_h */
void print(int a, int b, float c, float d) const
std::vector< CppfItem > CppfVec
int iEvent
Definition: GenABIO.cc:224
d
Definition: ztail.py:151
void processLook(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, std::vector< RecHitProcessor::CppfItem > &CppfVec1, l1t::CPPFDigiCollection &cppfDigis, const int MaxClusterSize) const
double b
Definition: hdecay.h:118
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::EDGetToken &recHitToken, l1t::CPPFDigiCollection &cppfDigis) const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
double a
Definition: hdecay.h:119
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
std::vector< CppfItem > const & getCppfVec() const