CMS 3D CMS Logo

RBCProcessRPCDigis.h
Go to the documentation of this file.
1 // $Id:
2 #ifndef RBCPROCESSRPCDIGIS_H
3 #define RBCPROCESSRPCDIGIS_H 1
4 
5 // Include files
8 
13 
17 
18 // From project
23 
24 #include <cstdlib>
25 #include <iostream>
26 #include <fstream>
27 #include <ios>
28 #include <cmath>
29 #include <map>
30 #include <vector>
31 
40 public:
44 
45  ~RBCProcessRPCDigis( ) override;
46 
47  int next() override;
48 
49  void reset();
50 
51  void configure();
52 
53 
54  void builddata();
55 
56  void print_output();
57 
59  return m_lbin.get();
60  };
61 
62  void rewind() {};
63  void showfirst() {};
64 
65 protected:
66 
67 private:
68  void initialize( std::vector<RPCData> & ) const;
69 
70  int getBarrelLayer(const int &, const int &);
71 
72  void setDigiAt( int , int , RPCData& );
73 
74  void setInputBit( std::bitset<15> & , int );
75 
78 
79  std::unique_ptr<RPCInputSignal> m_lbin;
80 
81  std::map<int, RBCInput*> m_data;
82 
83  std::map<int, std::vector<RPCData> > m_vecDataperBx;
84 
85 
86  std::map<int, l1trigger::Counters> m_digiCounters;
87  const int m_maxBxWindow;
88  const bool m_debug;
89 
90 };
91 #endif // RBCPROCESSRPCDIGIS_H
void setInputBit(std::bitset< 15 > &, int)
void initialize(std::vector< RPCData > &) const
std::map< int, std::vector< RPCData > > m_vecDataperBx
const edm::ESHandle< RPCGeometry > * m_ptr_rpcGeom
const edm::Handle< RPCDigiCollection > * m_ptr_digiColl
RPCInputSignal * retrievedata() override
RBCProcessRPCDigis(const edm::ESHandle< RPCGeometry > &, const edm::Handle< RPCDigiCollection > &)
Standard constructor.
std::map< int, l1trigger::Counters > m_digiCounters
void setDigiAt(int, int, RPCData &)
int getBarrelLayer(const int &, const int &)
std::unique_ptr< RPCInputSignal > m_lbin
~RBCProcessRPCDigis() override
Destructor.
std::map< int, RBCInput * > m_data