CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HGCalSciNoiseMap.h
Go to the documentation of this file.
1 #ifndef simcalorimetry_hgcalsimalgos_hgcalscinoisemap
2 #define simcalorimetry_hgcalsimalgos_hgcalscinoisemap
3 
7 #include <string>
8 
14 public:
17 
21  double scaleByTileArea(const HGCScintillatorDetId &, const double);
22  double scaleBySipmArea(const HGCScintillatorDetId &, const double);
23  std::pair<double, double> scaleByDose(const HGCScintillatorDetId &, const double);
24 
25  void setSipmMap(const std::string &);
26 
27 private:
28  std::unordered_map<int, float> readSipmPars(const std::string &);
29 
30  //size of the reference scintillator tile
31  const double refEdge_;
32 
33  //sipm size boundaries
34  std::unordered_map<int, float> sipmMap_;
35 };
36 
37 #endif
HGCalSciNoiseMap::refEdge_
const double refEdge_
Definition: HGCalSciNoiseMap.h:31
HGCalRadiationMap
parses a txt file with dose/fluence parameters and provides functions for noise, etc.
Definition: HGCalRadiationMap.h:14
HGCalSciNoiseMap::~HGCalSciNoiseMap
~HGCalSciNoiseMap()
Definition: HGCalSciNoiseMap.h:16
HGCalSciNoiseMap::sipmMap_
std::unordered_map< int, float > sipmMap_
Definition: HGCalSciNoiseMap.h:34
HGCSiliconDetId.h
HGCalSciNoiseMap
derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions
Definition: HGCalSciNoiseMap.h:13
HGCalRadiationMap.h
HGCalSciNoiseMap::scaleByTileArea
double scaleByTileArea(const HGCScintillatorDetId &, const double)
returns the signal scaling and the noise
Definition: HGCalSciNoiseMap.cc:61
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalSciNoiseMap::setSipmMap
void setSipmMap(const std::string &)
Definition: HGCalSciNoiseMap.cc:9
HGCalGeometry.h
HGCalSciNoiseMap::HGCalSciNoiseMap
HGCalSciNoiseMap()
Definition: HGCalSciNoiseMap.cc:6
HGCalSciNoiseMap::readSipmPars
std::unordered_map< int, float > readSipmPars(const std::string &)
Definition: HGCalSciNoiseMap.cc:12
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:23
HGCalSciNoiseMap::scaleBySipmArea
double scaleBySipmArea(const HGCScintillatorDetId &, const double)
Definition: HGCalSciNoiseMap.cc:76
HGCalSciNoiseMap::scaleByDose
std::pair< double, double > scaleByDose(const HGCScintillatorDetId &, const double)
Definition: HGCalSciNoiseMap.cc:38