CMS 3D CMS Logo

RPCDBSimSetUp.h
Go to the documentation of this file.
1 #ifndef RPCDBSimSetUp_h
2 #define RPCDBSimSetUp_h
3 
7 #include <map>
8 #include <vector>
9 #include <fstream>
10 #include <sstream>
11 #include <iostream>
12 #include <cstring>
13 #include <string>
14 #include <cstdlib>
15 #include <utility>
16 
17 class RPCDigitizer;
18 class RPCGeometry;
19 class RPCDetId;
20 
22 public:
23  explicit RPCDBSimSetUp(const edm::ParameterSet &ps);
24  virtual ~RPCDBSimSetUp();
25 
26  std::vector<float> getNoise(uint32_t id);
27  std::vector<float> getEff(uint32_t id);
28  float getTime(uint32_t id);
29  std::map<int, std::vector<double> > getClsMap();
30 
33  const RPCGeometry *getGeometry() { return theGeometry; }
34 
36 
37  std::map<uint32_t, std::vector<float> > _mapDetIdNoise;
38  std::map<uint32_t, std::vector<float> > _mapDetIdEff;
39  std::map<RPCDetId, float> _bxmap;
40  std::map<int, std::vector<double> > _clsMap;
41 
42  std::ifstream *_infile1;
43  std::ifstream *_infile2;
44  std::ifstream *_infile3;
45  std::ifstream *_infile4;
46 };
47 
48 #endif
std::ifstream * _infile1
Definition: RPCDBSimSetUp.h:42
std::map< int, std::vector< double > > _clsMap
Definition: RPCDBSimSetUp.h:40
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCDBSimSetUp.h:32
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCDBSimSetUp.h:38
std::vector< float > getNoise(uint32_t id)
const RPCGeometry * getGeometry()
Definition: RPCDBSimSetUp.h:33
std::ifstream * _infile2
Definition: RPCDBSimSetUp.h:43
std::map< uint32_t, std::vector< float > > _mapDetIdNoise
Definition: RPCDBSimSetUp.h:37
std::vector< float > getEff(uint32_t id)
float getTime(uint32_t id)
std::ifstream * _infile3
Definition: RPCDBSimSetUp.h:44
virtual ~RPCDBSimSetUp()
std::map< int, std::vector< double > > getClsMap()
RPCDBSimSetUp(const edm::ParameterSet &ps)
std::map< RPCDetId, float > _bxmap
Definition: RPCDBSimSetUp.h:39
std::ifstream * _infile4
Definition: RPCDBSimSetUp.h:45
const RPCGeometry * theGeometry
Definition: RPCDBSimSetUp.h:35