CMS 3D CMS Logo

RPCCalibSetUp.h
Go to the documentation of this file.
1 #ifndef RPCCalibSetUp_h
2 #define RPCCalibSetUp_h
3 
7 //#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
8 #include <cstdlib>
9 #include <cstring>
10 #include <fstream>
11 #include <iostream>
12 #include <map>
13 #include <sstream>
14 #include <string>
15 #include <utility>
16 #include <vector>
17 
18 class RPCDigitizer;
19 class RPCGeometry;
20 class RPCDetId;
21 
23 public:
24  explicit RPCCalibSetUp(const edm::ParameterSet &ps);
25  virtual ~RPCCalibSetUp();
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  // std::map<int, std::vector<double> > getClsMap(uint32_t id);
32  std::vector<double> getCls(uint32_t id);
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  std::map<uint32_t, std::vector<double>> _mapDetClsMap;
45 };
46 
47 #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:40
std::map< int, std::vector< double > > _clsMap
Definition: RPCCalibSetUp.h:43
virtual ~RPCCalibSetUp()
float getTime(uint32_t id)
std::map< RPCDetId, float > _bxmap
Definition: RPCCalibSetUp.h:42
const RPCGeometry * theGeometry
Definition: RPCCalibSetUp.h:38
const RPCGeometry * getGeometry()
Definition: RPCCalibSetUp.h:36
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCCalibSetUp.h:41
RPCCalibSetUp(const edm::ParameterSet &ps)
std::map< uint32_t, std::vector< double > > _mapDetClsMap
Definition: RPCCalibSetUp.h:44
std::vector< float > getNoise(uint32_t id)
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCCalibSetUp.h:35