derives from HGCalRadiation map to parse fluence parameters, provides Si-specific functions; see DN-19-045 More...
#include <HGCalSiNoiseMap.h>
Classes | |
struct | SiCellOpCharacteristics |
struct | SiCellOpCharacteristicsCore |
Public Types | |
enum | GainRange_t { q80fC, q160fC, q320fC, AUTO } |
enum | NoiseMapAlgoBits_t { FLUENCE, CCE, NOISE, PULSEPERGAIN, CACHEDOP } |
Public Types inherited from HGCalRadiationMap | |
typedef std::map< std::pair< int, int >, DoseParameters > | doseParametersMap |
Public Member Functions | |
const hgc_digi::FEADCPulseShape & | adcPulseForGain (GainRange_t gain) |
std::vector< std::vector< double > > & | getCCEParam () |
std::array< double, 3 > & | getCellCapacitance () |
std::array< double, 3 > & | getCellVolume () |
double | getENCpad (double ileak) |
std::vector< std::vector< double > > & | getENCsParam () |
std::vector< double > & | getIleakParam () |
std::vector< double > & | getLSBPerGain () |
std::vector< double > & | getMaxADCPerGain () |
std::array< double, 3 > & | getMipEqfC () |
SiCellOpCharacteristics | getSiCellOpCharacteristics (const T &did, GainRange_t gain=GainRange_t::AUTO, int aimMIPtoADC=10) |
SiCellOpCharacteristics | getSiCellOpCharacteristics (double &cellCap, double &cellVol, double &mipEqfC, std::vector< double > &cceParam, int &subdet, int &layer, double &radius, GainRange_t &gain, int &aimMIPtoADC) |
const SiCellOpCharacteristicsCore | getSiCellOpCharacteristicsCore (const T &did) |
const SiCellOpCharacteristicsCore | getSiCellOpCharacteristicsCore (const T &did, GainRange_t gain, int aimMIPtoADC) |
returns the charge collection efficiency and noise if gain range is set to auto, it will find the most appropriate gain to put the mip peak close to 10 ADC counts More... | |
HGCalSiNoiseMap () | |
void | setCachedOp (bool flag) |
void | setCceParam (const std::vector< double > &parsFine, const std::vector< double > &parsThin, const std::vector< double > &parsThick) |
set the cce parameters to use More... | |
void | setDefaultADCPulseShape (const hgc_digi::FEADCPulseShape &adcPulse) |
void | setDoseMap (const std::string &, const unsigned int &) |
overrides base class method with specifics for the configuration of the algo More... | |
void | setENCCommonNoiseSubScale (double val) |
void | setGeometry (const CaloSubdetectorGeometry *, GainRange_t gain=GainRange_t::AUTO, int aimMIPtoADC=10) |
specialization of the base class method which sets the geometry so that it can instantiate an operation cache the first time it is called - intrinsically related to the valid detIds in the geometry the filling of the cache is ignored by configuration or if it has already been filled More... | |
void | setIleakParam (const std::vector< double > &pars) |
set the ileak parameters to use More... | |
~HGCalSiNoiseMap () | |
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 Attributes | |
bool | activateCachedOp_ |
std::vector< hgc_digi::FEADCPulseShape > | adcPulses_ |
std::vector< std::vector< double > > | cceParam_ |
std::array< double, 3 > | cellCapacitance_ |
std::array< double, 3 > | cellVolume_ |
std::vector< double > | chargeAtFullScaleADCPerGain_ |
hgc_digi::FEADCPulseShape | defaultADCPulse_ |
int | defaultAimMIPtoADC_ |
GainRange_t | defaultGain_ |
double | encCommonNoiseSub_ |
std::vector< std::vector< double > > | encsParam_ |
bool | ignoreCCE_ |
bool | ignoreFluence_ |
bool | ignoreGainDependentPulse_ |
bool | ignoreNoise_ |
std::vector< double > | ileakParam_ |
std::vector< double > | lsbPerGain_ |
std::array< double, 3 > | mipEqfC_ |
const double | qe2fc_ |
std::map< uint32_t, SiCellOpCharacteristicsCore > | siopCache_ |
const double | unitToMicro_ = 1.e6 |
const double | unitToMicroLog_ = log(unitToMicro_) |
derives from HGCalRadiation map to parse fluence parameters, provides Si-specific functions; see DN-19-045
Definition at line 18 of file HGCalSiNoiseMap.h.
enum HGCalSiNoiseMap::GainRange_t |
enum HGCalSiNoiseMap::NoiseMapAlgoBits_t |
HGCalSiNoiseMap< T >::HGCalSiNoiseMap | ( | ) |
|
inline |
Definition at line 37 of file HGCalSiNoiseMap.h.
|
inline |
|
inline |
Definition at line 92 of file HGCalSiNoiseMap.h.
|
inline |
Definition at line 90 of file HGCalSiNoiseMap.h.
|
inline |
Definition at line 91 of file HGCalSiNoiseMap.h.
double HGCalSiNoiseMap< T >::getENCpad | ( | double | ileak | ) |
|
inline |
Definition at line 94 of file HGCalSiNoiseMap.h.
|
inline |
Definition at line 93 of file HGCalSiNoiseMap.h.
|
inline |
|
inline |
|
inline |
Definition at line 89 of file HGCalSiNoiseMap.h.
SiCellOpCharacteristics HGCalSiNoiseMap< T >::getSiCellOpCharacteristics | ( | const T & | did, |
GainRange_t | gain = GainRange_t::AUTO , |
||
int | aimMIPtoADC = 10 |
||
) |
SiCellOpCharacteristics HGCalSiNoiseMap< T >::getSiCellOpCharacteristics | ( | double & | cellCap, |
double & | cellVol, | ||
double & | mipEqfC, | ||
std::vector< double > & | cceParam, | ||
int & | subdet, | ||
int & | layer, | ||
double & | radius, | ||
GainRange_t & | gain, | ||
int & | aimMIPtoADC | ||
) |
|
inline |
Definition at line 72 of file HGCalSiNoiseMap.h.
const SiCellOpCharacteristicsCore HGCalSiNoiseMap< T >::getSiCellOpCharacteristicsCore | ( | const T & | did, |
GainRange_t | gain, | ||
int | aimMIPtoADC | ||
) |
returns the charge collection efficiency and noise if gain range is set to auto, it will find the most appropriate gain to put the mip peak close to 10 ADC counts
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getSiCellOpCharacteristicsCore(), and HGCDigitizerBase::runSimple().
|
inline |
Definition at line 104 of file HGCalSiNoiseMap.h.
|
inline |
set the cce parameters to use
Definition at line 47 of file HGCalSiNoiseMap.h.
Referenced by HGCDigitizerBase::HGCDigitizerBase().
|
inline |
Definition at line 96 of file HGCalSiNoiseMap.h.
Referenced by HGCDigitizerBase::HGCDigitizerBase().
void HGCalSiNoiseMap< T >::setDoseMap | ( | const std::string & | , |
const unsigned int & | |||
) |
overrides base class method with specifics for the configuration of the algo
Referenced by HGCDigitizerBase::HGCDigitizerBase().
|
inline |
Definition at line 106 of file HGCalSiNoiseMap.h.
void HGCalSiNoiseMap< T >::setGeometry | ( | const CaloSubdetectorGeometry * | , |
GainRange_t | gain = GainRange_t::AUTO , |
||
int | aimMIPtoADC = 10 |
||
) |
specialization of the base class method which sets the geometry so that it can instantiate an operation cache the first time it is called - intrinsically related to the valid detIds in the geometry the filling of the cache is ignored by configuration or if it has already been filled
Referenced by HGCDigitizerBase::run().
|
inline |
set the ileak parameters to use
Definition at line 42 of file HGCalSiNoiseMap.h.
Referenced by HGCDigitizerBase::HGCDigitizerBase().
|
private |
Definition at line 141 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::setCachedOp().
|
private |
Definition at line 131 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::adcPulseForGain().
|
private |
Definition at line 117 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getCCEParam(), and HGCalSiNoiseMap< HGCSiliconDetId >::setCceParam().
|
private |
Definition at line 116 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getCellCapacitance().
|
private |
Definition at line 116 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getCellVolume().
|
private |
Definition at line 134 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getMaxADCPerGain().
|
private |
Definition at line 130 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::adcPulseForGain(), and HGCalSiNoiseMap< HGCSiliconDetId >::setDefaultADCPulseShape().
|
private |
Definition at line 110 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getSiCellOpCharacteristicsCore().
|
private |
Definition at line 109 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getSiCellOpCharacteristicsCore().
|
private |
Definition at line 123 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::setENCCommonNoiseSubScale().
|
private |
Definition at line 129 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getENCsParam().
|
private |
Definition at line 141 of file HGCalSiNoiseMap.h.
|
private |
Definition at line 141 of file HGCalSiNoiseMap.h.
|
private |
Definition at line 141 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::adcPulseForGain().
|
private |
Definition at line 141 of file HGCalSiNoiseMap.h.
|
private |
Definition at line 120 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getIleakParam(), and HGCalSiNoiseMap< HGCSiliconDetId >::setIleakParam().
|
private |
Definition at line 134 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getLSBPerGain().
|
private |
Definition at line 116 of file HGCalSiNoiseMap.h.
Referenced by HGCalSiNoiseMap< HGCSiliconDetId >::getMipEqfC().
|
private |
Definition at line 126 of file HGCalSiNoiseMap.h.
|
private |
Definition at line 113 of file HGCalSiNoiseMap.h.
|
private |
Definition at line 137 of file HGCalSiNoiseMap.h.
|
private |
Definition at line 138 of file HGCalSiNoiseMap.h.