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 
47 
48  int next() override;
49 
50  void reset();
51 
52  void builddata();
53 
54  void print_output();
55 
57  return m_lbin.get();
58  };
59 
60  void rewind() {};
61  void showfirst() {};
62 
63  ~RBCProcessRPCSimDigis( ) override;
64 
65 protected:
66 
67 private:
68 
69  int getBarrelLayer(const int &, const int &);
70 
71  void setDigiAt( int , int , RPCData& );
72 
73  void setInputBit( std::bitset<15> & , int );
74 
75  void initialize( std::vector<RPCData> & );
76 
79 
82 
83  std::unique_ptr<RPCInputSignal> m_lbin;
84 
85  std::map<int, RBCInput*> m_data;
86 
87  std::map<int, std::vector<RPCData> > m_vecDataperBx;
88 
89  bool m_debug;
91 
92 
93 };
94 #endif // INTERFACE_RBCPROCESSRPCSIMDIGIS_H
RPCInputSignal * retrievedata() override
std::map< int, std::vector< RPCData > > m_vecDataperBx
std::map< int, RBCInput * > m_data
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
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:104
edm::DetSetVector< RPCDigiSimLink >::const_iterator m_linkItr