#include <HGCDigitizerBase.h>
Public Types | |
typedef edm::SortedCollection< DFr > | DColl |
typedef DFr | DigiType |
Public Member Functions | |
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 DFr &rawDataFrame) |
prepares the output according to the number of time samples to produce More... | |
virtual | ~HGCDigitizerBase () |
DTOR. More... | |
Protected Attributes | |
double | bxTime_ |
bool | doTimeSamples_ |
float | keV2fC_ |
edm::ParameterSet | myCfg_ |
std::unique_ptr< HGCFEElectronics< DFr > > | myFEelectronics_ |
std::vector< float > | noise_fC_ |
Definition at line 25 of file HGCDigitizerBase.h.
typedef edm::SortedCollection<DFr> HGCDigitizerBase< DFr >::DColl |
Definition at line 30 of file HGCDigitizerBase.h.
typedef DFr HGCDigitizerBase< DFr >::DigiType |
Definition at line 28 of file HGCDigitizerBase.h.
HGCDigitizerBase< DFr >::HGCDigitizerBase | ( | const edm::ParameterSet & | ps | ) |
CTOR.
Definition at line 49 of file HGCDigitizerBase.cc.
References hgcalDigitizer_cfi::feCfg, and edm::ParameterSet::getParameter().
|
inlinevirtual |
|
inline |
void HGCDigitizerBase< DFr >::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
Definition at line 72 of file HGCDigitizerBase.cc.
|
inlinevirtual |
to be specialized by top class
Reimplemented in HGCEEDigitizer, and HGCHEfrontDigitizer.
Definition at line 65 of file HGCDigitizerBase.h.
void HGCDigitizerBase< DFr >::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
Definition at line 83 of file HGCDigitizerBase.cc.
References f, hgc_digi::HGCCellInfo::hit_info, mps_fire::i, hpstanc_transforms::max, hgc_digi::HGCCellInfo::size, and hgc_digi::HGCCellInfo::thickness.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::tdcOnset().
|
inline |
Definition at line 48 of file HGCDigitizerBase.h.
|
inline |
Definition at line 47 of file HGCDigitizerBase.h.
void HGCDigitizerBase< DFr >::updateOutput | ( | std::unique_ptr< DColl > & | coll, |
const DFr & | rawDataFrame | ||
) |
prepares the output according to the number of time samples to produce
Definition at line 132 of file HGCDigitizerBase.cc.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::tdcOnset().
|
protected |
Definition at line 95 of file HGCDigitizerBase.h.
|
protected |
Definition at line 98 of file HGCDigitizerBase.h.
|
protected |
Definition at line 86 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::keV2fC().
|
protected |
Definition at line 76 of file HGCDigitizerBase.h.
|
protected |
Definition at line 92 of file HGCDigitizerBase.h.
Referenced by HGCDigitizerBase< HGCEEDataFrame >::tdcOnset(), and HGCDigitizerBase< HGCEEDataFrame >::toaModeByEnergy().
|
protected |
Definition at line 89 of file HGCDigitizerBase.h.