CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Static Protected Attributes
HGCDigitizerBase Class Referenceabstract

#include <HGCDigitizerBase.h>

Inheritance diagram for HGCDigitizerBase:
HFNoseDigitizer HGCEEDigitizer HGCHEbackDigitizer HGCHEfrontDigitizer

Public Types

typedef edm::SortedCollection
< DFr
DColl
 
typedef HGCalDataFrame DFr
 

Public Member Functions

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...
 

Protected Attributes

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

static const size_t NoiseArrayLength_ = 200000
 
static const size_t samplesize_ = 15
 

Detailed Description

Definition at line 54 of file HGCDigitizerBase.h.

Member Typedef Documentation

Definition at line 57 of file HGCDigitizerBase.h.

Definition at line 56 of file HGCDigitizerBase.h.

Constructor & Destructor Documentation

HGCDigitizerBase::HGCDigitizerBase ( const edm::ParameterSet ps)

CTOR.

Definition at line 9 of file HGCDigitizerBase.cc.

References bxTime_, cce_, doseMapFile_, doTimeSamples_, validate-o2o-wbm::f, edm::ParameterSet::getParameter(), keV2fC_, myCfg_, myFEelectronics_, noise_fC_, NoiseGeneration_Method_, RandNoiseGenerationFlag_, scal_, scaleByDose_, scaleByDoseFactor_, scalHFNose_, HGCalSiNoiseMap< T >::setCceParam(), HGCalSiNoiseMap< T >::setDefaultADCPulseShape(), HGCalSiNoiseMap< T >::setDoseMap(), HGCalRadiationMap::setFluenceScaleFactor(), HGCalSiNoiseMap< T >::setIleakParam(), and thresholdFollowsMIP_.

10  : scaleByDose_(false),
13  NoiseMean_(0.0),
14  NoiseStd_(1.0) {
15  bxTime_ = ps.getParameter<double>("bxTime");
16  myCfg_ = ps.getParameter<edm::ParameterSet>("digiCfg");
17  NoiseGeneration_Method_ = ps.getParameter<bool>("NoiseGeneration_Method");
18  doTimeSamples_ = myCfg_.getParameter<bool>("doTimeSamples");
19  thresholdFollowsMIP_ = myCfg_.getParameter<bool>("thresholdFollowsMIP");
20  if (myCfg_.exists("keV2fC"))
21  keV2fC_ = myCfg_.getParameter<double>("keV2fC");
22  else
23  keV2fC_ = 1.0;
24 
25  if (myCfg_.existsAs<edm::ParameterSet>("chargeCollectionEfficiencies")) {
26  cce_ = myCfg_.getParameter<edm::ParameterSet>("chargeCollectionEfficiencies")
27  .template getParameter<std::vector<double>>("values");
28  }
29 
30  if (myCfg_.existsAs<double>("noise_fC")) {
31  noise_fC_.reserve(1);
32  noise_fC_.push_back(myCfg_.getParameter<double>("noise_fC"));
33  } else if (myCfg_.existsAs<std::vector<double>>("noise_fC")) {
34  const auto& noises = myCfg_.getParameter<std::vector<double>>("noise_fC");
35  noise_fC_ = std::vector<float>(noises.begin(), noises.end());
36  } else if (myCfg_.existsAs<edm::ParameterSet>("noise_fC")) {
37  const auto& noises =
38  myCfg_.getParameter<edm::ParameterSet>("noise_fC").template getParameter<std::vector<double>>("values");
39  noise_fC_ = std::vector<float>(noises.begin(), noises.end());
40  scaleByDose_ = myCfg_.getParameter<edm::ParameterSet>("noise_fC").template getParameter<bool>("scaleByDose");
41  int scaleByDoseAlgo =
42  myCfg_.getParameter<edm::ParameterSet>("noise_fC").template getParameter<uint32_t>("scaleByDoseAlgo");
43  scaleByDoseFactor_ = myCfg_.getParameter<edm::ParameterSet>("noise_fC").getParameter<double>("scaleByDoseFactor");
44  doseMapFile_ = myCfg_.getParameter<edm::ParameterSet>("noise_fC").template getParameter<std::string>("doseMap");
45  scal_.setDoseMap(doseMapFile_, scaleByDoseAlgo);
47  scalHFNose_.setDoseMap(doseMapFile_, scaleByDoseAlgo);
49  } else {
50  noise_fC_.resize(1, 1.f);
51  }
52  if (myCfg_.existsAs<edm::ParameterSet>("ileakParam")) {
54  myCfg_.getParameter<edm::ParameterSet>("ileakParam").template getParameter<std::vector<double>>("ileakParam"));
56  myCfg_.getParameter<edm::ParameterSet>("ileakParam").template getParameter<std::vector<double>>("ileakParam"));
57  }
58  if (myCfg_.existsAs<edm::ParameterSet>("cceParams")) {
60  myCfg_.getParameter<edm::ParameterSet>("cceParams").template getParameter<std::vector<double>>("cceParamFine"),
61  myCfg_.getParameter<edm::ParameterSet>("cceParams").template getParameter<std::vector<double>>("cceParamThin"),
62  myCfg_.getParameter<edm::ParameterSet>("cceParams").template getParameter<std::vector<double>>("cceParamThick"));
64  myCfg_.getParameter<edm::ParameterSet>("cceParams").template getParameter<std::vector<double>>("cceParamFine"),
65  myCfg_.getParameter<edm::ParameterSet>("cceParams").template getParameter<std::vector<double>>("cceParamThin"),
66  myCfg_.getParameter<edm::ParameterSet>("cceParams").template getParameter<std::vector<double>>("cceParamThick"));
67  }
68 
69  edm::ParameterSet feCfg = myCfg_.getParameter<edm::ParameterSet>("feCfg");
70  myFEelectronics_ = std::make_unique<HGCFEElectronics<DFr>>(feCfg);
71  myFEelectronics_->SetNoiseValues(noise_fC_);
72 
73  //override the "default ADC pulse" with the one with which was configured the FE electronics class
74  scal_.setDefaultADCPulseShape(myFEelectronics_->getDefaultADCPulse());
75  scalHFNose_.setDefaultADCPulseShape(myFEelectronics_->getDefaultADCPulse());
76 
78 }
HGCalSiNoiseMap< HGCSiliconDetId > scal_
std::vector< double > cce_
void setDefaultADCPulseShape(const hgc_digi::FEADCPulseShape &adcPulse)
HGCalSiNoiseMap< HFNoseDetId > scalHFNose_
void setCceParam(const std::vector< double > &parsFine, const std::vector< double > &parsThin, const std::vector< double > &parsThick)
set the cce parameters to use
ForwardSubdetector subdet_
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
const double NoiseMean_
std::vector< float > noise_fC_
void setDoseMap(const std::string &, const unsigned int &)
overrides base class method with specifics for the configuration of the algo
std::string doseMapFile_
void setFluenceScaleFactor(double val)
edm::ParameterSet myCfg_
const double NoiseStd_
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
void setIleakParam(const std::vector< double > &pars)
set the ileak parameters to use
DetId::Detector det_
virtual HGCDigitizerBase::~HGCDigitizerBase ( )
inlinevirtual

DTOR.

Definition at line 112 of file HGCDigitizerBase.h.

112 {};

Member Function Documentation

DetId::Detector HGCDigitizerBase::det ( ) const
inline

Definition at line 84 of file HGCDigitizerBase.h.

References det_.

Referenced by HGCHEbackDigitizer::runRealisticDigitizer(), and runSimple().

84 { return det_; }
DetId::Detector det_
void HGCDigitizerBase::GenerateGaussianNoise ( CLHEP::HepRandomEngine *  engine,
const double  NoiseMean,
const double  NoiseStd 
)

Gaussian Noise Generation Member Function.

Definition at line 80 of file HGCDigitizerBase.cc.

References GaussianNoiseArray_, mps_fire::i, dqmiolumiharvest::j, NoiseArrayLength_, and samplesize_.

Referenced by run().

82  {
83  for (size_t i = 0; i < NoiseArrayLength_; i++) {
84  for (size_t j = 0; j < samplesize_; j++) {
85  GaussianNoiseArray_[i][j] = CLHEP::RandGaussQ::shoot(engine, NoiseMean, NoiseStd);
86  }
87  }
88 }
static const size_t NoiseArrayLength_
static const size_t samplesize_
std::array< std::array< double, samplesize_ >, NoiseArrayLength_ > GaussianNoiseArray_
float HGCDigitizerBase::keV2fC ( ) const
inline

getters

Definition at line 80 of file HGCDigitizerBase.h.

References keV2fC_.

80 { return keV2fC_; }
void HGCDigitizerBase::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 90 of file HGCDigitizerBase.cc.

References GenerateGaussianNoise(), myFEelectronics_, NoiseGeneration_Method_, NoiseMean_, NoiseStd_, RandNoiseGenerationFlag_, runDigitizer(), runSimple(), scal_, scaleByDose_, scalHFNose_, and HGCalSiNoiseMap< T >::setGeometry().

95  {
96  if (scaleByDose_) {
99  }
100  if (NoiseGeneration_Method_ == true) {
101  if (RandNoiseGenerationFlag_ == false) {
104  }
105  }
106  if (digitizationType == 0)
107  runSimple(digiColl, simData, theGeom, validIds, engine);
108  else
109  runDigitizer(digiColl, simData, theGeom, validIds, engine);
110 }
HGCalSiNoiseMap< HGCSiliconDetId > scal_
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
HGCalSiNoiseMap< HFNoseDetId > scalHFNose_
void GenerateGaussianNoise(CLHEP::HepRandomEngine *engine, const double NoiseMean, const double NoiseStd)
Gaussian Noise Generation Member Function.
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
const double NoiseMean_
derives from HGCalRadiation map to parse fluence parameters, provides Si-specific functions; see DN-1...
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
const double NoiseStd_
void setGeometry(const CaloSubdetectorGeometry *, GainRange_t gain=GainRange_t::AUTO, int aimMIPtoADC=10)
specialization of the base class method which sets the geometry so that it can instantiate an operati...
virtual void HGCDigitizerBase::runDigitizer ( std::unique_ptr< DColl > &  coll,
hgc::HGCSimHitDataAccumulator simData,
const CaloSubdetectorGeometry theGeom,
const std::unordered_set< DetId > &  validIds,
CLHEP::HepRandomEngine *  engine 
)
pure virtual

to be specialized by top class

Referenced by run().

void HGCDigitizerBase::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

Definition at line 112 of file HGCDigitizerBase.cc.

References HGCalSiNoiseMap< T >::adcPulseForGain(), hgc_digi_utils::addCellMetadata(), cce_, det(), validate-o2o-wbm::f, DetId::Forward, GaussianNoiseArray_, HGCalSiNoiseMap< T >::getLSBPerGain(), HGCalSiNoiseMap< T >::getMaxADCPerGain(), HGCalSiNoiseMap< T >::getSiCellOpCharacteristicsCore(), HGCalSiNoiseMap< T >::getTDCOnsetAuto(), HFNose, hgc_digi::HGCCellInfo::hit_info, mps_fire::i, gpuClustering::id, if(), myFEelectronics_, gpuVertexFinder::noise, noise_fC_, NoiseArrayLength_, NoiseGeneration_Method_, samplesize_, scal_, scaleByDose_, scalHFNose_, hgc_digi::HGCCellInfo::size, hgc_digi::HGCCellInfo::thickness, TrackerMaterial_cfi::thickness, thresholdFollowsMIP_, and updateOutput().

Referenced by run().

116  {
117  HGCSimHitData chargeColl, toa;
118 
119  // this represents a cell with no signal charge
120  HGCCellInfo zeroData;
121  zeroData.hit_info[0].fill(0.f); //accumulated energy
122  zeroData.hit_info[1].fill(0.f); //time-of-flight
123 
124  std::array<double, samplesize_> cellNoiseArray;
125  for (size_t i = 0; i < samplesize_; i++)
126  cellNoiseArray[i] = 0.0;
127 
128  for (const auto& id : validIds) {
129  chargeColl.fill(0.f);
130  toa.fill(0.f);
131  HGCSimHitDataAccumulator::iterator it = simData.find(id);
132  HGCCellInfo& cell = (simData.end() == it ? zeroData : it->second);
133  addCellMetadata(cell, theGeom, id);
134  if (NoiseGeneration_Method_ == true) {
135  size_t hash_index = (CLHEP::RandFlat::shootInt(engine, (NoiseArrayLength_ - 1)) + id) % NoiseArrayLength_;
136 
137  cellNoiseArray = GaussianNoiseArray_[hash_index];
138  }
139 
140  //set the noise,cce, LSB, threshold, and ADC pulse shape to be used
141  float cce(1.f), noiseWidth(0.f), lsbADC(-1.f), maxADC(-1.f);
142  // half the target mip value is the specification for ZS threshold
143  uint32_t thrADC(std::floor(myFEelectronics_->getTargetMipValue() / 2));
144  uint32_t gainIdx = 0;
145  std::array<float, 6>& adcPulse = myFEelectronics_->getDefaultADCPulse();
146 
147  double tdcOnsetAuto = -1;
148  if (scaleByDose_) {
149  if (id.det() == DetId::Forward && id.subdetId() == ForwardSubdetector::HFNose) {
151  cce = siop.cce;
152  noiseWidth = siop.noise;
154  lsbADC = scalHFNose_.getLSBPerGain()[gain];
155  maxADC = scalHFNose_.getMaxADCPerGain()[gain];
156  adcPulse = scalHFNose_.adcPulseForGain(gain);
157  gainIdx = siop.gain;
158  tdcOnsetAuto = scal_.getTDCOnsetAuto(gainIdx);
160  thrADC = siop.thrADC;
161  } else {
163  cce = siop.cce;
164  noiseWidth = siop.noise;
166  lsbADC = scal_.getLSBPerGain()[gain];
167  maxADC = scal_.getMaxADCPerGain()[gain];
168  adcPulse = scal_.adcPulseForGain(gain);
169  gainIdx = siop.gain;
170  tdcOnsetAuto = scal_.getTDCOnsetAuto(gainIdx);
172  thrADC = siop.thrADC;
173  }
174  } else if (noise_fC_[cell.thickness - 1] != 0) {
175  //this is kept for legacy compatibility with the TDR simulation
176  //probably should simply be removed in a future iteration
177  //note that in this legacy case, gainIdx is kept at 0, fixed
178  cce = (cce_.empty() ? 1.f : cce_[cell.thickness - 1]);
179  noiseWidth = cell.size * noise_fC_[cell.thickness - 1];
180  thrADC =
182  ? std::floor(cell.thickness * cce * myFEelectronics_->getADCThreshold() / myFEelectronics_->getADClsb())
183  : std::floor(cell.thickness * myFEelectronics_->getADCThreshold() / myFEelectronics_->getADClsb());
184  }
185 
186  //loop over time samples and add noise
187  for (size_t i = 0; i < cell.hit_info[0].size(); i++) {
188  double rawCharge(cell.hit_info[0][i]);
189 
190  //time of arrival
191  toa[i] = cell.hit_info[1][i];
192  if (myFEelectronics_->toaMode() == HGCFEElectronics<DFr>::WEIGHTEDBYE && rawCharge > 0)
193  toa[i] = cell.hit_info[1][i] / rawCharge;
194 
195  //final charge estimation
196  float noise;
197  if (NoiseGeneration_Method_ == true)
198  noise = (float)cellNoiseArray[i] * noiseWidth;
199  else
200  noise = CLHEP::RandGaussQ::shoot(engine, cellNoiseArray[i], noiseWidth);
201  float totalCharge(rawCharge * cce + noise);
202  if (totalCharge < 0.f)
203  totalCharge = 0.f;
204  chargeColl[i] = totalCharge;
205  }
206 
207  //run the shaper to create a new data frame
208  DFr rawDataFrame(id);
209  int thickness = cell.thickness > 0 ? cell.thickness : 1;
210  myFEelectronics_->runShaper(
211  rawDataFrame, chargeColl, toa, adcPulse, engine, thrADC, lsbADC, gainIdx, maxADC, thickness, tdcOnsetAuto);
212 
213  //update the output according to the final shape
214  updateOutput(coll, rawDataFrame);
215  }
216 }
HGCalSiNoiseMap< HGCSiliconDetId > scal_
std::vector< double > cce_
uint16_t *__restrict__ id
HGCalSiNoiseMap< HFNoseDetId > scalHFNose_
static const size_t NoiseArrayLength_
void updateOutput(std::unique_ptr< DColl > &coll, const DFr &rawDataFrame)
prepares the output according to the number of time samples to produce
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
std::array< HGCSimData_t, nSamples > HGCSimHitData
derives from HGCalRadiation map to parse fluence parameters, provides Si-specific functions; see DN-1...
const hgc_digi::FEADCPulseShape & adcPulseForGain(GainRange_t gain)
std::vector< float > noise_fC_
std::array< HGCSimHitData, 2 > hit_info
if(conf_.getParameter< bool >("UseStripCablingDB"))
HGCalDataFrame DFr
double getTDCOnsetAuto(uint32_t gainIdx)
void addCellMetadata(HGCCellInfo &info, const HGCalGeometry *geom, const DetId &detid)
static const size_t samplesize_
__shared__ int noise
DetId::Detector det() const
std::array< std::array< double, samplesize_ >, NoiseArrayLength_ > GaussianNoiseArray_
std::vector< double > & getLSBPerGain()
const SiCellOpCharacteristicsCore getSiCellOpCharacteristicsCore(const T &did, GainRange_t gain, int aimMIPtoADC)
returns the charge collection efficiency and noise if gain range is set to auto, it will find the mos...
std::vector< double > & getMaxADCPerGain()
models the behavior of the front-end electronics
ForwardSubdetector HGCDigitizerBase::subdet ( ) const
inline

Definition at line 85 of file HGCDigitizerBase.h.

References subdet_.

85 { return subdet_; }
ForwardSubdetector subdet_
std::array<float, 3> HGCDigitizerBase::tdcForToAOnset ( ) const
inline

Definition at line 83 of file HGCDigitizerBase.h.

References myFEelectronics_.

83 { return myFEelectronics_->getTDCForToAOnset(); }
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
float HGCDigitizerBase::tdcOnset ( ) const
inline

Definition at line 82 of file HGCDigitizerBase.h.

References myFEelectronics_.

82 { return myFEelectronics_->getTDCOnset(); }
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
bool HGCDigitizerBase::toaModeByEnergy ( ) const
inline

Definition at line 81 of file HGCDigitizerBase.h.

References myFEelectronics_.

81 { return (myFEelectronics_->toaMode() == HGCFEElectronics<DFr>::WEIGHTEDBYE); }
std::unique_ptr< HGCFEElectronics< DFr > > myFEelectronics_
models the behavior of the front-end electronics
void HGCDigitizerBase::updateOutput ( std::unique_ptr< DColl > &  coll,
const DFr rawDataFrame 
)

prepares the output according to the number of time samples to produce

Definition at line 218 of file HGCDigitizerBase.cc.

References HGCDataFrame< D, S >::id(), HGCDataFrame< D, S >::resize(), HGCDataFrame< D, S >::size(), and dtDQMClient_cfg::threshold.

Referenced by HGCHEbackDigitizer::runCaliceLikeDigitizer(), HGCHEbackDigitizer::runEmptyDigitizer(), HGCHEbackDigitizer::runRealisticDigitizer(), and runSimple().

218  {
219  // 9th is the sample of hte intime amplitudes
220  int itIdx(9);
221  if (rawDataFrame.size() <= itIdx + 2)
222  return;
223 
224  DFr dataFrame(rawDataFrame.id());
225  dataFrame.resize(5);
226 
227  // if in time amplitude is above threshold
228  // , then don't push back the dataframe
229  if ((!rawDataFrame[itIdx].threshold())) {
230  return;
231  }
232 
233  for (int it = 0; it < 5; it++) {
234  dataFrame.setSample(it, rawDataFrame[itIdx - 2 + it]);
235  }
236 
237  coll->push_back(dataFrame);
238 }
void resize(size_t s)
allow to set size
Definition: HGCDataFrame.h:41
HGCalDataFrame DFr

Member Data Documentation

double HGCDigitizerBase::bxTime_
protected

Definition at line 144 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase().

std::vector<double> HGCDigitizerBase::cce_
protected

Definition at line 125 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), and runSimple().

DetId::Detector HGCDigitizerBase::det_
protected
std::string HGCDigitizerBase::doseMapFile_
protected

Definition at line 134 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase().

bool HGCDigitizerBase::doTimeSamples_
protected

Definition at line 147 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase().

std::array<std::array<double, samplesize_>, NoiseArrayLength_> HGCDigitizerBase::GaussianNoiseArray_
protected

Definition at line 168 of file HGCDigitizerBase.h.

Referenced by GenerateGaussianNoise(), and runSimple().

float HGCDigitizerBase::keV2fC_
protected
edm::ParameterSet HGCDigitizerBase::myCfg_
protected

Definition at line 112 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase().

std::unique_ptr<HGCFEElectronics<DFr> > HGCDigitizerBase::myFEelectronics_
protected
std::vector<float> HGCDigitizerBase::noise_fC_
protected

Definition at line 122 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), and runSimple().

const size_t HGCDigitizerBase::NoiseArrayLength_ = 200000
staticprotected

Definition at line 166 of file HGCDigitizerBase.h.

Referenced by GenerateGaussianNoise(), and runSimple().

bool HGCDigitizerBase::NoiseGeneration_Method_
protected

Definition at line 171 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), run(), and runSimple().

const double HGCDigitizerBase::NoiseMean_
protected

Definition at line 165 of file HGCDigitizerBase.h.

Referenced by run().

const double HGCDigitizerBase::NoiseStd_
protected

Definition at line 165 of file HGCDigitizerBase.h.

Referenced by run().

bool HGCDigitizerBase::RandNoiseGenerationFlag_
protected

Definition at line 169 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), and run().

const size_t HGCDigitizerBase::samplesize_ = 15
staticprotected

Definition at line 167 of file HGCDigitizerBase.h.

Referenced by GenerateGaussianNoise(), and runSimple().

HGCalSiNoiseMap<HGCSiliconDetId> HGCDigitizerBase::scal_
protected

Definition at line 137 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), run(), and runSimple().

bool HGCDigitizerBase::scaleByDose_
protected

Definition at line 128 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), run(), and runSimple().

double HGCDigitizerBase::scaleByDoseFactor_
protected

Definition at line 131 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), and HGCHEbackDigitizer::HGCHEbackDigitizer().

HGCalSiNoiseMap<HFNoseDetId> HGCDigitizerBase::scalHFNose_
protected

Definition at line 138 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), run(), and runSimple().

ForwardSubdetector HGCDigitizerBase::subdet_
protected

Definition at line 161 of file HGCDigitizerBase.h.

Referenced by HFNoseDigitizer::HFNoseDigitizer(), and subdet().

bool HGCDigitizerBase::thresholdFollowsMIP_
protected

Definition at line 150 of file HGCDigitizerBase.h.

Referenced by HGCDigitizerBase(), and runSimple().