CMS 3D CMS Logo

SiPixelDynamicInefficiency.h
Go to the documentation of this file.
1 #ifndef SiPixelDynamicInefficiency_h
2 #define SiPixelDynamicInefficiency_h
3 
5 
6 #include <vector>
7 #include <map>
8 #include <iostream>
9 #include <cstdint>
10 
12 public:
15 
16  inline void putPixelGeomFactors(std::map<unsigned int, double>& PixelGeomFactors) {
17  m_PixelGeomFactors = PixelGeomFactors;
18  }
19  inline const std::map<unsigned int, double>& getPixelGeomFactors() const { return m_PixelGeomFactors; }
20 
21  inline void putColGeomFactors(std::map<unsigned int, double>& ColGeomFactors) { m_ColGeomFactors = ColGeomFactors; }
22  inline const std::map<unsigned int, double>& getColGeomFactors() const { return m_ColGeomFactors; }
23 
24  inline void putChipGeomFactors(std::map<unsigned int, double>& ChipGeomFactors) {
25  m_ChipGeomFactors = ChipGeomFactors;
26  }
27  inline const std::map<unsigned int, double>& getChipGeomFactors() const { return m_ChipGeomFactors; }
28 
29  inline void putPUFactors(std::map<unsigned int, std::vector<double> >& PUFactors) { m_PUFactors = PUFactors; }
30  inline const std::map<unsigned int, std::vector<double> >& getPUFactors() const { return m_PUFactors; }
31 
32  inline void puttheInstLumiScaleFactor_(double& InstLumiScaleFactor) { theInstLumiScaleFactor_ = InstLumiScaleFactor; }
33  inline const double gettheInstLumiScaleFactor_() const { return theInstLumiScaleFactor_; }
34 
35  inline void putDetIdmasks(std::vector<uint32_t>& masks) { v_DetIdmasks = masks; }
36  inline const std::vector<uint32_t> getDetIdmasks() const { return v_DetIdmasks; }
37 
38  bool putPixelGeomFactor(const uint32_t&, double&);
39  double getPixelGeomFactor(const uint32_t&) const;
40 
41  bool putColGeomFactor(const uint32_t&, double&);
42  double getColGeomFactor(const uint32_t&) const;
43 
44  bool putChipGeomFactor(const uint32_t&, double&);
45  double getChipGeomFactor(const uint32_t&) const;
46 
47  bool putPUFactor(const uint32_t&, std::vector<double>&);
48  std::vector<double> getPUFactor(const uint32_t&) const;
49 
50  bool putDetIdmask(uint32_t&);
51  uint32_t getDetIdmask(unsigned int&) const;
52 
53  bool puttheInstLumiScaleFactor(double&);
54  double gettheInstLumiScaleFactor() const;
55 
56 private:
57  std::map<unsigned int, double> m_PixelGeomFactors;
58  std::map<unsigned int, double> m_ColGeomFactors;
59  std::map<unsigned int, double> m_ChipGeomFactors;
60  std::map<unsigned int, std::vector<double> > m_PUFactors;
61  std::vector<uint32_t> v_DetIdmasks;
63 
65 };
66 
67 #endif
const std::map< unsigned int, double > & getPixelGeomFactors() const
bool putPUFactor(const uint32_t &, std::vector< double > &)
double getPixelGeomFactor(const uint32_t &) const
void putPixelGeomFactors(std::map< unsigned int, double > &PixelGeomFactors)
void putPUFactors(std::map< unsigned int, std::vector< double > > &PUFactors)
bool putChipGeomFactor(const uint32_t &, double &)
bool putColGeomFactor(const uint32_t &, double &)
double getChipGeomFactor(const uint32_t &) const
const std::map< unsigned int, double > & getColGeomFactors() const
std::map< unsigned int, double > m_PixelGeomFactors
std::map< unsigned int, double > m_ChipGeomFactors
std::vector< uint32_t > v_DetIdmasks
std::map< unsigned int, std::vector< double > > m_PUFactors
const std::map< unsigned int, std::vector< double > > & getPUFactors() const
void putChipGeomFactors(std::map< unsigned int, double > &ChipGeomFactors)
const std::vector< uint32_t > getDetIdmasks() const
void putColGeomFactors(std::map< unsigned int, double > &ColGeomFactors)
void puttheInstLumiScaleFactor_(double &InstLumiScaleFactor)
const std::map< unsigned int, double > & getChipGeomFactors() const
const double gettheInstLumiScaleFactor_() const
std::map< unsigned int, double > m_ColGeomFactors
void putDetIdmasks(std::vector< uint32_t > &masks)
uint32_t getDetIdmask(unsigned int &) const
std::vector< double > getPUFactor(const uint32_t &) const
double getColGeomFactor(const uint32_t &) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
bool putPixelGeomFactor(const uint32_t &, double &)