ATLAS Offline Software
FEI3SimTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #include "FEI3SimTool.h"
7 #include "PixelConditionsData/ChargeCalibParameters.h" //for Thresholds
13 //
14 #include "CLHEP/Random/RandGaussZiggurat.h"
15 #include "CLHEP/Random/RandFlat.h"
16 
17 #include <cmath>
18 #include "PixelNoiseFunctions.h"
19 
20 using namespace PixelDigitization;
21 
22 
23 FEI3SimTool::FEI3SimTool(const std::string& type, const std::string& name, const IInterface* parent) :
25 }
26 
27 FEI3SimTool::~FEI3SimTool() = default;
28 
31  ATH_MSG_DEBUG("FEI3SimTool::initialize()");
33  return StatusCode::SUCCESS;
34 }
35 
37  ATH_MSG_DEBUG("FEI3SimTool::finalize()");
38  return StatusCode::SUCCESS;
39 }
40 
42  CLHEP::HepRandomEngine* rndmEngine) {
43  const InDetDD::PixelModuleDesign* p_design =
44  static_cast<const InDetDD::PixelModuleDesign*>(&(chargedDiodes.element())->design());
45 
47  return;
48  }
49 
50  const PixelID* pixelId = static_cast<const PixelID*>(chargedDiodes.element()->getIdHelper());
51  const IdentifierHash moduleHash = pixelId->wafer_hash(chargedDiodes.identify()); // wafer hash
52  Identifier moduleID = pixelId->wafer_id(chargedDiodes.element()->identify());
53 
54  int barrel_ec = pixelId->barrel_ec(chargedDiodes.element()->identify());
55  int layerIndex = pixelId->layer_disk(chargedDiodes.element()->identify());
56  int moduleIndex = pixelId->eta_module(chargedDiodes.element()->identify());
57 
58  if (std::abs(barrel_ec) != m_BarrelEC) {
59  return;
60  }
61 
62  const EventContext& ctx{Gaudi::Hive::currentContext()};
64  const PixelModuleData *moduleData = *moduleDataHandle;
66  const PixelChargeCalibCondData *calibData = *calibDataHandle;
67  const auto selectedTuneYear = moduleData->getFEI3TimingSimTune(barrel_ec, layerIndex);
68  // Add cross-talk
69  crossTalk(moduleData->getCrossTalk(barrel_ec, layerIndex), chargedDiodes);
70 
71  if (m_doNoise) {
72  // Add thermal noise
73  thermalNoise(m_thermalNoise, chargedDiodes, rndmEngine);
74 
75  // Add random noise
76  randomNoise(chargedDiodes, moduleData, m_numberOfBcid, calibData, rndmEngine, m_pixelReadout.get());
77  }
78 
79  // Add random diabled pixels
80  randomDisable(chargedDiodes, moduleData, rndmEngine); // FIXME How should we handle disabling pixels in Overlay jobs?
81 
82  for (SiChargedDiodeIterator i_chargedDiode = chargedDiodes.begin(); i_chargedDiode != chargedDiodes.end();
83  ++i_chargedDiode) {
84  // Merge ganged pixel
85  InDetDD::SiCellId cellID = chargedDiodes.element()->cellIdFromIdentifier(chargedDiodes.getId(
86  (*i_chargedDiode).first));
87  const InDetDD::SiDetectorElement * siDetEl = static_cast<const InDetDD::SiDetectorElement *>(chargedDiodes.element());
88  InDetDD::SiCellId gangedCell = siDetEl->gangedCell(cellID);
89  Identifier gangedID = chargedDiodes.element()->identifierFromCellId(gangedCell);
90  if (gangedCell.isValid()) {
91  SiChargedDiode* gangedChargeDiode = chargedDiodes.find(gangedID);
92  int phiGanged = pixelId->phi_index(gangedID);
93  int phiThis = pixelId->phi_index(chargedDiodes.getId((*i_chargedDiode).first));
94 
95  if (gangedChargeDiode) { // merge charges
96  bool maskGanged = ((phiGanged > 159) && (phiGanged < 168));
97  bool maskThis = ((phiThis > 159) && (phiThis < 168));
98  // mask the one ganged pixel that does not correspond to the readout electronics.
99  // not really sure this is needed
100  if (maskGanged && maskThis) {
101  ATH_MSG_ERROR("FEI3SimTool: both ganged pixels are in the mask out region -> BUG!");
102  }
103  if (maskGanged) {
104  (*i_chargedDiode).second.add(gangedChargeDiode->totalCharge()); // merged org pixel
105  SiHelper::maskOut(*gangedChargeDiode, true);
106  } else {
107  gangedChargeDiode->add((*i_chargedDiode).second.totalCharge()); // merged org pixel
108  SiHelper::maskOut((*i_chargedDiode).second, true);
109  }
110  }
111  }
112  }
113 
114  for (SiChargedDiodeOrderedIterator i_chargedDiode = chargedDiodes.orderedBegin();
115  i_chargedDiode != chargedDiodes.orderedEnd(); ++i_chargedDiode) {
116  SiChargedDiode& diode = **i_chargedDiode;
117 
118  Identifier diodeID = chargedDiodes.getId(diode.diode());
119  double charge = diode.charge();
120 
121  unsigned int FE = m_pixelReadout->getFE(diodeID, moduleID);
122  InDetDD::PixelDiodeType type = m_pixelReadout->getDiodeType(diodeID);
123 
124  // charge to ToT conversion
125  double tot = calibData->getToT(type, moduleHash, FE, charge);
126  const auto thresholds = calibData->getThresholds(type, moduleHash, FE);
127  // Apply analog threshold, timing simulation
128  double th0 = thresholds.value;
129  double ith0 = thresholds.inTimeValue;
130 
131  double thrand1 = CLHEP::RandGaussZiggurat::shoot(rndmEngine);
132  double thrand2 = CLHEP::RandGaussZiggurat::shoot(rndmEngine);
133  double threshold = th0
134  + thresholds.sigma * thrand1
135  + thresholds.noise * thrand2;
136  // This noise check is unaffected by digitizationFlags.doInDetNoise in
137  // 21.0 - see PixelCellDiscriminator.cxx in that branch
138 
139  if (charge > threshold) {
140  int bunchSim = 0;
141  if (diode.totalCharge().fromTrack()) {
142  std::vector<float> totCharges = moduleData->getTimingIndex(barrel_ec, layerIndex);
143  std::vector<float> probArray = moduleData->getTimingProbability(barrel_ec, layerIndex, moduleIndex);
144 
145  double prob = 0.0;
146  if (selectedTuneYear==2023) { prob = getProbability(totCharges, probArray, tot); }
147  if (selectedTuneYear==2022) { prob = getProbability(totCharges, probArray, tot); }
148  if (selectedTuneYear==2018) { prob = getProbability(totCharges, probArray, diode.totalCharge().charge()); }
149  if (selectedTuneYear==2015) { prob = getProbability(totCharges, probArray, diode.totalCharge().charge()); }
150 
151  double G4Time = getG4Time(diode.totalCharge());
152  double rnd = CLHEP::RandFlat::shoot(rndmEngine, 0.0, 1.0);
153 
154  double timeWalk = 0.0;
155  if (rnd<prob) { timeWalk = 25.0; }
156  bunchSim = static_cast<int>(floor((G4Time+m_timeOffset+timeWalk)/m_bunchSpace));
157 
158  if (selectedTuneYear == 2009) { // RUN1 procedure (based on 2007 cosmic data)
159  double intimethreshold = (ith0 / th0) * threshold;
160  bunchSim = relativeBunch2009(threshold, intimethreshold, diode.totalCharge(), rndmEngine);
161  }
162  }
163  else {
164  if (moduleData->getFEI3TimingSimTune(barrel_ec, layerIndex) > 0) {
165  bunchSim = CLHEP::RandFlat::shootInt(rndmEngine, m_numberOfBcid);
166  }
167  }
168 
169  if (bunchSim < 0 || bunchSim > m_numberOfBcid) {
170  SiHelper::belowThreshold(diode, true, true);
171  } else {
172  SiHelper::SetBunch(diode, bunchSim);
173  }
174  } else {
175  SiHelper::belowThreshold(diode, true, true);
176  }
177 
178  double totsig = calibData->getTotRes(moduleHash, FE, tot);
179  int nToT = static_cast<int>(CLHEP::RandGaussZiggurat::shoot(rndmEngine, tot, totsig));
180 
181  if (nToT < 1) {
182  nToT = 1;
183  }
184 
185  if (nToT <= moduleData->getToTThreshold(barrel_ec, layerIndex)) {
186  SiHelper::belowThreshold(diode, true, true);
187  }
188 
189  if (nToT >= moduleData->getFEI3Latency(barrel_ec, layerIndex)) {
190  SiHelper::belowThreshold(diode, true, true);
191  }
192 
193  // Filter events
194  if (SiHelper::isMaskOut(diode)) {
195  continue;
196  }
197  if (SiHelper::isDisabled(diode)) {
198  continue;
199  }
200 
201  if (!m_pixelConditionsTool->isActive(moduleHash, diodeID, ctx)) {
202  SiHelper::disabled(diode, true, true);
203  continue;
204  }
205 
206  int flag = diode.flag();
207  int bunch = (flag >> 8) & 0xff;
208 
209  InDetDD::SiReadoutCellId cellId = diode.getReadoutCell();
210  const Identifier id_readout = chargedDiodes.element()->identifierFromCellId(cellId);
211 
212  // Front-End simulation
213  if (bunch >= 0 && bunch < m_numberOfBcid) {
214  rdoCollection.push_back(new Pixel1RawData(id_readout, nToT, bunch, 0, bunch));
215  }
216 
217  // Duplication mechanism for FEI3 small hits :
218  if (m_duplication) {//is true for run1 only
219  static constexpr int smallHitThreshold{7}; //constant for both barrel and endcap, never changes
220  bool smallHitChk = false;
221  if (nToT <= smallHitThreshold) {
222  smallHitChk = true;
223  }
224  if (smallHitChk && bunch > 0 && bunch <= m_numberOfBcid) {
225  rdoCollection.push_back(new Pixel1RawData(id_readout, nToT, bunch - 1, 0, bunch - 1));
226  }
227  }
228  }
229  }
230 
231 int FEI3SimTool::relativeBunch2009(const double threshold, const double intimethreshold,
232  const SiTotalCharge& totalCharge,
233  CLHEP::HepRandomEngine* rndmEngine) const {
234  int BCID = 0;
235  double myTimeWalkEff = 0.;
236  double overdrive = intimethreshold - threshold;
237 
238  //my TimeWalk computation through PARAMETRIZATION (by Francesco De Lorenzi - Milan)
239  //double curvature = 7.6e7*overdrive-2.64e10;
240  //double divergence = -1.6*overdrive+942 ;
241  //double myTimeWalk = curvature/(pow((totalCharge.charge()-divergence),2.5));
242 
243  //my TimeWalk computation through PARAMETRIZATION from 2009 cosmic data (by I. Ibragimov and D. Miller)
244  double p1 = 20. / std::log(intimethreshold / overdrive);
245  double p0 = p1 * std::log(1. - threshold / 100000.);
246 
247  double myTimeWalk = -p0 - p1 * std::log(1. - threshold / totalCharge.charge());
248 
249  myTimeWalkEff = myTimeWalk + myTimeWalk * 0.2 * CLHEP::RandGaussZiggurat::shoot(rndmEngine);
250  const double limit = m_timeJitter * 0.5;
251  double randomJitter = CLHEP::RandFlat::shoot(rndmEngine, - limit, limit);
252 
253  //double G4Time = totalCharge.time();
254 
255  double G4Time = getG4Time(totalCharge);
256  double timing = m_timeOffset + myTimeWalkEff + randomJitter + G4Time;
257  BCID = static_cast<int>(std::floor(timing / m_bunchSpace));
258  //ATH_MSG_DEBUG ( CTW << " , " << myTimeWalkEff << " , " << G4Time << " , " << timing << " , " << BCID );
259 
260  return BCID;
261 }
262 
263 double FEI3SimTool::getProbability(const std::vector<float> &bounds, const std::vector<float> &probs, const double &val) const {
264  auto pCategory = std::upper_bound(bounds.begin(), bounds.end(),val);
265  if (pCategory == bounds.end()) return 0.0;
266  auto idx = std::distance(bounds.begin(), pCategory);
267  return probs[idx];
268 }
269 
270 
InDetDD::SiDetectorElement::gangedCell
SiCellId gangedCell(const SiCellId &cellId) const
If cell is ganged return the id of the other cell which shares the readout for this cell,...
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
FEI3SimTool::getProbability
double getProbability(const std::vector< float > &bounds, const std::vector< float > &probs, const double &val) const
Definition: FEI3SimTool.cxx:263
PixelChargeCalibCondData::getToT
float getToT(InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE, float Q) const
Definition: PixelChargeCalibCondData.cxx:173
PixelID::phi_index
int phi_index(const Identifier &id) const
Definition: PixelID.h:658
PixelModuleData::getTimingIndex
std::vector< float > getTimingIndex(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:283
SiChargedDiode
Definition: SiChargedDiode.h:30
PixelNoiseFunctions.h
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
SiChargedDiodeCollection::element
const InDetDD::SolidStateDetectorElementBase * element() const
Definition: SiChargedDiodeCollection.h:218
InDetDD::PixelModuleDesign
Definition: PixelModuleDesign.h:48
SiHelper::isDisabled
static bool isDisabled(SiChargedDiode &chDiode)
Definition: SiHelper.h:179
PixelID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: PixelID.h:619
PixelModuleData::getCrossTalk
double getCrossTalk(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:129
PixelChargeCalibCondData::getThresholds
PixelChargeCalib::Thresholds getThresholds(InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
Definition: PixelChargeCalibCondData.cxx:99
PixelModuleData
Definition: PixelModuleData.h:22
FrontEndSimTool::m_thermalNoise
double m_thermalNoise
Definition: FrontEndSimTool.h:54
SiChargedDiode::getReadoutCell
const InDetDD::SiReadoutCellId & getReadoutCell() const
Definition: SiChargedDiode.h:111
InDetDD::SiCellId::isValid
bool isValid() const
Test if its in a valid state.
Definition: SiCellId.h:136
InDetDD::PixelDiodeType
PixelDiodeType
Definition: PixelReadoutDefinitions.h:20
FEI3SimTool::FEI3SimTool
FEI3SimTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FEI3SimTool.cxx:23
ChargeCalibParameters.h
Structs for holding charge calibration parameterisation and data.
SiChargedDiodeCollection::end
SiChargedDiodeIterator end()
Definition: SiChargedDiodeCollection.h:253
InDetDD::PixelReadoutTechnology::FEI3
@ FEI3
SiTotalCharge::charge
double charge() const
Definition: SiTotalCharge.h:118
SiChargedDiodeCollection::orderedEnd
SiChargedDiodeOrderedIterator orderedEnd()
Definition: SiChargedDiodeCollection.h:266
PixelChargeCalibCondData::getTotRes
float getTotRes(unsigned int moduleHash, unsigned int FE, float Q) const
Definition: PixelChargeCalibCondData.cxx:162
PixelDigitization
Definition: PixelDigitizationUtilities.cxx:29
covarianceTool.prob
prob
Definition: covarianceTool.py:678
SiChargedDiodeCollection::begin
SiChargedDiodeIterator begin()
Definition: SiChargedDiodeCollection.h:248
SiHelper::maskOut
static void maskOut(SiChargedDiode &chDiode, bool flag)
Definition: SiHelper.h:67
SiHelper::disabled
static void disabled(SiChargedDiode &chDiode, bool flag, bool mask=false)
Definition: SiHelper.h:93
PixelID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Definition: PixelID.h:364
InDetDD::SolidStateDetectorElementBase::getIdHelper
const AtlasDetectorID * getIdHelper() const
Returns the id helper (inline)
PixelDigitization::getG4Time
double getG4Time(const SiTotalCharge &totalCharge)
Definition: PixelNoiseFunctions.cxx:168
SiChargedDiodeIterator
SiChargedDiodeMap::iterator SiChargedDiodeIterator
Definition: SiChargedDiodeCollection.h:70
SiChargedDiode::add
void add(const SiCharge &charge)
Definition: SiChargedDiode.cxx:29
SiChargedDiode::charge
double charge() const
Definition: SiChargedDiode.h:115
SiTotalCharge::fromTrack
bool fromTrack() const
Definition: SiTotalCharge.cxx:49
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
FrontEndSimTool::initialize
virtual StatusCode initialize() override
Definition: FrontEndSimTool.cxx:13
SiChargedDiodeCollection::find
SiChargedDiode * find(const InDetDD::SiCellId &siId)
Definition: SiChargedDiodeCollection.cxx:63
SiChargedDiode::diode
const InDetDD::SiCellId & diode() const
Definition: SiChargedDiode.h:97
InDetDD::SolidStateDetectorElementBase::identifierFromCellId
virtual Identifier identifierFromCellId(const SiCellId &cellId) const =0
Identifier <-> SiCellId (ie strip number or pixel eta_index,phi_index) Identifier from SiCellId (ie s...
FrontEndSimTool::m_doNoise
Gaudi::Property< bool > m_doNoise
Definition: FrontEndSimTool.h:72
SiChargedDiodeCollection::getId
Identifier getId(const InDetDD::SiCellId &id) const
Definition: SiChargedDiodeCollection.h:144
SiChargedDiode::totalCharge
const SiTotalCharge & totalCharge() const
Definition: SiChargedDiode.h:107
PixelID::wafer_hash
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
Definition: PixelID.h:387
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
trigDumpTimers.timing
def timing(hist)
Definition: trigDumpTimers.py:13
FrontEndSimTool::m_bunchSpace
static constexpr double m_bunchSpace
Definition: FrontEndSimTool.h:50
SiChargedDiodeCollection
Definition: SiChargedDiodeCollection.h:109
FrontEndSimTool::m_timeJitter
double m_timeJitter
Definition: FrontEndSimTool.h:53
PixelRDO_Collection.h
FrontEndSimTool
Definition: FrontEndSimTool.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FEI3SimTool::finalize
virtual StatusCode finalize()
Definition: FEI3SimTool.cxx:36
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
PixelChargeCalibCondData
Definition: PixelChargeCalibCondData.h:24
SiHelper::belowThreshold
static void belowThreshold(SiChargedDiode &chDiode, bool flag, bool mask=false)
Definition: SiHelper.h:84
FrontEndSimTool::m_numberOfBcid
int m_numberOfBcid
Definition: FrontEndSimTool.h:51
master.flag
bool flag
Definition: master.py:29
Pixel1RawData.h
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FrontEndSimTool::m_pixelReadout
ServiceHandle< InDetDD::IPixelReadoutManager > m_pixelReadout
Definition: FrontEndSimTool.h:59
Pixel1RawData
Definition: Pixel1RawData.h:23
SiHelper::SetBunch
static void SetBunch(SiChargedDiode &chDiode, int bunch, MsgStream *log=nullptr)
Definition: SiHelper.h:129
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
PixelChargeCalib::Thresholds::value
int value
Definition: ChargeCalibParameters.h:74
FEI3SimTool::m_moduleDataKey
SG::ReadCondHandleKey< PixelModuleData > m_moduleDataKey
Definition: FEI3SimTool.h:36
FrontEndSimTool::m_BarrelEC
Gaudi::Property< int > m_BarrelEC
Definition: FrontEndSimTool.h:68
PixelModuleData::getFEI3Latency
int getFEI3Latency(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:238
SiChargedDiode::flag
int flag() const
Definition: SiChargedDiode.h:102
LB_AnalMapSplitter.tot
tot
Definition: LB_AnalMapSplitter.py:46
PixelID::layer_disk
int layer_disk(const Identifier &id) const
Definition: PixelID.h:626
PixelID::eta_module
int eta_module(const Identifier &id) const
Definition: PixelID.h:651
SiHelper::isMaskOut
static bool isMaskOut(SiChargedDiode &chDiode)
Definition: SiHelper.h:171
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
threshold
Definition: chainparser.cxx:74
charge
double charge(const T &p)
Definition: AtlasPID.h:494
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
InDetDD::PixelModuleDesign::getReadoutTechnology
PixelReadoutTechnology getReadoutTechnology() const
Definition: PixelModuleDesign.h:368
FEI3SimTool::initialize
virtual StatusCode initialize()
Definition: FEI3SimTool.cxx:29
PixelDigitization::crossTalk
void crossTalk(double crossTalk, SiChargedDiodeCollection &chargedDiodes)
Definition: PixelNoiseFunctions.cxx:25
SiDetectorElement.h
FEI3SimTool::relativeBunch2009
int relativeBunch2009(const double threshold, const double intimethreshold, const SiTotalCharge &totalCharge, CLHEP::HepRandomEngine *rndmEngine) const
Definition: FEI3SimTool.cxx:231
InDetDD::SiCellId
Definition: SiCellId.h:29
PixelModuleData::getTimingProbability
std::vector< float > getTimingProbability(int barrel_ec, int layer, int eta) const
Definition: PixelModuleData.cxx:297
SiTotalCharge
Definition: SiTotalCharge.h:24
FEI3SimTool::~FEI3SimTool
virtual ~FEI3SimTool()
PixelModuleData::getFEI3TimingSimTune
int getFEI3TimingSimTune(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:254
PixelModuleDesign.h
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
FrontEndSimTool::m_timeOffset
double m_timeOffset
Definition: FrontEndSimTool.h:52
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
SiChargedDiodeOrderedIterator
SiChargedDiodeOrderedSet::iterator SiChargedDiodeOrderedIterator
Definition: SiChargedDiodeCollection.h:107
FrontEndSimTool::m_chargeDataKey
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_chargeDataKey
Definition: FrontEndSimTool.h:64
SiChargedDiodeCollection::orderedBegin
SiChargedDiodeOrderedIterator orderedBegin()
Definition: SiChargedDiodeCollection.h:258
InDetDD::SiReadoutCellId
Definition: SiReadoutCellId.h:42
PixelDigitization::randomNoise
void randomNoise(SiChargedDiodeCollection &chargedDiodes, const PixelModuleData *moduleData, int nBcid, const PixelChargeCalibCondData *chargeCalibData, CLHEP::HepRandomEngine *rndmEngine, InDetDD::IPixelReadoutManager *pixelReadout)
Definition: PixelNoiseFunctions.cxx:73
PixelID
Definition: PixelID.h:67
Amg::distance
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
Definition: GeoPrimitivesHelpers.h:54
updateCoolNtuple.limit
int limit
Definition: updateCoolNtuple.py:45
FrontEndSimTool::m_pixelConditionsTool
ToolHandle< IInDetConditionsTool > m_pixelConditionsTool
Definition: FrontEndSimTool.h:55
FEI3SimTool::process
virtual void process(SiChargedDiodeCollection &chargedDiodes, PixelRDO_Collection &rdoCollection, CLHEP::HepRandomEngine *rndmEngine)
Definition: FEI3SimTool.cxx:41
FEI3SimTool.h
dumpTgcDigiThreshold.threshold
list threshold
Definition: dumpTgcDigiThreshold.py:34
InDetDD::SolidStateDetectorElementBase::cellIdFromIdentifier
virtual SiCellId cellIdFromIdentifier(const Identifier &identifier) const =0
SiCellId from Identifier.
PixelDigitization::randomDisable
void randomDisable(SiChargedDiodeCollection &chargedDiodes, const PixelModuleData *moduleData, CLHEP::HepRandomEngine *rndmEngine)
Definition: PixelNoiseFunctions.cxx:146
InDetDD::SolidStateDetectorElementBase::identify
virtual Identifier identify() const override final
identifier of this detector element (inline)
PixelDigitization::thermalNoise
void thermalNoise(double thermalNoise, SiChargedDiodeCollection &chargedDiodes, CLHEP::HepRandomEngine *rndmEngine)
Definition: PixelNoiseFunctions.cxx:61
SiChargedDiodeCollection.h
SiChargedDiodeCollection::identify
virtual Identifier identify() const override final
Definition: SiChargedDiodeCollection.h:230
FEI3SimTool::m_duplication
Gaudi::Property< bool > m_duplication
Definition: FEI3SimTool.h:41