parses a txt file with dose/fluence parameters and provides functions for noise, etc. More...
#include <HGCalRadiationMap.h>
Classes | |
struct | DoseParameters |
Public Types | |
typedef std::map< std::pair< int, int >, DoseParameters > | doseParametersMap |
Public Member Functions | |
const unsigned int & | algo () |
const HGCalDDDConstants * | ddd () |
const HGCalGeometry * | geom () |
const doseParametersMap & | getDoseMap () |
double | getDoseValue (const int, const int, const radiiVec &, bool logVal=false) |
double | getFluenceValue (const int, const int, const radiiVec &, bool logVal=false) |
HGCalRadiationMap () | |
void | setDoseMap (const std::string &, const unsigned int) |
void | setGeometry (const CaloSubdetectorGeometry *) |
const HGCalTopology * | topo () |
~HGCalRadiationMap () | |
Private Member Functions | |
doseParametersMap | readDosePars (const std::string &) |
Private Attributes | |
unsigned int | algo_ |
doseParametersMap | doseMap_ |
const double | grayToKrad_ = 0.1 |
const HGCalDDDConstants * | hgcalDDD_ |
const HGCalGeometry * | hgcalGeom_ |
const HGCalTopology * | hgcalTopology_ |
parses a txt file with dose/fluence parameters and provides functions for noise, etc.
Definition at line 16 of file HGCalRadiationMap.h.
typedef std::map<std::pair<int, int>, DoseParameters> HGCalRadiationMap::doseParametersMap |
Definition at line 24 of file HGCalRadiationMap.h.
|
inline |
Definition at line 23 of file HGCalRadiationMap.h.
|
inline |
Definition at line 24 of file HGCalRadiationMap.h.
|
inline |
Definition at line 34 of file HGCalRadiationMap.h.
References algo_.
Referenced by setDoseMap(), and HGCalSiNoiseMap::setDoseMap().
|
inline |
Definition at line 37 of file HGCalRadiationMap.h.
References hgcalDDD_.
Referenced by HGCalSiNoiseMap::getSiCellOpCharacteristics().
|
inline |
Definition at line 35 of file HGCalRadiationMap.h.
References hgcalGeom_.
Referenced by HGCalSciNoiseMap::computeRadius(), and setGeometry().
|
inline |
Definition at line 39 of file HGCalRadiationMap.h.
References doseMap_.
Referenced by HGCalSiNoiseMap::getSiCellOpCharacteristics(), and HGCalSciNoiseMap::scaleByDose().
double HGCalRadiationMap::getDoseValue | ( | const int | subdet, |
const int | layer, | ||
const radiiVec & | radius, | ||
bool | logVal = false |
||
) |
Definition at line 19 of file HGCalRadiationMap.cc.
References doseMap_, grayToKrad_, crabWrapper::key, dqm-mbProfile::log, funct::pow(), and CosmicsPD_Skims::radius.
Referenced by HGCalSciNoiseMap::scaleByDose().
double HGCalRadiationMap::getFluenceValue | ( | const int | subdet, |
const int | layer, | ||
const radiiVec & | radius, | ||
bool | logVal = false |
||
) |
Definition at line 27 of file HGCalRadiationMap.cc.
References doseMap_, crabWrapper::key, funct::pow(), and CosmicsPD_Skims::radius.
Referenced by HGCalSiNoiseMap::getSiCellOpCharacteristics(), and HGCalSciNoiseMap::scaleByDose().
|
private |
Definition at line 35 of file HGCalRadiationMap.cc.
References HGCalRadiationMap::DoseParameters::a_, HGCalRadiationMap::DoseParameters::b_, HGCalRadiationMap::DoseParameters::c_, HGCalRadiationMap::DoseParameters::d_, HGCalRadiationMap::DoseParameters::e_, Exception, HGCalRadiationMap::DoseParameters::f_, personalPlayback::fp, reco_skim_cfg_mod::fullpath, HGCalRadiationMap::DoseParameters::g_, HGCalRadiationMap::DoseParameters::h_, HGCalRadiationMap::DoseParameters::i_, timingPdfMaker::infile, HGCalRadiationMap::DoseParameters::j_, crabWrapper::key, mps_splice::line, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setDoseMap().
void HGCalRadiationMap::setDoseMap | ( | const std::string & | fullpath, |
const unsigned int | algo | ||
) |
Definition at line 6 of file HGCalRadiationMap.cc.
References algo(), algo_, doseMap_, reco_skim_cfg_mod::fullpath, and readDosePars().
Referenced by HGCHEbackDigitizer::HGCHEbackDigitizer(), and HGCalSiNoiseMap::setDoseMap().
void HGCalRadiationMap::setGeometry | ( | const CaloSubdetectorGeometry * | geom | ) |
Definition at line 12 of file HGCalRadiationMap.cc.
References HGCalTopology::dddConstants(), geom(), hgcalDDD_, hgcalGeom_, hgcalTopology_, and HGCalGeometry::topology().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer().
|
inline |
|
private |
Definition at line 44 of file HGCalRadiationMap.h.
Referenced by algo(), and setDoseMap().
|
private |
Definition at line 48 of file HGCalRadiationMap.h.
Referenced by getDoseMap(), getDoseValue(), getFluenceValue(), and setDoseMap().
|
private |
Definition at line 50 of file HGCalRadiationMap.h.
Referenced by getDoseValue().
|
private |
Definition at line 47 of file HGCalRadiationMap.h.
Referenced by ddd(), and setGeometry().
|
private |
Definition at line 45 of file HGCalRadiationMap.h.
Referenced by geom(), and setGeometry().
|
private |
Definition at line 46 of file HGCalRadiationMap.h.
Referenced by setGeometry(), and topo().