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 | |
---|---|
q80fC | |
q160fC | |
q320fC | |
AUTO |
Definition at line 16 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 |
Definition at line 61 of file HGCalSiNoiseMap.h.
References cceParam_.
|
inline |
Definition at line 59 of file HGCalSiNoiseMap.h.
References cellCapacitance_.
|
inline |
|
inline |
Definition at line 63 of file HGCalSiNoiseMap.h.
References encsParam_.
|
inline |
|
inline |
Definition at line 64 of file HGCalSiNoiseMap.h.
References lsbPerGain_.
Referenced by HGCDigitizerBase< DFr >::runSimple().
|
inline |
Definition at line 65 of file HGCalSiNoiseMap.h.
References chargeAtFullScaleADCPerGain_.
Referenced by HGCDigitizerBase< DFr >::runSimple().
|
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_, BeamHaloGenFilter_cfi::radii, CosmicsPD_Skims::radius, S(), mathSSE::sqrt(), HGCSiliconDetId::subdet(), HGCalSiNoiseMap::SiCellOpCharacteristics::thrADC, HGCSiliconDetId::type(), unitToMicro_, HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), and geometryCSVtoXML::xy.
Referenced by HGCDigitizerBase< DFr >::runSimple(), and setCceParam().
|
inline |
set the cce parameters to use
Definition at line 37 of file HGCalSiNoiseMap.h.
References cceParam_, HGCalSiNoiseMap::SiCellOpCharacteristics::gain, getSiCellOpCharacteristics(), setDoseMap(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HGCDigitizerBase< DFr >::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 CCE, FLUENCE, ignoreCCE_, ignoreFluence_, ignoreNoise_, NOISE, HGCalRadiationMap::setDoseMap(), and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by HGCDigitizerBase< DFr >::HGCDigitizerBase(), and setCceParam().
|
inline |
set the ileak parameters to use
Definition at line 32 of file HGCalSiNoiseMap.h.
References ileakParam_.
Referenced by HGCDigitizerBase< DFr >::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().