#include <HGCDigitizerBase.h>
Public Types | |
typedef edm::SortedCollection < DFr > | DColl |
Public Member Functions | |
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 DFr &rawDataFrame) |
prepares the output according to the number of time samples to produce More... | |
~HGCDigitizerBase () | |
DTOR. More... | |
Protected Attributes | |
double | bxTime_ |
bool | doTimeSamples_ |
float | keV2fC_ |
edm::ParameterSet | myCfg_ |
std::unique_ptr < HGCFEElectronics< DFr > > | myFEelectronics_ |
float | noise_fC_ |
Definition at line 22 of file HGCDigitizerBase.h.
typedef edm::SortedCollection<DFr> HGCDigitizerBase< DFr >::DColl |
Definition at line 25 of file HGCDigitizerBase.h.
|
inline |
CTOR.
Definition at line 30 of file HGCDigitizerBase.h.
|
inline |
|
inline |
void HGCDigitizerBase< DFr >::run | ( | std::auto_ptr< DColl > & | digiColl, |
hgc::HGCSimHitDataAccumulator & | simData, | ||
uint32_t | digitizationType, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
steer digitization mode
Definition at line 6 of file HGCDigitizerBase.cc.
|
inlinevirtual |
to be specialized by top class
Definition at line 67 of file HGCDigitizerBase.h.
void HGCDigitizerBase< DFr >::runSimple | ( | std::auto_ptr< DColl > & | coll, |
hgc::HGCSimHitDataAccumulator & | simData, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
a trivial digitization: sum energies and digitize without noise
Definition at line 15 of file HGCDigitizerBase.cc.
References f, i, and bookConverter::max.
|
inline |
Definition at line 52 of file HGCDigitizerBase.h.
|
inline |
Definition at line 51 of file HGCDigitizerBase.h.
void HGCDigitizerBase< DFr >::updateOutput | ( | std::auto_ptr< DColl > & | coll, |
const DFr & | rawDataFrame | ||
) |
prepares the output according to the number of time samples to produce
Definition at line 54 of file HGCDigitizerBase.cc.
References data, alignBH_cfg::mode, HGCSample::set(), and dtDQMClient_cfg::threshold.
|
protected |
Definition at line 95 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::HGCDigitizerBase().
|
protected |
Definition at line 98 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::HGCDigitizerBase().
|
protected |
Definition at line 86 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::HGCDigitizerBase(), and HGCDigitizerBase< HGCEEDataFrame >::keV2fC().
|
protected |
Definition at line 76 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::HGCDigitizerBase().
|
protected |
Definition at line 92 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::HGCDigitizerBase(), HGCDigitizerBase< HGCEEDataFrame >::tdcOnset(), and HGCDigitizerBase< HGCEEDataFrame >::toaModeByEnergy().
|
protected |
Definition at line 89 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::HGCDigitizerBase().