ATLAS Offline Software
PixelNoiseFunctions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3  */
4 #ifndef PixelNoiseFunctions_h
5 #define PixelNoiseFunctions_h
6 
7 
9 #include <vector>
10 
12 class SiTotalCharge;
13 class PixelModuleData;
15 
16 namespace CLHEP{
17  class HepRandomEngine;
18 }
19 
20 
21 namespace PixelDigitization{
22  void crossTalk(double crossTalk, SiChargedDiodeCollection& chargedDiodes) ;
23 
24  void thermalNoise(double thermalNoise, SiChargedDiodeCollection& chargedDiodes,
25  CLHEP::HepRandomEngine* rndmEngine);
26 
27  void randomNoise(SiChargedDiodeCollection& chargedDiodes, const PixelModuleData *moduleData,
28  int nBcid,
29  const PixelChargeCalibCondData *chargeCalibData, CLHEP::HepRandomEngine* rndmEngine,
30  InDetDD::IPixelReadoutManager * pixelReadout);
31 
32  void
33  randomNoise(SiChargedDiodeCollection& chargedDiodes, const double totalNoiseOccupancy,
34  const std::vector<float> &noiseShape, float overflowToT,
35  const PixelChargeCalibCondData *chargeCalibData, CLHEP::HepRandomEngine* rndmEngine,
36  InDetDD::IPixelReadoutManager * pixelReadout);
37 
38  //randomly disables certain elements, using moduleData to get probability
39  void randomDisable(SiChargedDiodeCollection& chargedDiodes,
40  const PixelModuleData *moduleData,
41  CLHEP::HepRandomEngine* rndmEngine);
42 
43  //randomly disables certain elements, probability as a parameter
44  void randomDisable(SiChargedDiodeCollection& chargedDiodes,
45  double disableProbability, CLHEP::HepRandomEngine* rndmEngine);
46 
47  double getG4Time(const SiTotalCharge& totalCharge) ;
48 }//namespace
49 
50  #endif
PixelModuleData
Definition: PixelModuleData.h:22
InDetDD::IPixelReadoutManager
Definition: IPixelReadoutManager.h:21
PixelDigitization
Definition: PixelDigitizationUtilities.cxx:16
PixelDigitization::getG4Time
double getG4Time(const SiTotalCharge &totalCharge)
Definition: PixelNoiseFunctions.cxx:169
SiChargedDiodeCollection
Definition: SiChargedDiodeCollection.h:109
PixelChargeCalibCondData
Definition: PixelChargeCalibCondData.h:24
CLHEP
STD'S.
Definition: IAtRndmGenSvc.h:19
IPixelReadoutManager.h
PixelDigitization::crossTalk
void crossTalk(double crossTalk, SiChargedDiodeCollection &chargedDiodes)
Definition: PixelNoiseFunctions.cxx:25
SiTotalCharge
Definition: SiTotalCharge.h:24
PixelDigitization::randomNoise
void randomNoise(SiChargedDiodeCollection &chargedDiodes, const PixelModuleData *moduleData, int nBcid, const PixelChargeCalibCondData *chargeCalibData, CLHEP::HepRandomEngine *rndmEngine, InDetDD::IPixelReadoutManager *pixelReadout)
Definition: PixelNoiseFunctions.cxx:73
PixelDigitization::randomDisable
void randomDisable(SiChargedDiodeCollection &chargedDiodes, const PixelModuleData *moduleData, CLHEP::HepRandomEngine *rndmEngine)
Definition: PixelNoiseFunctions.cxx:147
PixelDigitization::thermalNoise
void thermalNoise(double thermalNoise, SiChargedDiodeCollection &chargedDiodes, CLHEP::HepRandomEngine *rndmEngine)
Definition: PixelNoiseFunctions.cxx:61