CMS 3D CMS Logo

List of all members | Public Member Functions
HFNoseDigitizer Class Reference
Inheritance diagram for HFNoseDigitizer:
HGCDigitizerBase

Public Member Functions

 HFNoseDigitizer (const edm::ParameterSet &ps)
 
void runDigitizer (std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine) override
 
 ~HFNoseDigitizer () override
 
- Public Member Functions inherited from HGCDigitizerBase
DetId::Detector det () const
 
void GenerateGaussianNoise (CLHEP::HepRandomEngine *engine, const double NoiseMean, const double NoiseStd)
 Gaussian Noise Generation Member Function. More...
 
 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, CLHEP::HepRandomEngine *engine)=0
 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 More...
 
ForwardSubdetector subdet () const
 
std::array< float, 3 > tdcForToAOnset () const
 
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...
 

Additional Inherited Members

- Public Types inherited from HGCDigitizerBase
typedef edm::SortedCollection< DFrDColl
 
typedef HGCalDataFrame DFr
 
- Protected Attributes inherited from HGCDigitizerBase
double bxTime_
 
std::vector< double > cce_
 
DetId::Detector det_
 
std::string doseMapFile_
 
bool doTimeSamples_
 
std::array< std::array< double, samplesize_ >, NoiseArrayLength_GaussianNoiseArray_
 
float keV2fC_
 
edm::ParameterSet myCfg_
 
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
 
std::vector< float > noise_fC_
 
bool NoiseGeneration_Method_
 
const double NoiseMean_
 
const double NoiseStd_
 
bool RandNoiseGenerationFlag_
 
HGCalSiNoiseMap< HGCSiliconDetIdscal_
 
bool scaleByDose_
 
double scaleByDoseFactor_
 
HGCalSiNoiseMap< HFNoseDetIdscalHFNose_
 
ForwardSubdetector subdet_
 
bool thresholdFollowsMIP_
 
- Static Protected Attributes inherited from HGCDigitizerBase
static const size_t NoiseArrayLength_ = 200000
 
static const size_t samplesize_ = 15
 

Detailed Description

Definition at line 7 of file HFNoseDigitizer.cc.

Constructor & Destructor Documentation

◆ HFNoseDigitizer()

HFNoseDigitizer::HFNoseDigitizer ( const edm::ParameterSet ps)

Definition at line 20 of file HFNoseDigitizer.cc.

20  : HGCDigitizerBase(ps) {
21  this->det_ = DetId::Forward;
23 }

References HGCDigitizerBase::det_, DetId::Forward, HFNose, and HGCDigitizerBase::subdet_.

◆ ~HFNoseDigitizer()

HFNoseDigitizer::~HFNoseDigitizer ( )
override

Definition at line 33 of file HFNoseDigitizer.cc.

33 {}

Member Function Documentation

◆ runDigitizer()

void HFNoseDigitizer::runDigitizer ( std::unique_ptr< HGCalDigiCollection > &  digiColl,
hgc::HGCSimHitDataAccumulator simData,
const CaloSubdetectorGeometry theGeom,
const std::unordered_set< DetId > &  validIds,
CLHEP::HepRandomEngine *  engine 
)
override

Definition at line 26 of file HFNoseDigitizer.cc.

30  {}
HGCDigitizerBase::det_
DetId::Detector det_
Definition: HGCDigitizerBase.h:156
HFNose
Definition: ForwardSubdetector.h:11
HGCDigitizerBase::HGCDigitizerBase
HGCDigitizerBase(const edm::ParameterSet &ps)
CTOR.
Definition: HGCDigitizerBase.cc:9
HGCDigitizerBase::subdet_
ForwardSubdetector subdet_
Definition: HGCDigitizerBase.h:161
DetId::Forward
Definition: DetId.h:30