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 // $Id: RBCProcessRPCSimDigis.h,v 1.2 2009/12/25 07:05:21 elmer Exp $
2 #ifndef INTERFACE_RBCPROCESSRPCSIMDIGIS_H
3 #define INTERFACE_RBCPROCESSRPCSIMDIGIS_H 1
4 
5 // Include files
8 
13 
15 
18 
19 // From project
24 
25 #include <stdlib.h>
26 #include <iostream>
27 #include <fstream>
28 #include <ios>
29 #include <cmath>
30 #include <map>
31 #include <vector>
32 
41 public:
44 
47 
48  int next();
49 
50  void reset();
51 
52  void configure();
53 
54  void initialize( std::vector<RPCData*> & );
55 
56  void builddata();
57 
58  void print_output();
59 
61  return m_lbin;
62  };
63 
64  void rewind() {};
65  void showfirst() {};
66 
67  virtual ~RBCProcessRPCSimDigis( );
68 
69 protected:
70 
71 private:
72 
73  int getBarrelLayer(const int &, const int &);
74 
75  void setDigiAt( int , int );
76 
77  void setInputBit( std::bitset<15> & , int );
78 
81 
84 
86 
88 
89  std::map<int, int> m_layermap;
90 
91  std::map<int, RBCInput*> m_data;
92 
93  std::map<int, std::vector<RPCData*> > m_vecDataperBx;
94 
95  bool m_debug;
97 
98  std::vector<int> m_wheelid;
99  std::vector<int> m_sec1id;
100  std::vector<int> m_sec2id;
101 
102 
103 };
104 #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:34
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:106
edm::DetSetVector< RPCDigiSimLink >::const_iterator m_linkItr
std::vector< int > m_sec1id