CMS 3D CMS Logo

RPCCalibSetUp.h
Go to the documentation of this file.
1 #ifndef RPCCalibSetUp_h
2 #define RPCCalibSetUp_h
3 
8 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
9 #include <cstdlib>
10 #include <cstring>
11 #include <fstream>
12 #include <iostream>
13 #include <map>
14 #include <sstream>
15 #include <string>
16 #include <utility>
17 #include <vector>
18 
19 class RPCDigitizer;
20 class RPCGeometry;
21 class RPCDetId;
22 
24 public:
25  explicit RPCCalibSetUp(const edm::ParameterSet &ps);
26  virtual ~RPCCalibSetUp();
27 
28  std::vector<float> getNoise(uint32_t id);
29  std::vector<float> getEff(uint32_t id);
30  float getTime(uint32_t id);
31  std::map<int, std::vector<double>> getClsMap();
32  // std::map<int, std::vector<double> > getClsMap(uint32_t id);
33  std::vector<double> getCls(uint32_t id);
34 
37  const RPCGeometry *getGeometry() { return theGeometry; }
38 
40 
41  std::map<uint32_t, std::vector<float>> _mapDetIdNoise;
42  std::map<uint32_t, std::vector<float>> _mapDetIdEff;
43  std::map<RPCDetId, float> _bxmap;
44  std::map<int, std::vector<double>> _clsMap;
45  std::map<uint32_t, std::vector<double>> _mapDetClsMap;
46 };
47 
48 #endif
EDProducer.h
RPCCalibSetUp::~RPCCalibSetUp
virtual ~RPCCalibSetUp()
Definition: RPCCalibSetUp.cc:251
RPCDetId
Definition: RPCDetId.h:16
RPCCalibSetUp::getNoise
std::vector< float > getNoise(uint32_t id)
Definition: RPCCalibSetUp.cc:190
RPCDigitizer
Definition: RPCDigitizer.h:33
RPCCalibSetUp::getGeometry
const RPCGeometry * getGeometry()
Definition: RPCCalibSetUp.h:37
RPCCalibSetUp::_bxmap
std::map< RPCDetId, float > _bxmap
Definition: RPCCalibSetUp.h:43
RPCCalibSetUp::_clsMap
std::map< int, std::vector< double > > _clsMap
Definition: RPCCalibSetUp.h:44
RPCCalibSetUp::_mapDetIdEff
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCCalibSetUp.h:42
RPCCalibSetUp::_mapDetClsMap
std::map< uint32_t, std::vector< double > > _mapDetClsMap
Definition: RPCCalibSetUp.h:45
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
edm::ParameterSet
Definition: ParameterSet.h:47
RPCCalibSetUp::getTime
float getTime(uint32_t id)
Definition: RPCCalibSetUp.cc:215
Event.h
RPCCalibSetUp
Definition: RPCCalibSetUp.h:23
RPCCalibSetUp::theGeometry
const RPCGeometry * theGeometry
Definition: RPCCalibSetUp.h:39
RPCCalibSetUp::_mapDetIdNoise
std::map< uint32_t, std::vector< float > > _mapDetIdNoise
Definition: RPCCalibSetUp.h:41
EventSetup.h
RPCCalibSetUp::setGeometry
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCCalibSetUp.h:36
RPCGeometry
Definition: RPCGeometry.h:20
ParameterSet.h
RPCCalibSetUp::getEff
std::vector< float > getEff(uint32_t id)
Definition: RPCCalibSetUp.cc:200
RPCCalibSetUp::RPCCalibSetUp
RPCCalibSetUp(const edm::ParameterSet &ps)
Definition: RPCCalibSetUp.cc:25
RPCCalibSetUp::getCls
std::vector< double > getCls(uint32_t id)
Definition: RPCCalibSetUp.cc:236
RPCCalibSetUp::getClsMap
std::map< int, std::vector< double > > getClsMap()
Definition: RPCCalibSetUp.cc:227