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 <boost/cstdint.hpp>
24 #include <iostream>
25 #include <memory>
26 #include <sstream>
27 #include <string>
28 #include <vector>
29 
31 public:
32  explicit RecHitProcessor();
34 
35  struct CppfItem {
36 
37  int lb;
38  int rawId;
39  int strip;
40  int lbchannel;
42  int int_phi;
43  int int_theta;
45  };
46 
47  std::vector<CppfItem> const &getCppfVec() const { return CppfVec; }
48  std::vector<CppfItem> CppfVec;
49 
50  void processLook(
51  // Input
52  const edm::Event &iEvent, const edm::EventSetup &iSetup,
53  const edm::EDGetToken &recHitToken,
54  std::vector<RecHitProcessor::CppfItem> &CppfVec1,
55  // Output
56  l1t::CPPFDigiCollection &cppfDigis, const int MaxClusterSize) const;
57 
58  void process(
59  // Input
60  const edm::Event &iEvent, const edm::EventSetup &iSetup,
61  const edm::EDGetToken &recHitToken,
62  // Output
63  l1t::CPPFDigiCollection &cppfDigis) const;
64 
65  void print(int a, int b, float c, float d) const {
66  std::cout << a << " " << b << " " << c << " " << d << std::endl;
67  };
68 
70 
71 private:
72 };
73 
74 #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
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:120
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:121
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:68
std::vector< CppfItem > const & getCppfVec() const