derives from HGCalRadiation map to parse fluence parameters, provides Sci-specific functions More...
#include <HGCalSciNoiseMap.h>
Public Member Functions | |
HGCalSciNoiseMap () | |
std::pair< double, double > | scaleByDose (const HGCScintillatorDetId &, const double) |
double | scaleBySipmArea (const HGCScintillatorDetId &, const double) |
double | scaleByTileArea (const HGCScintillatorDetId &, const double) |
returns the signal scaling and the noise More... | |
void | setSipmMap (const std::string &) |
~HGCalSciNoiseMap () | |
Public Member Functions inherited from HGCalRadiationMap | |
const unsigned int & | algo () |
double | computeRadius (const HGCScintillatorDetId &) |
const HGCalDDDConstants * | ddd () |
const HGCalGeometry * | geom () |
const doseParametersMap & | getDoseMap () |
double | getDoseValue (const int, const int, const double, bool logVal=false) |
double | getFluenceValue (const int, const int, const double, bool logVal=false) |
HGCalRadiationMap () | |
void | setDoseMap (const std::string &, const unsigned int) |
void | setFluenceScaleFactor (double val) |
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.
|
private |
Definition at line 12 of file HGCalSciNoiseMap.cc.
References Exception, personalPlayback::fp, reco_skim_cfg_mod::fullpath, timingPdfMaker::infile, phase1PixelTopology::layer, mps_splice::line, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setSipmMap().
std::pair< double, double > HGCalSciNoiseMap::scaleByDose | ( | const HGCScintillatorDetId & | cellId, |
const double | 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(), phase1PixelTopology::layer, gpuVertexFinder::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(), phase1PixelTopology::layer, CosmicsPD_Skims::radius, and sipmMap_.
Referenced by HGCHEbackDigitizer::runRealisticDigitizer().
double HGCalSciNoiseMap::scaleByTileArea | ( | const HGCScintillatorDetId & | cellId, |
const double | 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 31 of file HGCalSciNoiseMap.h.
Referenced by scaleByTileArea().
|
private |
Definition at line 34 of file HGCalSciNoiseMap.h.
Referenced by scaleBySipmArea(), and setSipmMap().