test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <stdlib.h>
25 #include <iostream>
26 #include <fstream>
27 #include <ios>
28 #include <cmath>
29 #include <map>
30 #include <vector>
31 
40 public:
43 
46 
47  int next();
48 
49  void reset();
50 
51  void configure();
52 
53  void initialize( std::vector<RPCData*> & );
54 
55  void builddata();
56 
57  void print_output();
58 
60  return m_lbin;
61  };
62 
63  void rewind() {};
64  void showfirst() {};
65 
66  virtual ~RBCProcessRPCSimDigis( );
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 
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 
102 };
103 #endif // INTERFACE_RBCPROCESSRPCSIMDIGIS_H
RPCInputSignal * retrievedata()
std::vector< int > m_sec2id
virtual ~RBCProcessRPCSimDigis()
Destructor.
std::map< int, int > m_layermap
std::map< int, RBCInput * > m_data
const edm::Handle< edm::DetSetVector< RPCDigiSimLink > > * m_ptr_digiSimLink
RBCProcessRPCSimDigis()
Standard constructor.
std::vector< int > m_wheelid
int getBarrelLayer(const int &, const int &)
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, std::vector< RPCData * > > m_vecDataperBx
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
std::vector< int > m_sec1id