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
std::vector< double > getCls(uint32_t id)
std::vector< float > getEff(uint32_t id)
std::map< int, std::vector< double > > getClsMap()
std::map< uint32_t, std::vector< float > > _mapDetIdNoise
Definition: RPCCalibSetUp.h:41
std::map< int, std::vector< double > > _clsMap
Definition: RPCCalibSetUp.h:44
virtual ~RPCCalibSetUp()
float getTime(uint32_t id)
std::map< RPCDetId, float > _bxmap
Definition: RPCCalibSetUp.h:43
const RPCGeometry * theGeometry
Definition: RPCCalibSetUp.h:39
const RPCGeometry * getGeometry()
Definition: RPCCalibSetUp.h:37
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCCalibSetUp.h:42
RPCCalibSetUp(const edm::ParameterSet &ps)
std::map< uint32_t, std::vector< double > > _mapDetClsMap
Definition: RPCCalibSetUp.h:45
std::vector< float > getNoise(uint32_t id)
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCCalibSetUp.h:36