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
std::unordered_map< int, float > readSipmPars(const std::string &)
std::array< double, 8 > radiiVec
void setSipmMap(const std::string &)
radiiVec computeRadius(const HGCScintillatorDetId &)
double scaleByTileArea(const HGCScintillatorDetId &, const radiiVec &)
returns the signal scaling and the noise
std::unordered_map< int, float > sipmMap_
double scaleBySipmArea(const HGCScintillatorDetId &, const double &)
parses a txt file with dose/fluence parameters and provides functions for noise, etc.
derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions ...
const double refEdge_
std::pair< double, double > scaleByDose(const HGCScintillatorDetId &, const radiiVec &)