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 <map>
10 #include <vector>
11 #include <fstream>
12 #include <sstream>
13 #include <iostream>
14 #include<cstring>
15 #include<string>
16 #include<stdlib.h>
17 #include <utility>
18 
19 class RPCDigitizer;
20 class RPCGeometry;
21 class RPCDetId;
22 
24 {
25 public:
26 
27  explicit RPCCalibSetUp(const edm::ParameterSet& ps);
28  virtual ~RPCCalibSetUp();
29 
30  std::vector<float> getNoise(uint32_t id);
31  std::vector<float> getEff(uint32_t id);
32  float getTime(uint32_t id);
33  std::map< int, std::vector<double> > getClsMap();
34  // std::map<int, std::vector<double> > getClsMap(uint32_t id);
35  std::vector<double> getCls(uint32_t id);
36 
39  const RPCGeometry * getGeometry() { return theGeometry; }
40 
42 
43  std::map<uint32_t, std::vector<float> > _mapDetIdNoise;
44  std::map<uint32_t, std::vector<float> > _mapDetIdEff;
45  std::map<RPCDetId, float> _bxmap;
46  std::map< int, std::vector<double> > _clsMap;
47  std::map<uint32_t, std::vector<double> > _mapDetClsMap;
48 
49 };
50 
51 #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:43
std::map< int, std::vector< double > > _clsMap
Definition: RPCCalibSetUp.h:46
virtual ~RPCCalibSetUp()
float getTime(uint32_t id)
std::map< RPCDetId, float > _bxmap
Definition: RPCCalibSetUp.h:45
const RPCGeometry * theGeometry
Definition: RPCCalibSetUp.h:41
const RPCGeometry * getGeometry()
Definition: RPCCalibSetUp.h:39
std::map< uint32_t, std::vector< float > > _mapDetIdEff
Definition: RPCCalibSetUp.h:44
RPCCalibSetUp(const edm::ParameterSet &ps)
std::map< uint32_t, std::vector< double > > _mapDetClsMap
Definition: RPCCalibSetUp.h:47
std::vector< float > getNoise(uint32_t id)
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCCalibSetUp.h:38