#include <HGCHEbackDigitizer.h>
Public Member Functions | |
HGCHEbackDigitizer (const edm::ParameterSet &ps) | |
void | runDigitizer (std::auto_ptr< HGCHEDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, uint32_t digitizationType, CLHEP::HepRandomEngine *engine) |
~HGCHEbackDigitizer () | |
Public Member Functions inherited from HGCDigitizerBase< HGCHEDataFrame > | |
HGCDigitizerBase (const edm::ParameterSet &ps) | |
CTOR. More... | |
float | keV2fC () const |
getters More... | |
void | run (std::auto_ptr< DColl > &digiColl, hgc::HGCSimHitDataAccumulator &simData, uint32_t digitizationType, CLHEP::HepRandomEngine *engine) |
steer digitization mode More... | |
virtual void | runDigitizer (std::auto_ptr< DColl > &coll, hgc::HGCSimHitDataAccumulator &simData, uint32_t digitizerType, CLHEP::HepRandomEngine *engine) |
to be specialized by top class More... | |
void | runSimple (std::auto_ptr< DColl > &coll, hgc::HGCSimHitDataAccumulator &simData, CLHEP::HepRandomEngine *engine) |
a trivial digitization: sum energies and digitize without noise More... | |
float | tdcOnset () const |
bool | toaModeByEnergy () const |
void | updateOutput (std::auto_ptr< DColl > &coll, const HGCHEDataFrame &rawDataFrame) |
prepares the output according to the number of time samples to produce More... | |
~HGCDigitizerBase () | |
DTOR. More... | |
Private Member Functions | |
void | runCaliceLikeDigitizer (std::auto_ptr< HGCHEDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, 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< HGCHEDataFrame > | |
typedef edm::SortedCollection < HGCHEDataFrame > | DColl |
Protected Attributes inherited from HGCDigitizerBase< HGCHEDataFrame > | |
double | bxTime_ |
bool | doTimeSamples_ |
float | keV2fC_ |
edm::ParameterSet | myCfg_ |
std::unique_ptr < HGCFEElectronics < HGCHEDataFrame > > | myFEelectronics_ |
float | noise_fC_ |
Definition at line 7 of file HGCHEbackDigitizer.h.
HGCHEbackDigitizer::HGCHEbackDigitizer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 11 of file HGCHEbackDigitizer.cc.
References looper::cfg, edm::ParameterSet::getParameter(), HGCDigitizerBase< HGCHEDataFrame >::keV2fC_, keV2MIP_, noise_MIP_, nPEperMIP_, nTotalPE_, sdPixels_, and xTalk_.
HGCHEbackDigitizer::~HGCHEbackDigitizer | ( | ) |
Definition at line 83 of file HGCHEbackDigitizer.cc.
|
private |
Definition at line 30 of file HGCHEbackDigitizer.cc.
References constexpr, gather_cfg::cout, debug, f, myMath::fast_expf(), myMath::fast_logf(), i, keV2MIP_, bookConverter::max, HGCDigitizerBase< HGCHEDataFrame >::myFEelectronics_, noise_MIP_, nPEperMIP_, nTotalPE_, sdPixels_, HGCDigitizerBase< HGCHEDataFrame >::updateOutput(), x, and xTalk_.
Referenced by runDigitizer().
void HGCHEbackDigitizer::runDigitizer | ( | std::auto_ptr< HGCHEDigiCollection > & | digiColl, |
hgc::HGCSimHitDataAccumulator & | simData, | ||
uint32_t | digitizationType, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 24 of file HGCHEbackDigitizer.cc.
References runCaliceLikeDigitizer().
|
private |
Definition at line 18 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 18 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 19 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 19 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 19 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().
|
private |
Definition at line 19 of file HGCHEbackDigitizer.h.
Referenced by HGCHEbackDigitizer(), and runCaliceLikeDigitizer().