CMS 3D CMS Logo

List of all members | Public Member Functions
HGCHEfrontDigitizer Class Reference

#include <HGCHEfrontDigitizer.h>

Inheritance diagram for HGCHEfrontDigitizer:
HGCDigitizerBase< HGCHEDataFrame >

Public Member Functions

 HGCHEfrontDigitizer (const edm::ParameterSet &ps)
 
void runDigitizer (std::unique_ptr< HGCHEDigiCollection > &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...
 
 ~HGCHEfrontDigitizer () override
 
- Public Member Functions inherited from HGCDigitizerBase< HGCHEDataFrame >
 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 HGCHEDataFrame &rawDataFrame)
 prepares the output according to the number of time samples to produce More...
 
virtual ~HGCDigitizerBase ()
 DTOR. More...
 

Additional Inherited Members

- Public Types inherited from HGCDigitizerBase< HGCHEDataFrame >
typedef edm::SortedCollection< HGCHEDataFrameDColl
 
typedef HGCHEDataFrame DigiType
 
- Protected Attributes inherited from HGCDigitizerBase< HGCHEDataFrame >
double bxTime_
 
std::vector< double > cce_
 
bool doTimeSamples_
 
float keV2fC_
 
edm::ParameterSet myCfg_
 
std::unique_ptr< HGCFEElectronics< HGCHEDataFrame > > myFEelectronics_
 
std::vector< float > noise_fC_
 

Detailed Description

Definition at line 7 of file HGCHEfrontDigitizer.h.

Constructor & Destructor Documentation

HGCHEfrontDigitizer::HGCHEfrontDigitizer ( const edm::ParameterSet ps)

Definition at line 6 of file HGCHEfrontDigitizer.cc.

6  : HGCDigitizerBase(ps) {
7 }
HGCDigitizerBase(const edm::ParameterSet &ps)
CTOR.
HGCHEfrontDigitizer::~HGCHEfrontDigitizer ( )
override

Definition at line 16 of file HGCHEfrontDigitizer.cc.

16 { }

Member Function Documentation

void HGCHEfrontDigitizer::runDigitizer ( std::unique_ptr< HGCHEDigiCollection > &  coll,
hgc::HGCSimHitDataAccumulator simData,
const CaloSubdetectorGeometry theGeom,
const std::unordered_set< DetId > &  validIds,
uint32_t  digitizerType,
CLHEP::HepRandomEngine *  engine 
)
overridevirtual

to be specialized by top class

Reimplemented from HGCDigitizerBase< HGCHEDataFrame >.

Definition at line 10 of file HGCHEfrontDigitizer.cc.

12  {
13 }