#include <HGCHEbackDigitizer.h>
Public Member Functions | |
HGCHEbackDigitizer (const edm::ParameterSet &ps) | |
void | runDigitizer (std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, uint32_t digitizationType, CLHEP::HepRandomEngine *engine) override |
to be specialized by top class More... | |
~HGCHEbackDigitizer () override | |
Public Member Functions inherited from HGCDigitizerBase< HGCalDataFrame > | |
HGCDigitizerBase (const edm::ParameterSet &ps) | |
CTOR. More... | |
float | keV2fC () const |
getters More... | |
void | run (std::unique_ptr< DColl > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, uint32_t digitizationType, CLHEP::HepRandomEngine *engine) |
steer digitization mode More... | |
void | runSimple (std::unique_ptr< DColl > &coll, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine) |
a trivial digitization: sum energies and digitize without noise More... | |
std::array< float, 3 > | tdcForToAOnset () const |
float | tdcOnset () const |
bool | toaModeByEnergy () const |
void | updateOutput (std::unique_ptr< DColl > &coll, const HGCalDataFrame &rawDataFrame) |
prepares the output according to the number of time samples to produce More... | |
virtual | ~HGCDigitizerBase () |
DTOR. More... | |
Private Member Functions | |
void | runCaliceLikeDigitizer (std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine) |
Private Attributes | |
float | keV2MIP_ |
float | noise_MIP_ |
float | nPEperMIP_ |
float | nTotalPE_ |
float | sdPixels_ |
float | xTalk_ |
Additional Inherited Members | |
Public Types inherited from HGCDigitizerBase< HGCalDataFrame > | |
typedef edm::SortedCollection< HGCalDataFrame > | DColl |
typedef HGCalDataFrame | DigiType |
Protected Attributes inherited from HGCDigitizerBase< HGCalDataFrame > | |
double | bxTime_ |
std::vector< double > | cce_ |
bool | doTimeSamples_ |
float | keV2fC_ |
edm::ParameterSet | myCfg_ |
std::unique_ptr< HGCFEElectronics< HGCalDataFrame > > | myFEelectronics_ |
std::vector< float > | noise_fC_ |
Definition at line 7 of file HGCHEbackDigitizer.h.
HGCHEbackDigitizer::HGCHEbackDigitizer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 15 of file HGCHEbackDigitizer.cc.
References looper::cfg, edm::ParameterSet::getParameter(), HGCDigitizerBase< HGCalDataFrame >::keV2fC_, keV2MIP_, noise_MIP_, nPEperMIP_, nTotalPE_, sdPixels_, and xTalk_.
|
override |
Definition at line 98 of file HGCHEbackDigitizer.cc.
|
private |
Definition at line 36 of file HGCHEbackDigitizer.cc.
References hgc_digi_utils::addCellMetadata(), constexpr, gather_cfg::cout, debug, f, myMath::fast_expf(), myMath::fast_logf(), objects.autophobj::float, hgc_digi::HGCCellInfo::hit_info, mps_fire::i, keV2MIP_, SiStripPI::max, HGCDigitizerBase< HGCalDataFrame >::myFEelectronics_, noise_MIP_, nPEperMIP_, nTotalPE_, sdPixels_, HGCDigitizerBase< HGCalDataFrame >::updateOutput(), x, and xTalk_.
Referenced by runDigitizer().
|
overridevirtual |
to be specialized by top class
Reimplemented from HGCDigitizerBase< HGCalDataFrame >.
Definition at line 28 of file HGCHEbackDigitizer.cc.
References runCaliceLikeDigitizer().
|
private |
Definition at line 20 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 20 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 21 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 21 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 21 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 21 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().