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
RPCDBSimSetUp::_mapDetIdNoise
std::map< uint32_t, std::vector< float > > _mapDetIdNoise
Definition: RPCDBSimSetUp.h:38
RPCDBSimSetUp::RPCDBSimSetUp
RPCDBSimSetUp(const edm::ParameterSet &ps)
Definition: RPCDBSimSetUp.cc:18
EDProducer.h
RPCDBSimSetUp::getEff
std::vector< float > getEff(uint32_t id)
Definition: RPCDBSimSetUp.cc:142
RPCDBSimSetUp::_infile1
std::ifstream * _infile1
Definition: RPCDBSimSetUp.h:43
RPCDetId
Definition: RPCDetId.h:16
RPCDBSimSetUp::getClsMap
std::map< int, std::vector< double > > getClsMap()
Definition: RPCDBSimSetUp.cc:153
RPCDigitizer
Definition: RPCDigitizer.h:33
RPCDBSimSetUp
Definition: RPCDBSimSetUp.h:22
RPCDBSimSetUp::getNoise
std::vector< float > getNoise(uint32_t id)
Definition: RPCDBSimSetUp.cc:137
RPCDBSimSetUp::getGeometry
const RPCGeometry * getGeometry()
Definition: RPCDBSimSetUp.h:34
RPCDBSimSetUp::_infile3
std::ifstream * _infile3
Definition: RPCDBSimSetUp.h:45
RPCDBSimSetUp::getTime
float getTime(uint32_t id)
Definition: RPCDBSimSetUp.cc:147
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
RPCDBSimSetUp::_clsMap
std::map< int, std::vector< double > > _clsMap
Definition: RPCDBSimSetUp.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
RPCDBSimSetUp::_infile2
std::ifstream * _infile2
Definition: RPCDBSimSetUp.h:44
RPCDBSimSetUp::_bxmap
std::map< RPCDetId, float > _bxmap
Definition: RPCDBSimSetUp.h:40
RPCDBSimSetUp::~RPCDBSimSetUp
virtual ~RPCDBSimSetUp()
Definition: RPCDBSimSetUp.cc:155
RPCDBSimSetUp::setGeometry
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCDBSimSetUp.h:33
RPCDBSimSetUp::theGeometry
const RPCGeometry * theGeometry
Definition: RPCDBSimSetUp.h:36
EventSetup.h
RPCGeometry
Definition: RPCGeometry.h:20
RPCDBSimSetUp::_infile4
std::ifstream * _infile4
Definition: RPCDBSimSetUp.h:46
ParameterSet.h
RPCDBSimSetUp::_mapDetIdEff
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCDBSimSetUp.h:39