CMS 3D CMS Logo

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 radiiVec&);
22  double scaleBySipmArea(const HGCScintillatorDetId&, const double&);
23  std::pair<double, double> scaleByDose(const HGCScintillatorDetId&, const radiiVec&);
24 
26  void setSipmMap(const std::string&);
27 
28 private:
29  std::unordered_map<int, float> readSipmPars(const std::string&);
30 
31  //size of the reference scintillator tile
32  const double refEdge_;
33  //sipm size boundaries
34  std::unordered_map<int, float> sipmMap_;
35 };
36 
37 #endif
HGCalSciNoiseMap::refEdge_
const double refEdge_
Definition: HGCalSciNoiseMap.h:32
radiiVec
std::array< double, 8 > radiiVec
Definition: HGCalRadiationMap.h:10
HGCalRadiationMap
parses a txt file with dose/fluence parameters and provides functions for noise, etc.
Definition: HGCalRadiationMap.h:16
HGCalSciNoiseMap::~HGCalSciNoiseMap
~HGCalSciNoiseMap()
Definition: HGCalSciNoiseMap.h:16
HGCalSciNoiseMap::sipmMap_
std::unordered_map< int, float > sipmMap_
Definition: HGCalSciNoiseMap.h:34
HGCSiliconDetId.h
HGCalSciNoiseMap::scaleBySipmArea
double scaleBySipmArea(const HGCScintillatorDetId &, const double &)
Definition: HGCalSciNoiseMap.cc:76
HGCalSciNoiseMap
derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions
Definition: HGCalSciNoiseMap.h:13
HGCalRadiationMap.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalSciNoiseMap::setSipmMap
void setSipmMap(const std::string &)
Definition: HGCalSciNoiseMap.cc:9
HGCalSciNoiseMap::scaleByDose
std::pair< double, double > scaleByDose(const HGCScintillatorDetId &, const radiiVec &)
Definition: HGCalSciNoiseMap.cc:38
HGCalGeometry.h
HGCalSciNoiseMap::HGCalSciNoiseMap
HGCalSciNoiseMap()
Definition: HGCalSciNoiseMap.cc:6
HGCalSciNoiseMap::computeRadius
radiiVec computeRadius(const HGCScintillatorDetId &)
Definition: HGCalSciNoiseMap.cc:87
HGCalSciNoiseMap::readSipmPars
std::unordered_map< int, float > readSipmPars(const std::string &)
Definition: HGCalSciNoiseMap.cc:12
HGCalSciNoiseMap::scaleByTileArea
double scaleByTileArea(const HGCScintillatorDetId &, const radiiVec &)
returns the signal scaling and the noise
Definition: HGCalSciNoiseMap.cc:61
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:21