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.
radiiVec HGCalSciNoiseMap::computeRadius | ( | const HGCScintillatorDetId & | cellId | ) |
Definition at line 87 of file HGCalSciNoiseMap.cc.
References HGCalRadiationMap::geom(), HGCalGeometry::getPosition(), funct::pow(), CosmicsPD_Skims::radius, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer().
|
private |
Definition at line 12 of file HGCalSciNoiseMap.cc.
References Exception, personalPlayback::fp, reco_skim_cfg_mod::fullpath, timingPdfMaker::infile, mps_splice::line, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setSipmMap().
std::pair< double, double > HGCalSciNoiseMap::scaleByDose | ( | const HGCScintillatorDetId & | cellId, |
const radiiVec & | radius | ||
) |
Definition at line 38 of file HGCalSciNoiseMap.cc.
References relativeConstraints::empty, JetChargeProducer_cfi::exp, HGCalRadiationMap::getDoseMap(), HGCalRadiationMap::getDoseValue(), HGCalRadiationMap::getFluenceValue(), DetId::HGCalHSc, HGCScintillatorDetId::layer(), hgcalDigitizer_cfi::noise, funct::pow(), CosmicsPD_Skims::radius, multiplicitycorr_cfi::scaleFactor, and mathSSE::sqrt().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer().
double HGCalSciNoiseMap::scaleBySipmArea | ( | const HGCScintillatorDetId & | cellId, |
const double & | radius | ||
) |
Definition at line 76 of file HGCalSciNoiseMap.cc.
References HGCScintillatorDetId::layer(), CosmicsPD_Skims::radius, and sipmMap_.
Referenced by HGCHEbackDigitizer::runRealisticDigitizer().
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 DQMScaleToClient_cfi::factor, M_PI, CosmicsPD_Skims::radius, refEdge_, multiplicitycorr_cfi::scaleFactor, and HGCScintillatorDetId::type().
Referenced by HGCHEbackDigitizer::runRealisticDigitizer().
void HGCalSciNoiseMap::setSipmMap | ( | const std::string & | fullpath | ) |
Definition at line 9 of file HGCalSciNoiseMap.cc.
References reco_skim_cfg_mod::fullpath, readSipmPars(), and sipmMap_.
Referenced by HGCHEbackDigitizer::HGCHEbackDigitizer().
|
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().