CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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<boost/cstdint.hpp>
10 
11 
13 
14  public:
15 
18 
19  inline void putPixelGeomFactors (std::map<unsigned int,double>& PixelGeomFactors){m_PixelGeomFactors=PixelGeomFactors;}
20  inline const std::map<unsigned int,double>& getPixelGeomFactors () const {return m_PixelGeomFactors;}
21 
22  inline void putColGeomFactors (std::map<unsigned int,double>& ColGeomFactors){m_ColGeomFactors=ColGeomFactors;}
23  inline const std::map<unsigned int,double>& getColGeomFactors () const {return m_ColGeomFactors;}
24 
25  inline void putChipGeomFactors (std::map<unsigned int,double>& ChipGeomFactors){m_ChipGeomFactors=ChipGeomFactors;}
26  inline const std::map<unsigned int,double>& getChipGeomFactors () const {return m_ChipGeomFactors;}
27 
28  inline void putPUFactors (std::map<unsigned int,std::vector<double> >& PUFactors){m_PUFactors=PUFactors;}
29  inline const std::map<unsigned int,std::vector<double> >& getPUFactors () const {return m_PUFactors;}
30 
31  inline void puttheInstLumiScaleFactor_(double& InstLumiScaleFactor){theInstLumiScaleFactor_=InstLumiScaleFactor;}
32  inline const double gettheInstLumiScaleFactor_() const {return theInstLumiScaleFactor_;}
33 
34  inline void putDetIdmasks(std::vector<uint32_t>& masks){v_DetIdmasks=masks;}
35  inline const std::vector<uint32_t> getDetIdmasks() const {return v_DetIdmasks;}
36 
37  bool putPixelGeomFactor (const uint32_t&, double&);
38  double getPixelGeomFactor (const uint32_t&) const;
39 
40  bool putColGeomFactor (const uint32_t&, double&);
41  double getColGeomFactor (const uint32_t&) const;
42 
43  bool putChipGeomFactor (const uint32_t&, double&);
44  double getChipGeomFactor (const uint32_t&) const;
45 
46  bool putPUFactor (const uint32_t&, std::vector<double>&);
47  std::vector<double> getPUFactor (const uint32_t&) const;
48 
49  bool putDetIdmask(uint32_t&);
50  uint32_t getDetIdmask(unsigned int&) const;
51 
52  bool puttheInstLumiScaleFactor(double&);
53  double gettheInstLumiScaleFactor() const;
54 
55  private:
56  std::map<unsigned int,double> m_PixelGeomFactors;
57  std::map<unsigned int,double> m_ColGeomFactors;
58  std::map<unsigned int,double> m_ChipGeomFactors;
59  std::map<unsigned int,std::vector<double> > m_PUFactors;
60  std::vector<uint32_t> v_DetIdmasks;
62 
64 };
65 
66 #endif
uint32_t getDetIdmask(unsigned int &) const
bool putPUFactor(const uint32_t &, std::vector< double > &)
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 getPixelGeomFactor(const uint32_t &) const
std::vector< uint32_t > v_DetIdmasks
double getColGeomFactor(const uint32_t &) const
const std::vector< uint32_t > getDetIdmasks() const
void putChipGeomFactors(std::map< unsigned int, double > &ChipGeomFactors)
std::map< unsigned int, double > m_ChipGeomFactors
void putColGeomFactors(std::map< unsigned int, double > &ColGeomFactors)
void puttheInstLumiScaleFactor_(double &InstLumiScaleFactor)
const double gettheInstLumiScaleFactor_() const
std::map< unsigned int, std::vector< double > > m_PUFactors
std::map< unsigned int, double > m_PixelGeomFactors
void putDetIdmasks(std::vector< uint32_t > &masks)
double getChipGeomFactor(const uint32_t &) const
std::map< unsigned int, double > m_ColGeomFactors
#define COND_SERIALIZABLE
Definition: Serializable.h:37
constexpr uint32_t masks[]
Definition: CaloRecHit.cc:12
const std::map< unsigned int, std::vector< double > > & getPUFactors() const
std::vector< double > getPUFactor(const uint32_t &) const
bool putPixelGeomFactor(const uint32_t &, double &)
const std::map< unsigned int, double > & getColGeomFactors() const
const std::map< unsigned int, double > & getPixelGeomFactors() const
const std::map< unsigned int, double > & getChipGeomFactors() const