CMS 3D CMS Logo

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