CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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<stdlib.h>
16 #include <utility>
17 
18 class RPCDigitizer;
19 class RPCGeometry;
20 class RPCDetId;
21 
23 {
24 public:
25 
26  explicit RPCDBSimSetUp(const edm::ParameterSet& ps);
27  virtual ~RPCDBSimSetUp();
28 
29  std::vector<float> getNoise(uint32_t id);
30  std::vector<float> getEff(uint32_t id);
31  float getTime(uint32_t id);
32  std::map< int, std::vector<double> > getClsMap();
33 
36  const RPCGeometry * getGeometry() { return theGeometry; }
37 
39 
40  std::map<uint32_t, std::vector<float> > _mapDetIdNoise;
41  std::map<uint32_t, std::vector<float> > _mapDetIdEff;
42  std::map<RPCDetId, float> _bxmap;
43  std::map< int, std::vector<double> > _clsMap;
44 
45  std::ifstream *_infile1;
46  std::ifstream *_infile2;
47  std::ifstream *_infile3;
48  std::ifstream *_infile4;
49 
50 };
51 
52 #endif
std::ifstream * _infile1
Definition: RPCDBSimSetUp.h:45
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCDBSimSetUp.h:35
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCDBSimSetUp.h:41
std::vector< float > getNoise(uint32_t id)
const RPCGeometry * getGeometry()
Definition: RPCDBSimSetUp.h:36
std::ifstream * _infile2
Definition: RPCDBSimSetUp.h:46
std::map< uint32_t, std::vector< float > > _mapDetIdNoise
Definition: RPCDBSimSetUp.h:40
std::map< int, std::vector< double > > _clsMap
Definition: RPCDBSimSetUp.h:43
std::vector< float > getEff(uint32_t id)
float getTime(uint32_t id)
std::ifstream * _infile3
Definition: RPCDBSimSetUp.h:47
virtual ~RPCDBSimSetUp()
std::map< int, std::vector< double > > getClsMap()
RPCDBSimSetUp(const edm::ParameterSet &ps)
std::map< RPCDetId, float > _bxmap
Definition: RPCDBSimSetUp.h:42
std::ifstream * _infile4
Definition: RPCDBSimSetUp.h:48
const RPCGeometry * theGeometry
Definition: RPCDBSimSetUp.h:38