29 std::pair<int, int>
key(subdet,
layer);
32 return logVal ? -10. : 0.;
40 double cellDoseLog10 =
48 std::pair<int, int>
key(subdet,
layer);
55 double cellFluenceLog10 =
59 return logVal ? cellFluenceLog10 * M_LN10 :
std::pow(10, cellFluenceLog10);
83 std::stringstream linestream(
line);
84 linestream >> subdet >>
layer >> dosePars.
a_ >> dosePars.
b_ >> dosePars.
c_ >> dosePars.
d_ >> dosePars.
e_ >>
85 dosePars.
doff_ >> dosePars.
f_ >> dosePars.
g_ >> dosePars.
h_ >> dosePars.
i_ >> dosePars.
j_ >> dosePars.
foff_;
87 std::pair<int, int>
key(subdet,
layer);
doseParametersMap readDosePars(const std::string &)
const HGCalGeometry * hgcalGeom_
std::map< std::pair< int, int >, DoseParameters > doseParametersMap
const unsigned int & algo()
double getDoseValue(const int, const int, const double, bool logVal=false)
void setGeometry(const CaloSubdetectorGeometry *)
const HGCalDDDConstants * hgcalDDD_
const HGCalTopology & topology() const
double getFluenceValue(const int, const int, const double, bool logVal=false)
void setDoseMap(const std::string &, const unsigned int)
double computeRadius(const HGCScintillatorDetId &)
GlobalPoint getPosition(const DetId &id, bool debug=false) const
const HGCalTopology * hgcalTopology_
doseParametersMap doseMap_
const HGCalDDDConstants & dddConstants() const
const HGCalGeometry * geom()