CMS 3D CMS Logo

SiPixelDigitizerAlgorithm.h
Go to the documentation of this file.
1 #ifndef SiPixelDigitizerAlgorithm_h
2 #define SiPixelDigitizerAlgorithm_h
3 
4 #include <map>
5 #include <memory>
6 #include <vector>
7 #include <iostream>
22 #include "boost/multi_array.hpp"
23 
24 typedef boost::multi_array<float, 2> array_2d;
25 
26 // forward declarations
27 
28 // For the random numbers
29 namespace CLHEP {
30  class HepRandomEngine;
31 }
32 
33 namespace edm {
34  class EventSetup;
35  class ParameterSet;
36 } // namespace edm
37 
38 class DetId;
40 class PixelDigi;
41 class PixelDigiSimLink;
42 class PixelGeomDetUnit;
47 class SiPixelQuality;
49 class TrackerGeometry;
50 class TrackerTopology;
53 
55 public:
58 
59  // initialization that cannot be done in the constructor
60  void init(const edm::EventSetup& es);
61 
62  void initializeEvent() { _signal.clear(); }
63 
64  //run the algorithm to digitize a single det
65  void accumulateSimHits(const std::vector<PSimHit>::const_iterator inputBegin,
66  const std::vector<PSimHit>::const_iterator inputEnd,
67  const size_t inputBeginGlobalIndex,
68  const unsigned int tofBin,
69  const PixelGeomDetUnit* pixdet,
70  const GlobalVector& bfield,
71  const TrackerTopology* tTopo,
72  CLHEP::HepRandomEngine*);
73  void digitize(const PixelGeomDetUnit* pixdet,
74  std::vector<PixelDigi>& digis,
75  std::vector<PixelDigiSimLink>& simlinks,
76  const TrackerTopology* tTopo,
77  CLHEP::HepRandomEngine*);
79  void init_DynIneffDB(const edm::EventSetup&, const unsigned int&);
80  std::unique_ptr<PixelFEDChannelCollection> chooseScenario(PileupMixingContent* puInfo, CLHEP::HepRandomEngine*);
81 
82  // for premixing
83  void calculateInstlumiFactor(const std::vector<PileupSummaryInfo>& ps,
84  int bunchSpacing); // TODO: try to remove the duplication of logic...
85  void setSimAccumulator(const std::map<uint32_t, std::map<int, int> >& signalMap);
86  std::unique_ptr<PixelFEDChannelCollection> chooseScenario(const std::vector<PileupSummaryInfo>& ps,
87  CLHEP::HepRandomEngine* engine);
88 
89  bool killBadFEDChannels() const;
90  typedef std::unordered_map<std::string, PixelFEDChannelCollection> PixelFEDChannelCollectionMap;
92 
93 private:
94  //Accessing Lorentz angle from DB:
96 
97  //Accessing Dead pixel modules from DB:
100 
101  //Accessing Map and Geom:
104 
105  // Get Dynamic Inefficiency scale factors from DB
107 
108  // For BadFEDChannel simulation
111  // Define internal classes
112 
113  // definition class
114  //
115  class Amplitude {
116  public:
117  Amplitude() : _amp(0.0) {}
118  Amplitude(float amp, float frac) : _amp(amp), _frac(1, frac) {
119  //in case of digi from noisypixels
120  //the MC information are removed
121  if (_frac[0] < -0.5) {
122  _frac.pop_back();
123  }
124  }
125 
126  Amplitude(float amp, const PSimHit* hitp, size_t hitIndex, unsigned int tofBin, float frac)
127  : _amp(amp), _frac(1, frac) {
128  //in case of digi from noisypixels
129  //the MC information are removed
130  if (_frac[0] < -0.5) {
131  _frac.pop_back();
132  } else {
133  _hitInfos.emplace_back(hitp, hitIndex, tofBin);
134  }
135  }
136 
137  // can be used as a float by convers.
138  operator float() const { return _amp; }
139  float ampl() const { return _amp; }
140  const std::vector<float>& individualampl() const { return _frac; }
141  const std::vector<SimHitInfoForLinks>& hitInfos() const { return _hitInfos; }
142 
143  void operator+=(const Amplitude& other) {
144  _amp += other._amp;
145  //in case of contribution of noise to the digi
146  //the MC information are removed
147  if (other._frac[0] > -0.5) {
148  if (!other._hitInfos.empty()) {
149  _hitInfos.insert(_hitInfos.end(), other._hitInfos.begin(), other._hitInfos.end());
150  }
151  _frac.insert(_frac.end(), other._frac.begin(), other._frac.end());
152  }
153  }
154  void operator+=(const float& amp) { _amp += amp; }
155 
156  void set(const float amplitude) { // Used to reset the amplitude
157  _amp = amplitude;
158  }
159  /* void setind (const float indamplitude) { // Used to reset the amplitude */
160  /* _frac = idamplitude; */
161  /* } */
162  private:
163  float _amp;
164  std::vector<float> _frac;
165  std::vector<SimHitInfoForLinks> _hitInfos;
166  }; // end class Amplitude
167 
168  // Define a class to hold the calibration parameters per pixel
169  // Internal
171  public:
172  float p0;
173  float p1;
174  float p2;
175  float p3;
176  };
177  //
178  // Define a class for 3D ionization points and energy
179  //
184  public:
185  EnergyDepositUnit() : _energy(0), _position(0, 0, 0) {}
186  EnergyDepositUnit(float energy, float x, float y, float z) : _energy(energy), _position(x, y, z) {}
188  float x() const { return _position.x(); }
189  float y() const { return _position.y(); }
190  float z() const { return _position.z(); }
191  float energy() const { return _energy; }
192 
193  private:
194  float _energy;
196  };
197 
198  //
199  // define class to store signals on the collection surface
200  //
205  class SignalPoint {
206  public:
207  SignalPoint() : _pos(0, 0), _time(0), _amplitude(0), _sigma_x(1.), _sigma_y(1.), _hitp(nullptr) {}
208 
209  SignalPoint(float x, float y, float sigma_x, float sigma_y, float t, float a = 1.0)
210  : _pos(x, y), _time(t), _amplitude(a), _sigma_x(sigma_x), _sigma_y(sigma_y), _hitp(nullptr) {}
211 
212  SignalPoint(float x, float y, float sigma_x, float sigma_y, float t, const PSimHit& hit, float a = 1.0)
214 
215  const LocalPoint& position() const { return _pos; }
216  float x() const { return _pos.x(); }
217  float y() const { return _pos.y(); }
218  float sigma_x() const { return _sigma_x; }
219  float sigma_y() const { return _sigma_y; }
220  float time() const { return _time; }
221  float amplitude() const { return _amplitude; }
222  const PSimHit& hit() { return *_hitp; }
224  _amplitude = amp;
225  return *this;
226  }
227 
228  private:
230  float _time;
231  float _amplitude;
232  float _sigma_x; // gaussian sigma in the x direction (cm)
233  float _sigma_y; // " " y direction (cm) */
234  const PSimHit* _hitp;
235  };
236 
237  //
238  // PixelEfficiencies struct
239  //
247  int NumberOfEndcapDisks);
248  bool FromConfig; // If true read from Config, otherwise use Database
249 
251  std::vector<double> pu_scale; // in config: 0-3 BPix, 4-5 FPix (inner, outer)
252  std::vector<std::vector<double> > thePUEfficiency; // Instlumi dependent efficiency
253 
254  // Read factors from Configuration
255  double thePixelEfficiency[20]; // Single pixel effciency
256  double thePixelColEfficiency[20]; // Column effciency
257  double thePixelChipEfficiency[20]; // ROC efficiency
258  std::vector<double> theLadderEfficiency_BPix[20]; // Ladder efficiency
259  std::vector<double> theModuleEfficiency_BPix[20]; // Module efficiency
260  double theInnerEfficiency_FPix[20]; // Fpix inner module efficiency
261  double theOuterEfficiency_FPix[20]; // Fpix outer module efficiency
262  unsigned int FPixIndex; // The Efficiency index for FPix Disks
263 
264  // Read factors from DB and fill containers
265  std::map<uint32_t, double> PixelGeomFactors;
266  std::map<uint32_t, std::vector<double> > PixelGeomFactorsROCStdPixels;
267  std::map<uint32_t, std::vector<double> > PixelGeomFactorsROCBigPixels;
268  std::map<uint32_t, double> ColGeomFactors;
269  std::map<uint32_t, double> ChipGeomFactors;
270  std::map<uint32_t, size_t> iPU;
271 
272  // constants for ROC level simulation for Phase1
274  static const int rocIdMaskBits = 0x1F;
276  bool matches(const DetId&, const DetId&, const std::vector<uint32_t>&);
277  std::unique_ptr<PixelFEDChannelCollection> PixelFEDChannelCollection_;
278  };
279 
280  //
281  // PixelAging struct
282  //
286  struct PixelAging {
288  float thePixelPseudoRadDamage[20]; // PseudoRadiation Damage Values for aging studies
289  unsigned int FPixIndex; // The Efficiency index for FPix Disks
290  };
291 
292 private:
293  // Internal typedefs
294  typedef std::map<int, Amplitude, std::less<int> > signal_map_type; // from Digi.Skel.
295  typedef signal_map_type::iterator signal_map_iterator; // from Digi.Skel.
296  typedef signal_map_type::const_iterator signal_map_const_iterator; // from Digi.Skel.
297  typedef std::map<uint32_t, signal_map_type> signalMaps;
299  typedef std::vector<edm::ParameterSet> Parameters;
300  typedef boost::multi_array<float, 2> array_2d;
301 
302  // Contains the accumulated hit info.
304 
305  const bool makeDigiSimLinks_;
306 
307  const bool use_ineff_from_db_;
308  const bool use_module_killing_; // remove or not the dead pixel modules
309  const bool use_deadmodule_DB_; // if we want to get dead pixel modules from the DataBase.
310  const bool use_LorentzAngle_DB_; // if we want to get Lorentz angle from the DataBase.
311 
313 
314  // Variables and objects for the charge reweighting using 2D templates
316  std::vector<bool> xdouble;
317  std::vector<bool> ydouble;
318  std::vector<float> track;
319  int IDnum, IDden;
320 
321  std::vector<SiPixelTemplateStore2D> templateStores_;
322 
325 
326 private:
327  // Variables
328  //external parameters
329  // go from Geant energy GeV to number of electrons
330  const float GeVperElectron; // 3.7E-09
331 
332  //-- drift
333  const float Sigma0; //=0.0007 // Charge diffusion in microns for 300 micron Si
334  const float Dist300; //=0.0300 // Define 300microns for normalization
335  const bool alpha2Order; // Switch on/off of E.B effect
336 
337  //-- induce_signal
338  const float ClusterWidth; // Gaussian charge cutoff width in sigma units
339  //-- Allow for upgrades
340  const int NumberOfBarrelLayers; // Default = 3
341  const int NumberOfEndcapDisks; // Default = 2
342 
343  //-- make_digis
344  const float theElectronPerADC; // Gain, number of electrons per adc count.
345  const int theAdcFullScale; // Saturation count, 255=8bit.
346  const float theNoiseInElectrons; // Noise (RMS) in units of electrons.
347  const float theReadoutNoise; // Noise of the readount chain in elec,
348  //inludes DCOL-Amp,TBM-Amp, Alt, AOH,OptRec.
349 
350  const float theThresholdInE_FPix; // Pixel threshold in electrons FPix.
351  const float theThresholdInE_BPix; // Pixel threshold in electrons BPix.
352  const float theThresholdInE_BPix_L1; // In case the BPix layer1 gets a different threshold
353  const float theThresholdInE_BPix_L2; // In case the BPix layer2 gets a different threshold
354 
359 
360  const float electronsPerVCAL; // for electrons - VCAL conversion
361  const float electronsPerVCAL_Offset; // in misscalibrate()
362  const float electronsPerVCAL_L1; // same for Layer 1
363  const float electronsPerVCAL_L1_Offset; // same for Layer 1
364 
365  const float theTofLowerCut; // Cut on the particle TOF
366  const float theTofUpperCut; // Cut on the particle TOF
367  const float tanLorentzAnglePerTesla_FPix; //FPix Lorentz angle tangent per Tesla
368  const float tanLorentzAnglePerTesla_BPix; //BPix Lorentz angle tangent per Tesla
369 
370  const float FPix_p0;
371  const float FPix_p1;
372  const float FPix_p2;
373  const float FPix_p3;
374  const float BPix_p0;
375  const float BPix_p1;
376  const float BPix_p2;
377  const float BPix_p3;
378 
379  //-- add_noise
380  const bool addNoise;
382  const bool addNoisyPixels;
383  const bool fluctuateCharge;
384 
385  //-- pixel efficiency
386  const bool AddPixelInefficiency; // bool to read in inefficiencies
387  const bool KillBadFEDChannels;
389 
390  //-- calibration smearing
391  const bool doMissCalibrate; // Switch on the calibration smearing
392  const float theGainSmearing; // The sigma of the gain fluctuation (around 1)
393  const float theOffsetSmearing; // The sigma of the offset fluct. (around 0)
394 
395  // pixel aging
396  const bool AddPixelAging;
397  const bool UseReweighting;
398  const bool PrintClusters;
399  const bool PrintTemplates;
400 
401  // The PDTable
402  //HepPDTable *particleTable;
403  //ParticleDataTable *particleTable;
404 
405  //-- charge fluctuation
406  const double tMax; // The delta production cut, should be as in OSCAR = 30keV
407  // cmsim = 100keV
408 
409  // The eloss fluctuation class from G4. Is the right place?
410  const std::unique_ptr<SiG4UniversalFluctuation> fluctuate; // make a pointer
411  const std::unique_ptr<GaussianTailNoiseGenerator> theNoiser;
412 
413  // To store calibration constants
414  const std::map<int, CalParameters, std::less<int> > calmap;
415 
416  //-- additional member functions
417  // Private methods
418  std::map<int, CalParameters, std::less<int> > initCal() const;
419  void primary_ionization(const PSimHit& hit,
420  std::vector<EnergyDepositUnit>& ionization_points,
421  CLHEP::HepRandomEngine*) const;
422  void drift(const PSimHit& hit,
423  const PixelGeomDetUnit* pixdet,
424  const GlobalVector& bfield,
425  const TrackerTopology* tTopo,
426  const std::vector<EnergyDepositUnit>& ionization_points,
427  std::vector<SignalPoint>& collection_points) const;
428  void induce_signal(std::vector<PSimHit>::const_iterator inputBegin,
429  std::vector<PSimHit>::const_iterator inputEnd,
430  const PSimHit& hit,
431  const size_t hitIndex,
432  const unsigned int tofBin,
433  const PixelGeomDetUnit* pixdet,
434  const std::vector<SignalPoint>& collection_points);
435  void fluctuateEloss(int particleId,
436  float momentum,
437  float eloss,
438  float length,
439  int NumberOfSegments,
440  float elossVector[],
441  CLHEP::HepRandomEngine*) const;
442  void add_noise(const PixelGeomDetUnit* pixdet, float thePixelThreshold, CLHEP::HepRandomEngine*);
443  void make_digis(float thePixelThresholdInE,
444  uint32_t detID,
445  const PixelGeomDetUnit* pixdet,
446  std::vector<PixelDigi>& digis,
447  std::vector<PixelDigiSimLink>& simlinks,
448  const TrackerTopology* tTopo) const;
449  void pixel_inefficiency(const PixelEfficiencies& eff,
450  const PixelGeomDetUnit* pixdet,
451  const TrackerTopology* tTopo,
452  CLHEP::HepRandomEngine*);
453 
454  void pixel_inefficiency_db(uint32_t detID);
455 
456  float pixel_aging(const PixelAging& aging, const PixelGeomDetUnit* pixdet, const TrackerTopology* tTopo) const;
457 
458  // access to the gain calibration payloads in the db. Only gets initialized if check_dead_pixels_ is set to true.
459  const std::unique_ptr<SiPixelGainCalibrationOfflineSimService> theSiPixelGainCalibrationService_;
460  float missCalibrate(
461  uint32_t detID, const TrackerTopology* tTopo, const PixelGeomDetUnit* pixdet, int col, int row, float amp) const;
462  LocalVector DriftDirection(const PixelGeomDetUnit* pixdet, const GlobalVector& bfield, const DetId& detId) const;
463 
464  void module_killing_conf(
465  uint32_t detID); // remove dead modules using the list in the configuration file PixelDigi_cfi.py
466  void module_killing_DB(uint32_t detID); // remove dead modules uisng the list in the DB
467 
468  // methods for charge reweighting in irradiated sensors
469  int PixelTempRewgt2D(int id_gen, int id_rewgt, array_2d& cluster);
470  bool hitSignalReweight(const PSimHit& hit,
471  std::map<int, float, std::less<int> >& hit_signal,
472  const size_t hitIndex,
473  const unsigned int tofBin,
474  const PixelTopology* topol,
475  uint32_t detID,
476  signal_map_type& theSignal,
477  unsigned short int processType);
478  void printCluster(array_2d& cluster);
479  void printCluster(float arr[BXM2][BYM2]);
480  void printCluster(float arr[TXSIZE][TYSIZE]);
481 
484 
485  double calcQ(float x) const {
486  // need erf(x/sqrt2)
487  //float x2=0.5*x*x;
488  //float a=0.147;
489  //double erf=sqrt(1.0f-exp( -1.0f*x2*( (4/M_PI)+a*x2)/(1.0+a*x2)));
490  //if (x<0.) erf*=-1.0;
491  //return 0.5*(1.0-erf);
492 
493  auto xx = std::min(0.5f * x * x, 12.5f);
494  return 0.5 * (1.0 - std::copysign(std::sqrt(1.f - unsafe_expf<4>(-xx * (1.f + 0.2733f / (1.f + 0.147f * xx)))), x));
495  }
496 };
497 
498 #endif
Vector3DBase
Definition: Vector3DBase.h:8
GloballyPositioned
Definition: GloballyPositioned.h:18
SiPixelDigitizerAlgorithm::electronsPerVCAL_L1
const float electronsPerVCAL_L1
Definition: SiPixelDigitizerAlgorithm.h:362
SiPixelDigitizerAlgorithm::ydouble
std::vector< bool > ydouble
Definition: SiPixelDigitizerAlgorithm.h:317
SiPixelDigitizerAlgorithm::Amplitude::set
void set(const float amplitude)
Definition: SiPixelDigitizerAlgorithm.h:156
SiPixelDigitizerAlgorithm::addChargeVCALSmearing
const bool addChargeVCALSmearing
Definition: SiPixelDigitizerAlgorithm.h:381
SiPixelDigitizerAlgorithm::Parameters
std::vector< edm::ParameterSet > Parameters
Definition: SiPixelDigitizerAlgorithm.h:299
SiPixelDigitizerAlgorithm::SignalPoint::_hitp
const PSimHit * _hitp
Definition: SiPixelDigitizerAlgorithm.h:234
PileupSummaryInfo.h
SiPixelDigitizerAlgorithm::theGainSmearing
const float theGainSmearing
Definition: SiPixelDigitizerAlgorithm.h:392
SiPixelDigitizerAlgorithm::SignalPoint::hit
const PSimHit & hit()
Definition: SiPixelDigitizerAlgorithm.h:222
array_2d
boost::multi_array< float, 2 > array_2d
Definition: SiPixelDigitizerAlgorithm.h:24
SiPixelDigitizerAlgorithm::Amplitude::_amp
float _amp
Definition: SiPixelDigitizerAlgorithm.h:163
SiPixelDigitizerAlgorithm::PixelFEDChannelCollectionMap
std::unordered_map< std::string, PixelFEDChannelCollection > PixelFEDChannelCollectionMap
Definition: SiPixelDigitizerAlgorithm.h:90
CustomPhysics_cfi.amplitude
amplitude
Definition: CustomPhysics_cfi.py:12
SiPixel2DTemplateDBObject
Definition: SiPixel2DTemplateDBObject.h:16
SiPixelDigitizerAlgorithm::Frame
GloballyPositioned< double > Frame
Definition: SiPixelDigitizerAlgorithm.h:298
SiPixelDigitizerAlgorithm::Amplitude
Definition: SiPixelDigitizerAlgorithm.h:115
SiPixelDigitizerAlgorithm::missCalibrate
float missCalibrate(uint32_t detID, const TrackerTopology *tTopo, const PixelGeomDetUnit *pixdet, int col, int row, float amp) const
Definition: SiPixelDigitizerAlgorithm.cc:2038
SiPixel2DTemplateDBObject.h
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
SiPixelDigitizerAlgorithm::EnergyDepositUnit::x
float x() const
Definition: SiPixelDigitizerAlgorithm.h:188
SiPixelDigitizerAlgorithm::array_2d
boost::multi_array< float, 2 > array_2d
Definition: SiPixelDigitizerAlgorithm.h:300
SiPixelDigitizerAlgorithm::EnergyDepositUnit
Definition: SiPixelDigitizerAlgorithm.h:183
SiPixelDigitizerAlgorithm::theOffsetSmearing
const float theOffsetSmearing
Definition: SiPixelDigitizerAlgorithm.h:393
SiPixelDigitizerAlgorithm::AddPixelInefficiency
const bool AddPixelInefficiency
Definition: SiPixelDigitizerAlgorithm.h:386
PixelTopology.h
SiPixelDigitizerAlgorithm::signal_map_iterator
signal_map_type::iterator signal_map_iterator
Definition: SiPixelDigitizerAlgorithm.h:295
SiPixelDigitizerAlgorithm::SignalPoint::x
float x() const
Definition: SiPixelDigitizerAlgorithm.h:216
SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix
double theOuterEfficiency_FPix[20]
Definition: SiPixelDigitizerAlgorithm.h:261
ESHandle.h
SiPixelDigitizerAlgorithm::PixelTempRewgt2D
int PixelTempRewgt2D(int id_gen, int id_rewgt, array_2d &cluster)
Definition: SiPixelDigitizerAlgorithm.cc:2553
SiPixelDigitizerAlgorithm::killBadFEDChannels
bool killBadFEDChannels() const
Definition: SiPixelDigitizerAlgorithm.cc:896
SiPixelDigitizerAlgorithm::pixelAging_
const PixelAging pixelAging_
Definition: SiPixelDigitizerAlgorithm.h:483
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
SiPixelDigitizerAlgorithm
Definition: SiPixelDigitizerAlgorithm.h:54
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
SiPixelDigitizerAlgorithm::signalMaps
std::map< uint32_t, signal_map_type > signalMaps
Definition: SiPixelDigitizerAlgorithm.h:297
min
T min(T a, T b)
Definition: MathUtil.h:58
SiPixelDigitizerAlgorithm::PixelEfficiencies::shiftEnumerator
shiftEnumerator
Definition: SiPixelDigitizerAlgorithm.h:273
SiPixelDigitizerAlgorithm::KillBadFEDChannels
const bool KillBadFEDChannels
Definition: SiPixelDigitizerAlgorithm.h:387
edm
HLT enums.
Definition: AlignableModifier.h:19
SiPixelDigitizerAlgorithm::printCluster
void printCluster(array_2d &cluster)
Definition: SiPixelDigitizerAlgorithm.cc:2776
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelDigitizerAlgorithm::theThresholdInE_BPix_L1
const float theThresholdInE_BPix_L1
Definition: SiPixelDigitizerAlgorithm.h:352
cropTnPTrees.frac
frac
Definition: cropTnPTrees.py:18
SiPixelDigitizerAlgorithm::SignalPoint::_amplitude
float _amplitude
Definition: SiPixelDigitizerAlgorithm.h:231
SiPixelDigitizerAlgorithm::theSiPixelGainCalibrationService_
const std::unique_ptr< SiPixelGainCalibrationOfflineSimService > theSiPixelGainCalibrationService_
Definition: SiPixelDigitizerAlgorithm.h:459
SiPixelDigitizerAlgorithm::use_module_killing_
const bool use_module_killing_
Definition: SiPixelDigitizerAlgorithm.h:308
cuy.col
col
Definition: cuy.py:1010
GaussianTailNoiseGenerator
Definition: GaussianTailNoiseGenerator.h:24
SiPixelFEDChannelContainer
Definition: SiPixelFEDChannelContainer.h:12
SiPixelDigitizerAlgorithm::EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit(float energy, Local3DPoint position)
Definition: SiPixelDigitizerAlgorithm.h:187
SiPixelDigitizerAlgorithm::theNoiser
const std::unique_ptr< GaussianTailNoiseGenerator > theNoiser
Definition: SiPixelDigitizerAlgorithm.h:411
PixelFEDChannel.h
SiPixelDigitizerAlgorithm::pixel_inefficiency
void pixel_inefficiency(const PixelEfficiencies &eff, const PixelGeomDetUnit *pixdet, const TrackerTopology *tTopo, CLHEP::HepRandomEngine *)
Definition: SiPixelDigitizerAlgorithm.cc:1759
SiPixelDigitizerAlgorithm::Amplitude::_frac
std::vector< float > _frac
Definition: SiPixelDigitizerAlgorithm.h:164
SiPixelDigitizerAlgorithm::track
std::vector< float > track
Definition: SiPixelDigitizerAlgorithm.h:318
SiPixelDigitizerAlgorithm::IDden
int IDden
Definition: SiPixelDigitizerAlgorithm.h:319
PixelDigi
Definition: PixelDigi.h:14
SiPixelDigitizerAlgorithm::SignalPoint::sigma_x
float sigma_x() const
Definition: SiPixelDigitizerAlgorithm.h:218
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies
PixelEfficiencies(const edm::ParameterSet &conf, bool AddPixelInefficiency, int NumberOfBarrelLayers, int NumberOfEndcapDisks)
Definition: SiPixelDigitizerAlgorithm.cc:454
SiPixelDigitizerAlgorithm::pixelEfficiencies_
PixelEfficiencies pixelEfficiencies_
Definition: SiPixelDigitizerAlgorithm.h:482
SiPixelDigitizerAlgorithm::IDnum
int IDnum
Definition: SiPixelDigitizerAlgorithm.h:319
SiPixelDigitizerAlgorithm::fluctuateEloss
void fluctuateEloss(int particleId, float momentum, float eloss, float length, int NumberOfSegments, float elossVector[], CLHEP::HepRandomEngine *) const
Definition: SiPixelDigitizerAlgorithm.cc:1165
SiPixelDigitizerAlgorithm::PixelEfficiencies::rocIdMaskBits
static const int rocIdMaskBits
Definition: SiPixelDigitizerAlgorithm.h:274
SiPixelDigitizerAlgorithm::SiPixelLorentzAngle_
edm::ESHandle< SiPixelLorentzAngle > SiPixelLorentzAngle_
Definition: SiPixelDigitizerAlgorithm.h:95
SiPixelDigitizerAlgorithm::theThresholdSmearing_FPix
const double theThresholdSmearing_FPix
Definition: SiPixelDigitizerAlgorithm.h:355
SiPixelDigitizerAlgorithm::Amplitude::Amplitude
Amplitude(float amp, float frac)
Definition: SiPixelDigitizerAlgorithm.h:118
DDAxes::x
SiPixelDigitizerAlgorithm::dbobject_num
const SiPixel2DTemplateDBObject * dbobject_num
Definition: SiPixelDigitizerAlgorithm.h:324
SiPixelDigitizerAlgorithm::SignalPoint::SignalPoint
SignalPoint()
Definition: SiPixelDigitizerAlgorithm.h:207
SiPixelDigitizerAlgorithm::pixel_inefficiency_db
void pixel_inefficiency_db(uint32_t detID)
Definition: SiPixelDigitizerAlgorithm.cc:2199
SiPixelDigitizerAlgorithm::PixelAging::thePixelPseudoRadDamage
float thePixelPseudoRadDamage[20]
Definition: SiPixelDigitizerAlgorithm.h:288
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_
std::unique_ptr< PixelFEDChannelCollection > PixelFEDChannelCollection_
Definition: SiPixelDigitizerAlgorithm.h:277
SiPixelDigitizerAlgorithm::theTofLowerCut
const float theTofLowerCut
Definition: SiPixelDigitizerAlgorithm.h:365
SiPixelDigitizerAlgorithm::initCal
std::map< int, CalParameters, std::less< int > > initCal() const
Definition: SiPixelDigitizerAlgorithm.cc:359
SiPixelDigitizerAlgorithm::doMissCalibrate
const bool doMissCalibrate
Definition: SiPixelDigitizerAlgorithm.h:391
SiPixelDigitizerAlgorithm::FPix_p3
const float FPix_p3
Definition: SiPixelDigitizerAlgorithm.h:373
SiPixelDigitizerAlgorithm::addNoise
const bool addNoise
Definition: SiPixelDigitizerAlgorithm.h:380
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency
std::vector< std::vector< double > > thePUEfficiency
Definition: SiPixelDigitizerAlgorithm.h:252
TXSIZE
#define TXSIZE
Definition: SiPixelTemplateDefs.h:30
SiPixelDigitizerAlgorithm::PixelEfficiencies
Definition: SiPixelDigitizerAlgorithm.h:243
SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU
std::map< uint32_t, size_t > iPU
Definition: SiPixelDigitizerAlgorithm.h:270
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
SiPixelTemplate2D
Definition: SiPixelTemplate2D.h:132
SiPixelDynamicInefficiency
Definition: SiPixelDynamicInefficiency.h:11
SiPixelDigitizerAlgorithm::Amplitude::hitInfos
const std::vector< SimHitInfoForLinks > & hitInfos() const
Definition: SiPixelDigitizerAlgorithm.h:141
SiPixelDigitizerAlgorithm::use_ineff_from_db_
const bool use_ineff_from_db_
Definition: SiPixelDigitizerAlgorithm.h:307
DetId
Definition: DetId.h:17
SiPixelDigitizerAlgorithm::theThresholdInE_BPix_L2
const float theThresholdInE_BPix_L2
Definition: SiPixelDigitizerAlgorithm.h:353
SiPixelDigitizerAlgorithm::init
void init(const edm::EventSetup &es)
Definition: SiPixelDigitizerAlgorithm.cc:115
SiPixelDigitizerAlgorithm::accumulateSimHits
void accumulateSimHits(const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const size_t inputBeginGlobalIndex, const unsigned int tofBin, const PixelGeomDetUnit *pixdet, const GlobalVector &bfield, const TrackerTopology *tTopo, CLHEP::HepRandomEngine *)
Definition: SiPixelDigitizerAlgorithm.cc:780
SiPixelDigitizerAlgorithm::BPix_p0
const float BPix_p0
Definition: SiPixelDigitizerAlgorithm.h:374
PSimHit.h
SiPixelDigitizerAlgorithm::FPix_p0
const float FPix_p0
Definition: SiPixelDigitizerAlgorithm.h:370
SiPixelDigitizerAlgorithm::calmap
const std::map< int, CalParameters, std::less< int > > calmap
Definition: SiPixelDigitizerAlgorithm.h:414
SiPixelDigitizerAlgorithm::EnergyDepositUnit::y
float y() const
Definition: SiPixelDigitizerAlgorithm.h:189
BYM2
#define BYM2
Definition: SiPixelTemplateDefs.h:28
SiPixelDigitizerAlgorithm::PrintClusters
const bool PrintClusters
Definition: SiPixelDigitizerAlgorithm.h:398
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCBigPixels
Definition: SiPixelDigitizerAlgorithm.h:267
SiPixelDigitizerAlgorithm::NumberOfBarrelLayers
const int NumberOfBarrelLayers
Definition: SiPixelDigitizerAlgorithm.h:340
SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex
unsigned int FPixIndex
Definition: SiPixelDigitizerAlgorithm.h:262
SiPixelDigitizerAlgorithm::SiPixelBadModule_
edm::ESHandle< SiPixelQuality > SiPixelBadModule_
Definition: SiPixelDigitizerAlgorithm.h:99
BXM2
#define BXM2
Definition: SiPixelTemplateDefs.h:36
SiPixelDigitizerAlgorithm::tMax
const double tMax
Definition: SiPixelDigitizerAlgorithm.h:406
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency
double thePixelChipEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:257
SiPixelDigitizerAlgorithm::Sigma0
const float Sigma0
Definition: SiPixelDigitizerAlgorithm.h:333
GloballyPositioned.h
SiPixelLorentzAngle
Definition: SiPixelLorentzAngle.h:11
edm::ESHandle< SiPixelLorentzAngle >
SiPixelDigitizerAlgorithm::PixelEfficiencies::BPixRocIdShift
Definition: SiPixelDigitizerAlgorithm.h:273
SiPixelDigitizerAlgorithm::quality_map
const PixelFEDChannelCollectionMap * quality_map
Definition: SiPixelDigitizerAlgorithm.h:91
SiPixelDigitizerAlgorithm::module_killing_conf
void module_killing_conf(uint32_t detID)
Definition: SiPixelDigitizerAlgorithm.cc:2219
SiPixelDigitizerAlgorithm::Dist300
const float Dist300
Definition: SiPixelDigitizerAlgorithm.h:334
trackingPlots.other
other
Definition: trackingPlots.py:1465
SiPixelGainCalibrationOfflineSimService
Definition: SiPixelGainCalibrationOfflineSimService.h:22
SiPixelDigitizerAlgorithm::chooseScenario
std::unique_ptr< PixelFEDChannelCollection > chooseScenario(PileupMixingContent *puInfo, CLHEP::HepRandomEngine *)
Definition: SiPixelDigitizerAlgorithm.cc:945
SiPixelDigitizerAlgorithm::siPixelQualityLabel
std::string siPixelQualityLabel
Definition: SiPixelDigitizerAlgorithm.h:98
SiPixelDigitizerAlgorithm::SignalPoint::sigma_y
float sigma_y() const
Definition: SiPixelDigitizerAlgorithm.h:219
Point3DBase< float, LocalTag >
OrderedSet.t
t
Definition: OrderedSet.py:90
PixelTopology
Definition: PixelTopology.h:10
SiPixelDigitizerAlgorithm::theNoiseInElectrons
const float theNoiseInElectrons
Definition: SiPixelDigitizerAlgorithm.h:346
SiPixelDigitizerAlgorithm::PixelFEDChannelCollectionMapHandle
edm::ESHandle< PixelFEDChannelCollectionMap > PixelFEDChannelCollectionMapHandle
Definition: SiPixelDigitizerAlgorithm.h:110
SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix
std::vector< double > theModuleEfficiency_BPix[20]
Definition: SiPixelDigitizerAlgorithm.h:259
SiPixelDigitizerAlgorithm::SignalPoint::SignalPoint
SignalPoint(float x, float y, float sigma_x, float sigma_y, float t, float a=1.0)
Definition: SiPixelDigitizerAlgorithm.h:209
SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor
double theInstLumiScaleFactor
Definition: SiPixelDigitizerAlgorithm.h:250
CLHEP
Definition: CocoaGlobals.h:27
SiPixelDigitizerAlgorithm::geom_
edm::ESHandle< TrackerGeometry > geom_
Definition: SiPixelDigitizerAlgorithm.h:103
SiPixelDigitizerAlgorithm::addThresholdSmearing
const bool addThresholdSmearing
Definition: SiPixelDigitizerAlgorithm.h:388
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelDigitizerAlgorithm::signal_map_const_iterator
signal_map_type::const_iterator signal_map_const_iterator
Definition: SiPixelDigitizerAlgorithm.h:296
SiPixelDigitizerAlgorithm::module_killing_DB
void module_killing_DB(uint32_t detID)
Definition: SiPixelDigitizerAlgorithm.cc:2259
SiPixelTemplate2D.h
SiPixelDigitizerAlgorithm::SignalPoint::_pos
LocalPoint _pos
Definition: SiPixelDigitizerAlgorithm.h:229
SiPixelDigitizerAlgorithm::templ2D
SiPixelTemplate2D templ2D
Definition: SiPixelDigitizerAlgorithm.h:315
SiPixelDigitizerAlgorithm::PrintTemplates
const bool PrintTemplates
Definition: SiPixelDigitizerAlgorithm.h:399
SiPixelDigitizerAlgorithm::Amplitude::Amplitude
Amplitude(float amp, const PSimHit *hitp, size_t hitIndex, unsigned int tofBin, float frac)
Definition: SiPixelDigitizerAlgorithm.h:126
SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale
std::vector< double > pu_scale
Definition: SiPixelDigitizerAlgorithm.h:251
edm::ParameterSet
Definition: ParameterSet.h:36
SiPixelQuality
Definition: SiPixelQuality.h:27
a
double a
Definition: hdecay.h:119
SiPixelDigitizerAlgorithm::dbobject_den
const SiPixel2DTemplateDBObject * dbobject_den
Definition: SiPixelDigitizerAlgorithm.h:323
SiPixelDigitizerAlgorithm::calculateInstlumiFactor
void calculateInstlumiFactor(PileupMixingContent *puInfo)
Definition: SiPixelDigitizerAlgorithm.cc:833
SiPixelDigitizerAlgorithm::SignalPoint::SignalPoint
SignalPoint(float x, float y, float sigma_x, float sigma_y, float t, const PSimHit &hit, float a=1.0)
Definition: SiPixelDigitizerAlgorithm.h:212
SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix
double theInnerEfficiency_FPix[20]
Definition: SiPixelDigitizerAlgorithm.h:260
SiPixelDigitizerAlgorithm::BPix_p2
const float BPix_p2
Definition: SiPixelDigitizerAlgorithm.h:376
SiPixelDigitizerAlgorithm::PixelAging
Definition: SiPixelDigitizerAlgorithm.h:286
SiPixelDigitizerAlgorithm::map_
edm::ESHandle< SiPixelFedCablingMap > map_
Definition: SiPixelDigitizerAlgorithm.h:102
ParameterSet
Definition: Functions.h:16
SiPixelDigitizerAlgorithm::EnergyDepositUnit::_energy
float _energy
Definition: SiPixelDigitizerAlgorithm.h:194
SiPixelDigitizerAlgorithm::theThresholdSmearing_BPix_L1
const double theThresholdSmearing_BPix_L1
Definition: SiPixelDigitizerAlgorithm.h:357
SiPixelDigitizerAlgorithm::alpha2Order
const bool alpha2Order
Definition: SiPixelDigitizerAlgorithm.h:335
SiPixelDigitizerAlgorithm::~SiPixelDigitizerAlgorithm
~SiPixelDigitizerAlgorithm()
Definition: SiPixelDigitizerAlgorithm.cc:449
SiPixelDigitizerAlgorithm::SignalPoint::time
float time() const
Definition: SiPixelDigitizerAlgorithm.h:220
SiPixelDigitizerAlgorithm::makeDigiSimLinks_
const bool makeDigiSimLinks_
Definition: SiPixelDigitizerAlgorithm.h:305
SiPixelDigitizerAlgorithm::Amplitude::operator+=
void operator+=(const float &amp)
Definition: SiPixelDigitizerAlgorithm.h:154
SiPixelDigitizerAlgorithm::theThresholdSmearing_BPix_L2
const double theThresholdSmearing_BPix_L2
Definition: SiPixelDigitizerAlgorithm.h:358
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
SiPixelDigitizerAlgorithm::theThresholdInE_BPix
const float theThresholdInE_BPix
Definition: SiPixelDigitizerAlgorithm.h:351
TYSIZE
#define TYSIZE
Definition: SiPixelTemplateDefs.h:21
SiPixelDigitizerAlgorithm::Amplitude::_hitInfos
std::vector< SimHitInfoForLinks > _hitInfos
Definition: SiPixelDigitizerAlgorithm.h:165
SiPixelDigitizerAlgorithm::PixelAging::PixelAging
PixelAging(const edm::ParameterSet &conf, bool AddPixelAging, int NumberOfBarrelLayers, int NumberOfEndcapDisks)
Definition: SiPixelDigitizerAlgorithm.cc:732
SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig
bool FromConfig
Definition: SiPixelDigitizerAlgorithm.h:248
PileupMixingContent
Definition: PileupMixingContent.h:24
SiPixelDigitizerAlgorithm::theTofUpperCut
const float theTofUpperCut
Definition: SiPixelDigitizerAlgorithm.h:366
SiPixelDigitizerAlgorithm::theElectronPerADC
const float theElectronPerADC
Definition: SiPixelDigitizerAlgorithm.h:344
SiPixelDigitizerAlgorithm::fluctuateCharge
const bool fluctuateCharge
Definition: SiPixelDigitizerAlgorithm.h:383
SiPixelDigitizerAlgorithm::EnergyDepositUnit::energy
float energy() const
Definition: SiPixelDigitizerAlgorithm.h:191
SiPixelDigitizerAlgorithm::Amplitude::operator+=
void operator+=(const Amplitude &other)
Definition: SiPixelDigitizerAlgorithm.h:143
SiPixelDigitizerAlgorithm::theReadoutNoise
const float theReadoutNoise
Definition: SiPixelDigitizerAlgorithm.h:347
SiPixelDigitizerAlgorithm::CalParameters::p3
float p3
Definition: SiPixelDigitizerAlgorithm.h:175
SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db
void init_from_db(const edm::ESHandle< TrackerGeometry > &, const edm::ESHandle< SiPixelDynamicInefficiency > &)
Definition: SiPixelDigitizerAlgorithm.cc:616
SiPixelDigitizerAlgorithm::addNoisyPixels
const bool addNoisyPixels
Definition: SiPixelDigitizerAlgorithm.h:382
edm::EventSetup
Definition: EventSetup.h:57
SiPixelDigitizerAlgorithm::EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit(float energy, float x, float y, float z)
Definition: SiPixelDigitizerAlgorithm.h:186
SiPixelDigitizerAlgorithm::SignalPoint::y
float y() const
Definition: SiPixelDigitizerAlgorithm.h:217
SiPixelDigitizerAlgorithm::SignalPoint
Definition: SiPixelDigitizerAlgorithm.h:205
SiPixelDigitizerAlgorithm::electronsPerVCAL_Offset
const float electronsPerVCAL_Offset
Definition: SiPixelDigitizerAlgorithm.h:361
SiPixelDigitizerAlgorithm::make_digis
void make_digis(float thePixelThresholdInE, uint32_t detID, const PixelGeomDetUnit *pixdet, std::vector< PixelDigi > &digis, std::vector< PixelDigiSimLink > &simlinks, const TrackerTopology *tTopo) const
Definition: SiPixelDigitizerAlgorithm.cc:1560
SiPixelDigitizerAlgorithm::_signal
signalMaps _signal
Definition: SiPixelDigitizerAlgorithm.h:303
SiPixelDigitizerAlgorithm::drift
void drift(const PSimHit &hit, const PixelGeomDetUnit *pixdet, const GlobalVector &bfield, const TrackerTopology *tTopo, const std::vector< EnergyDepositUnit > &ionization_points, std::vector< SignalPoint > &collection_points) const
Definition: SiPixelDigitizerAlgorithm.cc:1231
SiPixelDigitizerAlgorithm::electronsPerVCAL_L1_Offset
const float electronsPerVCAL_L1_Offset
Definition: SiPixelDigitizerAlgorithm.h:363
SiPixelDigitizerAlgorithm::fluctuate
const std::unique_ptr< SiG4UniversalFluctuation > fluctuate
Definition: SiPixelDigitizerAlgorithm.h:410
SiPixelDigitizerAlgorithm::DriftDirection
LocalVector DriftDirection(const PixelGeomDetUnit *pixdet, const GlobalVector &bfield, const DetId &detId) const
Definition: SiPixelDigitizerAlgorithm.cc:2128
SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm
SiPixelDigitizerAlgorithm(const edm::ParameterSet &conf)
Definition: SiPixelDigitizerAlgorithm.cc:198
SiPixelDigitizerAlgorithm::Amplitude::Amplitude
Amplitude()
Definition: SiPixelDigitizerAlgorithm.h:117
SiPixelDigitizerAlgorithm::tanLorentzAnglePerTesla_FPix
const float tanLorentzAnglePerTesla_FPix
Definition: SiPixelDigitizerAlgorithm.h:367
SiPixelDigitizerAlgorithm::SignalPoint::_sigma_x
float _sigma_x
Definition: SiPixelDigitizerAlgorithm.h:232
SiPixelFedCablingMap
Definition: SiPixelFedCablingMap.h:19
SiPixelDigitizerAlgorithm::CalParameters::p2
float p2
Definition: SiPixelDigitizerAlgorithm.h:174
SiPixelDigitizerAlgorithm::BPix_p3
const float BPix_p3
Definition: SiPixelDigitizerAlgorithm.h:377
SiPixelDigitizerAlgorithm::signal_map_type
std::map< int, Amplitude, std::less< int > > signal_map_type
Definition: SiPixelDigitizerAlgorithm.h:294
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCStdPixels
Definition: SiPixelDigitizerAlgorithm.h:266
SiPixelDigitizerAlgorithm::use_deadmodule_DB_
const bool use_deadmodule_DB_
Definition: SiPixelDigitizerAlgorithm.h:309
SiPixelDigitizerAlgorithm::EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit()
Definition: SiPixelDigitizerAlgorithm.h:185
SiPixelDigitizerAlgorithm::Amplitude::ampl
float ampl() const
Definition: SiPixelDigitizerAlgorithm.h:139
SiPixelDigitizerAlgorithm::SignalPoint::set_amplitude
SignalPoint & set_amplitude(float amp)
Definition: SiPixelDigitizerAlgorithm.h:223
SiPixelQualityProbabilities
Definition: SiPixelQualityProbabilities.h:10
SiPixelDigitizerAlgorithm::EnergyDepositUnit::_position
Local3DPoint _position
Definition: SiPixelDigitizerAlgorithm.h:195
SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix
std::vector< double > theLadderEfficiency_BPix[20]
Definition: SiPixelDigitizerAlgorithm.h:258
SiPixelDigitizerAlgorithm::GeVperElectron
const float GeVperElectron
Definition: SiPixelDigitizerAlgorithm.h:330
SiPixelDigitizerAlgorithm::electronsPerVCAL
const float electronsPerVCAL
Definition: SiPixelDigitizerAlgorithm.h:360
SiPixelDigitizerAlgorithm::CalParameters::p0
float p0
Definition: SiPixelDigitizerAlgorithm.h:172
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency
double thePixelColEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:256
SiPixelDigitizerAlgorithm::theAdcFullScale
const int theAdcFullScale
Definition: SiPixelDigitizerAlgorithm.h:345
LocalPoint.h
SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixRocIdShift
Definition: SiPixelDigitizerAlgorithm.h:273
SiPixelDigitizerAlgorithm::NumberOfEndcapDisks
const int NumberOfEndcapDisks
Definition: SiPixelDigitizerAlgorithm.h:341
SiPixelDigitizerAlgorithm::pixel_aging
float pixel_aging(const PixelAging &aging, const PixelGeomDetUnit *pixdet, const TrackerTopology *tTopo) const
Definition: SiPixelDigitizerAlgorithm.cc:1986
SiPixelDigitizerAlgorithm::CalParameters
Definition: SiPixelDigitizerAlgorithm.h:170
SiPixelDigitizerAlgorithm::theThresholdInE_FPix
const float theThresholdInE_FPix
Definition: SiPixelDigitizerAlgorithm.h:350
SiPixelDigitizerAlgorithm::EnergyDepositUnit::z
float z() const
Definition: SiPixelDigitizerAlgorithm.h:190
SiPixelDigitizerAlgorithm::PixelEfficiencies::matches
bool matches(const DetId &, const DetId &, const std::vector< uint32_t > &)
Definition: SiPixelDigitizerAlgorithm.cc:716
SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors
std::map< uint32_t, double > ColGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:268
SiPixelDigitizerAlgorithm::induce_signal
void induce_signal(std::vector< PSimHit >::const_iterator inputBegin, std::vector< PSimHit >::const_iterator inputEnd, const PSimHit &hit, const size_t hitIndex, const unsigned int tofBin, const PixelGeomDetUnit *pixdet, const std::vector< SignalPoint > &collection_points)
Definition: SiPixelDigitizerAlgorithm.cc:1349
SiG4UniversalFluctuation
Definition: SiG4UniversalFluctuation.h:25
SiPixelDigitizerAlgorithm::BPix_p1
const float BPix_p1
Definition: SiPixelDigitizerAlgorithm.h:375
SiPixelDigitizerAlgorithm::theThresholdSmearing_BPix
const double theThresholdSmearing_BPix
Definition: SiPixelDigitizerAlgorithm.h:356
SiPixelDigitizerAlgorithm::primary_ionization
void primary_ionization(const PSimHit &hit, std::vector< EnergyDepositUnit > &ionization_points, CLHEP::HepRandomEngine *) const
Definition: SiPixelDigitizerAlgorithm.cc:1099
SiPixelDigitizerAlgorithm::SignalPoint::amplitude
float amplitude() const
Definition: SiPixelDigitizerAlgorithm.h:221
SiPixelDigitizerAlgorithm::SignalPoint::_time
float _time
Definition: SiPixelDigitizerAlgorithm.h:230
SiPixelDigitizerAlgorithm::tanLorentzAnglePerTesla_BPix
const float tanLorentzAnglePerTesla_BPix
Definition: SiPixelDigitizerAlgorithm.h:368
SiPixelDigitizerAlgorithm::AddPixelAging
const bool AddPixelAging
Definition: SiPixelDigitizerAlgorithm.h:396
SiPixelDigitizerAlgorithm::FPix_p2
const float FPix_p2
Definition: SiPixelDigitizerAlgorithm.h:372
SiPixelDigitizerAlgorithm::xdouble
std::vector< bool > xdouble
Definition: SiPixelDigitizerAlgorithm.h:316
SiPixelDigitizerAlgorithm::UseReweighting
const bool UseReweighting
Definition: SiPixelDigitizerAlgorithm.h:397
PileupMixingContent.h
SiPixelDigitizerAlgorithm::CalParameters::p1
float p1
Definition: SiPixelDigitizerAlgorithm.h:173
genParticles_cff.map
map
Definition: genParticles_cff.py:11
SiPixelDigitizerAlgorithm::scenarioProbabilityHandle
edm::ESHandle< SiPixelQualityProbabilities > scenarioProbabilityHandle
Definition: SiPixelDigitizerAlgorithm.h:109
EventSetup
SiPixelDigitizerAlgorithm::setSimAccumulator
void setSimAccumulator(const std::map< uint32_t, std::map< int, int > > &signalMap)
Definition: SiPixelDigitizerAlgorithm.cc:990
PSimHit
Definition: PSimHit.h:15
aging
Definition: aging.py:1
SiPixelDigitizerAlgorithm::FPix_p1
const float FPix_p1
Definition: SiPixelDigitizerAlgorithm.h:371
SiPixelDigitizerAlgorithm::SiPixelDynamicInefficiency_
edm::ESHandle< SiPixelDynamicInefficiency > SiPixelDynamicInefficiency_
Definition: SiPixelDigitizerAlgorithm.h:106
SiPixelDigitizerAlgorithm::digitize
void digitize(const PixelGeomDetUnit *pixdet, std::vector< PixelDigi > &digis, std::vector< PixelDigiSimLink > &simlinks, const TrackerTopology *tTopo, CLHEP::HepRandomEngine *)
Definition: SiPixelDigitizerAlgorithm.cc:1001
approx_exp.h
SiPixelDigitizerAlgorithm::SignalPoint::position
const LocalPoint & position() const
Definition: SiPixelDigitizerAlgorithm.h:215
SiPixelDigitizerAlgorithm::DeadModules
const Parameters DeadModules
Definition: SiPixelDigitizerAlgorithm.h:312
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency
double thePixelEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:255
SiPixelDigitizerAlgorithm::templateStores_
std::vector< SiPixelTemplateStore2D > templateStores_
Definition: SiPixelDigitizerAlgorithm.h:321
SiPixelDigitizerAlgorithm::SignalPoint::_sigma_y
float _sigma_y
Definition: SiPixelDigitizerAlgorithm.h:233
SiPixelDigitizerAlgorithm::init_DynIneffDB
void init_DynIneffDB(const edm::EventSetup &, const unsigned int &)
Definition: SiPixelDigitizerAlgorithm.cc:606
SiPixelFEDChannelContainerESProducerRcd.h
SiPixelDigitizerAlgorithm::calcQ
double calcQ(float x) const
Definition: SiPixelDigitizerAlgorithm.h:485
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors
std::map< uint32_t, double > PixelGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:265
SiPixelDigitizerAlgorithm::ClusterWidth
const float ClusterWidth
Definition: SiPixelDigitizerAlgorithm.h:338
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19
SiPixelDigitizerAlgorithm::hitSignalReweight
bool hitSignalReweight(const PSimHit &hit, std::map< int, float, std::less< int > > &hit_signal, const size_t hitIndex, const unsigned int tofBin, const PixelTopology *topol, uint32_t detID, signal_map_type &theSignal, unsigned short int processType)
Definition: SiPixelDigitizerAlgorithm.cc:2333
SiPixelDigitizerAlgorithm::initializeEvent
void initializeEvent()
Definition: SiPixelDigitizerAlgorithm.h:62
hit
Definition: SiStripHitEffFromCalibTree.cc:88
SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors
std::map< uint32_t, double > ChipGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:269
SiPixelDigitizerAlgorithm::add_noise
void add_noise(const PixelGeomDetUnit *pixdet, float thePixelThreshold, CLHEP::HepRandomEngine *)
Definition: SiPixelDigitizerAlgorithm.cc:1656
SiPixelDigitizerAlgorithm::Amplitude::individualampl
const std::vector< float > & individualampl() const
Definition: SiPixelDigitizerAlgorithm.h:140
TrackerGeometry
Definition: TrackerGeometry.h:14
SiPixelDigitizerAlgorithm::PixelAging::FPixIndex
unsigned int FPixIndex
Definition: SiPixelDigitizerAlgorithm.h:289
EncodedEventId.h
SiPixelDigitizerAlgorithm::use_LorentzAngle_DB_
const bool use_LorentzAngle_DB_
Definition: SiPixelDigitizerAlgorithm.h:310