derives from HGCalRadiation map to parse fluence parameters, provides Si-specific functions; see DN-19-045 More...
#include <HGCalSiNoiseMap.h>
Classes | |
struct | SiCellOpCharacteristics |
Public Types | |
enum | GainRange_t { q80fC, q160fC, q320fC, AUTO } |
enum | NoiseMapAlgoBits_t { FLUENCE, CCE, NOISE } |
Public Types inherited from HGCalRadiationMap | |
typedef std::map< std::pair< int, int >, DoseParameters > | doseParametersMap |
Public Member Functions | |
std::vector< std::vector< double > > & | getCCEParam () |
std::array< double, 3 > & | getCellCapacitance () |
std::array< double, 3 > & | getCellVolume () |
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 HGCSiliconDetId &did, GainRange_t gain=GainRange_t::AUTO, int aimMIPtoADC=10) |
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 | setCceParam (const std::vector< double > &parsFine, const std::vector< double > &parsThin, const std::vector< double > &parsThick) |
set the cce parameters to use More... | |
void | setDoseMap (const std::string &, const unsigned int &) |
overrides base class method with specifics for the configuration of the algo 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 () |
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 Attributes | |
std::vector< std::vector< double > > | cceParam_ |
std::array< double, 3 > | cellCapacitance_ |
std::array< double, 3 > | cellVolume_ |
std::vector< double > | chargeAtFullScaleADCPerGain_ |
const double | encCommonNoiseSub_ |
const double | encpScale_ |
std::vector< std::vector< double > > | encsParam_ |
bool | ignoreCCE_ |
bool | ignoreFluence_ |
bool | ignoreNoise_ |
std::vector< double > | ileakParam_ |
std::vector< double > | lsbPerGain_ |
std::array< double, 3 > | mipEqfC_ |
const double | qe2fc_ |
const double | unitToMicro_ = 1.e6 |
derives from HGCalRadiation map to parse fluence parameters, provides Si-specific functions; see DN-19-045
Definition at line 14 of file HGCalSiNoiseMap.h.
Enumerator | |
---|---|
FLUENCE | |
CCE | |
NOISE |
Definition at line 17 of file HGCalSiNoiseMap.h.
HGCalSiNoiseMap::HGCalSiNoiseMap | ( | ) |
Definition at line 4 of file HGCalSiNoiseMap.cc.
References cellCapacitance_, cellVolume_, chargeAtFullScaleADCPerGain_, encsParam_, mps_fire::i, lsbPerGain_, mipEqfC_, and qe2fc_.
|
inline |
Definition at line 27 of file HGCalSiNoiseMap.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
HGCalSiNoiseMap::SiCellOpCharacteristics HGCalSiNoiseMap::getSiCellOpCharacteristics | ( | const HGCSiliconDetId & | did, |
GainRange_t | gain = GainRange_t::AUTO , |
||
int | aimMIPtoADC = 10 |
||
) |
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
Definition at line 59 of file HGCalSiNoiseMap.cc.
References HGCalSiNoiseMap::SiCellOpCharacteristics::cce, cceParam_, cellCapacitance_, HGCSiliconDetId::cellU(), HGCSiliconDetId::cellV(), cellVolume_, HGCalRadiationMap::ddd(), relativeConstraints::empty, encCommonNoiseSub_, encpScale_, encsParam_, Exception, JetChargeProducer_cfi::exp, HGCalSiNoiseMap::SiCellOpCharacteristics::fluence, HGCalSiNoiseMap::SiCellOpCharacteristics::gain, PedestalClient_cfi::gain, HGCalRadiationMap::getDoseMap(), HGCalRadiationMap::getFluenceValue(), ignoreCCE_, ignoreFluence_, ignoreNoise_, HGCalSiNoiseMap::SiCellOpCharacteristics::ileak, ileakParam_, HGCSiliconDetId::layer(), HGCalSiNoiseMap::SiCellOpCharacteristics::lnfluence, dqm-mbProfile::log, lsbPerGain_, SiStripPI::max, HGCalSiNoiseMap::SiCellOpCharacteristics::mipADC, mipEqfC_, HGCalSiNoiseMap::SiCellOpCharacteristics::mipfC, HGCalSiNoiseMap::SiCellOpCharacteristics::noise, funct::pow(), q160fC, q320fC, q80fC, qe2fc_, CosmicsPD_Skims::radius, S(), mathSSE::sqrt(), HGCSiliconDetId::subdet(), HGCalSiNoiseMap::SiCellOpCharacteristics::thrADC, HGCSiliconDetId::type(), unitToMicro_, HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), and geometryCSVtoXML::xy.
|
inline |
set the cce parameters to use
Definition at line 37 of file HGCalSiNoiseMap.h.
References cceParam_.
Referenced by HGCDigitizerBase< HGCalDataFrame >::HGCDigitizerBase().
void HGCalSiNoiseMap::setDoseMap | ( | const std::string & | fullpath, |
const unsigned int & | algo | ||
) |
overrides base class method with specifics for the configuration of the algo
Definition at line 48 of file HGCalSiNoiseMap.cc.
References HGCalRadiationMap::algo(), CCE, FLUENCE, reco_skim_cfg_mod::fullpath, ignoreCCE_, ignoreFluence_, ignoreNoise_, NOISE, HGCalRadiationMap::setDoseMap(), and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by HGCDigitizerBase< HGCalDataFrame >::HGCDigitizerBase().
|
inline |
set the ileak parameters to use
Definition at line 32 of file HGCalSiNoiseMap.h.
References ileakParam_.
Referenced by HGCDigitizerBase< HGCalDataFrame >::HGCDigitizerBase().
|
private |
Definition at line 70 of file HGCalSiNoiseMap.h.
Referenced by getCCEParam(), getSiCellOpCharacteristics(), and setCceParam().
|
private |
Definition at line 69 of file HGCalSiNoiseMap.h.
Referenced by getCellCapacitance(), getSiCellOpCharacteristics(), and HGCalSiNoiseMap().
|
private |
Definition at line 69 of file HGCalSiNoiseMap.h.
Referenced by getCellVolume(), getSiCellOpCharacteristics(), and HGCalSiNoiseMap().
|
private |
Definition at line 88 of file HGCalSiNoiseMap.h.
Referenced by getMaxADCPerGain(), and HGCalSiNoiseMap().
|
private |
Definition at line 79 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics().
|
private |
Definition at line 76 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics().
|
private |
Definition at line 85 of file HGCalSiNoiseMap.h.
Referenced by getENCsParam(), getSiCellOpCharacteristics(), and HGCalSiNoiseMap().
|
private |
Definition at line 94 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics(), and setDoseMap().
|
private |
Definition at line 94 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics(), and setDoseMap().
|
private |
Definition at line 94 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics(), and setDoseMap().
|
private |
Definition at line 73 of file HGCalSiNoiseMap.h.
Referenced by getIleakParam(), getSiCellOpCharacteristics(), and setIleakParam().
|
private |
Definition at line 88 of file HGCalSiNoiseMap.h.
Referenced by getLSBPerGain(), getSiCellOpCharacteristics(), and HGCalSiNoiseMap().
|
private |
Definition at line 69 of file HGCalSiNoiseMap.h.
Referenced by getMipEqfC(), getSiCellOpCharacteristics(), and HGCalSiNoiseMap().
|
private |
Definition at line 82 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics(), and HGCalSiNoiseMap().
|
private |
Definition at line 91 of file HGCalSiNoiseMap.h.
Referenced by getSiCellOpCharacteristics().