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<vector>
25 #include<iostream>
26 #include<sstream>
27 #include<string>
28 #include<memory>
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 
51  void processLook(
52  // Input
53  const edm::Event& iEvent,
54  const edm::EventSetup& iSetup,
55  const edm::EDGetToken& recHitToken,
56  std::vector<RecHitProcessor::CppfItem>& CppfVec1,
57  // Output
58  l1t::CPPFDigiCollection& cppfDigis,
59  const int MaxClusterSize
60  ) const;
61 
62  void process(
63  // Input
64  const edm::Event& iEvent,
65  const edm::EventSetup& iSetup,
66  const edm::EDGetToken& recHitToken,
67  // Output
68  l1t::CPPFDigiCollection& cppfDigis
69  ) const;
70 
71  void print(int a, int b, float c, float d) const {std::cout << a << " " << b << " " << c << " " << d << std::endl;};
72 
74 
75  private:
76 
77 };
78 
79 #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:230
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