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:
43 
46 
47  ~RBCProcessRPCDigis( ) override;
48 
49  int next() override;
50 
51  void reset();
52 
53  void configure();
54 
55  void initialize( std::vector<RPCData*> & );
56 
57  void builddata();
58 
59  void print_output();
60 
62  return m_lbin;
63  };
64 
65  void rewind() {};
66  void showfirst() {};
67 
68 protected:
69 
70 private:
71 
72  int getBarrelLayer(const int &, const int &);
73 
74  void setDigiAt( int , int );
75 
76  void setInputBit( std::bitset<15> & , int );
77 
80 
82  RPCDigiCollection::DigiRangeIterator m_detUnitItr;
83 
85 
87 
88  std::map<int, int> m_layermap;
89 
90  std::map<int, RBCInput*> m_data;
91 
92  std::map<int, std::vector<RPCData*> > m_vecDataperBx;
93 
94  bool m_debug;
96 
97  std::vector<int> m_wheelid;
98  std::vector<int> m_sec1id;
99  std::vector<int> m_sec2id;
100 
101  std::map<int, l1trigger::Counters*> m_digiCounters;
102 
103 };
104 #endif // RBCPROCESSRPCDIGIS_H
void setInputBit(std::bitset< 15 > &, int)
RPCDigiCollection::DigiRangeIterator m_detUnitItr
void initialize(std::vector< RPCData * > &)
std::vector< int > m_wheelid
std::map< int, l1trigger::Counters * > m_digiCounters
std::vector< int > m_sec1id
const edm::ESHandle< RPCGeometry > * m_ptr_rpcGeom
std::vector< int > m_sec2id
RBCProcessRPCDigis()
Standard constructor.
const edm::Handle< RPCDigiCollection > * m_ptr_digiColl
void setDigiAt(int, int)
RPCInputSignal * retrievedata() override
RPCDigiCollection::const_iterator m_digiItr
std::vector< RPCDigi >::const_iterator const_iterator
RPCInputSignal * m_lbin
std::map< int, int > m_layermap
int getBarrelLayer(const int &, const int &)
~RBCProcessRPCDigis() override
Destructor.
std::map< int, std::vector< RPCData * > > m_vecDataperBx
std::map< int, RBCInput * > m_data