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 #include<utility>
30 #include <algorithm>
31 #include <map>
32 
34  public:
35  explicit RecHitProcessor();
37 
38  struct CppfItem {
39 
40  int lb;
41  int rawId;
42  int strip;
43  int lbchannel;
45  int int_phi;
46  int int_theta;
48  };
49 
50  std::vector<CppfItem> const & getCppfVec() const {return CppfVec;}
51  std::vector<CppfItem> CppfVec;
52 
53 
54  void processLook(
55  // Input
56  const edm::Event& iEvent,
57  const edm::EventSetup& iSetup,
58  const edm::EDGetToken& recHitToken,
59  std::vector<RecHitProcessor::CppfItem>& CppfVec1,
60  // Output
61  l1t::CPPFDigiCollection& cppfDigis,
62  const int MaxClusterSize
63  ) const;
64 
65  void process(
66  // Input
67  const edm::Event& iEvent,
68  const edm::EventSetup& iSetup,
69  const edm::EDGetToken& recHitToken,
70  // Output
71  l1t::CPPFDigiCollection& cppfDigis
72  ) const;
73 
74  void print(int a, int b, float c, float d) const {std::cout << a << " " << b << " " << c << " " << d << std::endl;};
75 
77 
78  private:
79 
80 };
81 
82 #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