CMS 3D CMS Logo

RBCProcessRPCSimDigis.h
Go to the documentation of this file.
1 #ifndef INTERFACE_RBCPROCESSRPCSIMDIGIS_H
2 #define INTERFACE_RBCPROCESSRPCSIMDIGIS_H 1
3 
4 // Include files
7 
12 
14 
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 #include <memory>
32 
41 public:
44 
46 
47  int next() override;
48 
49  void reset();
50 
51  void builddata();
52 
53  void print_output();
54 
55  RPCInputSignal *retrievedata() override { return m_lbin.get(); };
56 
57  void rewind(){};
58  void showfirst(){};
59 
60  ~RBCProcessRPCSimDigis() override;
61 
62 protected:
63 private:
64  int getBarrelLayer(const int &, const int &);
65 
66  void setDigiAt(int, int, RPCData &);
67 
68  void setInputBit(std::bitset<15> &, int);
69 
70  void initialize(std::vector<RPCData> &);
71 
74 
77 
78  std::unique_ptr<RPCInputSignal> m_lbin;
79 
80  std::map<int, RBCInput *> m_data;
81 
82  std::map<int, std::vector<RPCData> > m_vecDataperBx;
83 
84  bool m_debug;
86 };
87 #endif // INTERFACE_RBCPROCESSRPCSIMDIGIS_H
RPCInputSignal * retrievedata() override
std::map< int, std::vector< RPCData > > m_vecDataperBx
const edm::Handle< edm::DetSetVector< RPCDigiSimLink > > * m_ptr_digiSimLink
~RBCProcessRPCSimDigis() override
Destructor.
std::unique_ptr< RPCInputSignal > m_lbin
RBCProcessRPCSimDigis()
Standard constructor.
int getBarrelLayer(const int &, const int &)
void setDigiAt(int, int, RPCData &)
void initialize(std::vector< RPCData > &)
void setInputBit(std::bitset< 15 > &, int)
const edm::ESHandle< RPCGeometry > * m_ptr_rpcGeom
edm::DetSet< RPCDigiSimLink >::const_iterator m_digiItr
std::map< int, RBCInput * > m_data
collection_type::const_iterator const_iterator
Definition: DetSet.h:32
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:102
edm::DetSetVector< RPCDigiSimLink >::const_iterator m_linkItr