derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions More...
#include <HGCalSciNoiseMap.h>
Public Member Functions | |
radiiVec | computeRadius (const HGCScintillatorDetId &) |
HGCalSciNoiseMap () | |
std::pair< double, double > | scaleByDose (const HGCScintillatorDetId &, const radiiVec &) |
double | scaleBySipmArea (const HGCScintillatorDetId &, const double &) |
double | scaleByTileArea (const HGCScintillatorDetId &, const radiiVec &) |
returns the signal scaling and the noise More... | |
void | setSipmMap (const std::string &) |
~HGCalSciNoiseMap () | |
Public Member Functions inherited from HGCalRadiationMap | |
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 | |
std::unordered_map< int, float > | readSipmPars (const std::string &) |
Private Attributes | |
const double | refEdge_ |
std::unordered_map< int, float > | sipmMap_ |
Additional Inherited Members | |
Public Types inherited from HGCalRadiationMap | |
typedef std::map< std::pair< int, int >, DoseParameters > | doseParametersMap |
derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions
Definition at line 13 of file HGCalSciNoiseMap.h.
HGCalSciNoiseMap::HGCalSciNoiseMap | ( | ) |
Definition at line 6 of file HGCalSciNoiseMap.cc.
|
inline |
Definition at line 16 of file HGCalSciNoiseMap.h.
References computeRadius(), readSipmPars(), scaleByDose(), scaleBySipmArea(), scaleByTileArea(), setSipmMap(), and AlCaHLTBitMon_QueryRunRegistry::string.
radiiVec HGCalSciNoiseMap::computeRadius | ( | const HGCScintillatorDetId & | cellId | ) |
Definition at line 87 of file HGCalSciNoiseMap.cc.
References HGCalRadiationMap::geom(), HGCalGeometry::getPosition(), funct::pow(), BeamHaloGenFilter_cfi::radii, CosmicsPD_Skims::radius, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer(), and ~HGCalSciNoiseMap().
|
private |
Definition at line 12 of file HGCalSciNoiseMap.cc.
References Exception, personalPlayback::fp, edm::FileInPath::fullPath(), timingPdfMaker::infile, mps_splice::line, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setSipmMap(), and ~HGCalSciNoiseMap().
std::pair< double, double > HGCalSciNoiseMap::scaleByDose | ( | const HGCScintillatorDetId & | cellId, |
const radiiVec & | radius | ||
) |
Definition at line 38 of file HGCalSciNoiseMap.cc.
References constexpr, relativeConstraints::empty, JetChargeProducer_cfi::exp, HGCalRadiationMap::getDoseMap(), HGCalRadiationMap::getDoseValue(), HGCalRadiationMap::getFluenceValue(), DetId::HGCalHSc, HGCScintillatorDetId::layer(), hgcalDigitizer_cfi::noise, funct::pow(), multiplicitycorr_cfi::scaleFactor, and mathSSE::sqrt().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer(), and ~HGCalSciNoiseMap().
double HGCalSciNoiseMap::scaleBySipmArea | ( | const HGCScintillatorDetId & | cellId, |
const double & | radius | ||
) |
Definition at line 76 of file HGCalSciNoiseMap.cc.
References HGCScintillatorDetId::layer(), and sipmMap_.
Referenced by HGCHEbackDigitizer::runRealisticDigitizer(), and ~HGCalSciNoiseMap().
double HGCalSciNoiseMap::scaleByTileArea | ( | const HGCScintillatorDetId & | cellId, |
const radiiVec & | radius | ||
) |
returns the signal scaling and the noise
Definition at line 61 of file HGCalSciNoiseMap.cc.
References constexpr, DQMScaleToClient_cfi::factor, M_PI, refEdge_, multiplicitycorr_cfi::scaleFactor, and HGCScintillatorDetId::type().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer(), and ~HGCalSciNoiseMap().
void HGCalSciNoiseMap::setSipmMap | ( | const std::string & | fullpath | ) |
Definition at line 9 of file HGCalSciNoiseMap.cc.
References readSipmPars(), and sipmMap_.
Referenced by HGCHEbackDigitizer::HGCHEbackDigitizer(), and ~HGCalSciNoiseMap().
|
private |
Definition at line 32 of file HGCalSciNoiseMap.h.
Referenced by scaleByTileArea().
|
private |
Definition at line 34 of file HGCalSciNoiseMap.h.
Referenced by scaleBySipmArea(), and setSipmMap().