#include <HGCHEbackDigitizer.h>
Public Member Functions | |
HGCHEbackDigitizer (const edm::ParameterSet &ps) | |
void | runDigitizer (std::unique_ptr< HGCBHDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, uint32_t digitizationType, CLHEP::HepRandomEngine *engine) override |
~HGCHEbackDigitizer () | |
Public Member Functions inherited from HGCDigitizerBase< HGCBHDataFrame > | |
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... | |
virtual void | runDigitizer (std::unique_ptr< DColl > &coll, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, uint32_t digitizerType, CLHEP::HepRandomEngine *engine) |
to be specialized by top class 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... | |
float | tdcOnset () const |
bool | toaModeByEnergy () const |
void | updateOutput (std::unique_ptr< DColl > &coll, const HGCBHDataFrame &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< HGCBHDigiCollection > &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< HGCBHDataFrame > | |
typedef edm::SortedCollection< HGCBHDataFrame > | DColl |
typedef HGCBHDataFrame | DigiType |
Protected Attributes inherited from HGCDigitizerBase< HGCBHDataFrame > | |
double | bxTime_ |
bool | doTimeSamples_ |
float | keV2fC_ |
edm::ParameterSet | myCfg_ |
std::unique_ptr< HGCFEElectronics< HGCBHDataFrame > > | myFEelectronics_ |
std::vector< float > | noise_fC_ |
Definition at line 7 of file HGCHEbackDigitizer.h.
HGCHEbackDigitizer::HGCHEbackDigitizer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 54 of file HGCHEbackDigitizer.cc.
References looper::cfg, edm::ParameterSet::getParameter(), HGCDigitizerBase< HGCBHDataFrame >::keV2fC_, keV2MIP_, noise_MIP_, nPEperMIP_, nTotalPE_, sdPixels_, and xTalk_.
HGCHEbackDigitizer::~HGCHEbackDigitizer | ( | ) |
Definition at line 137 of file HGCHEbackDigitizer.cc.
|
private |
Definition at line 75 of file HGCHEbackDigitizer.cc.
References constexpr, gather_cfg::cout, debug, f, myMath::fast_expf(), myMath::fast_logf(), objects.autophobj::float, hgc_digi::HGCCellInfo::hit_info, mps_fire::i, keV2MIP_, hpstanc_transforms::max, HGCDigitizerBase< HGCBHDataFrame >::myFEelectronics_, noise_MIP_, nPEperMIP_, nTotalPE_, sdPixels_, HGCDigitizerBase< HGCBHDataFrame >::updateOutput(), x, and xTalk_.
Referenced by runDigitizer().
|
override |
Definition at line 67 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().