ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
EnergyDepositionTool Class Reference

#include <EnergyDepositionTool.h>

Inheritance diagram for EnergyDepositionTool:
Collaboration diagram for EnergyDepositionTool:

Public Member Functions

 EnergyDepositionTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode initialize ()
 
virtual StatusCode finalize ()
 
virtual ~EnergyDepositionTool ()
 
StatusCode initTools ()
 
std::vector< std::pair< double, double > > bichselSim (double BetaGamma, int ParticleType, double TotalLength, double InciEnergy, CLHEP::HepRandomEngine *rndmEngine) const
 
std::vector< std::pair< double, double > > clusterHits (std::vector< std::pair< double, double > > &rawHitRecord, int n_pieces) const
 
virtual StatusCode depositEnergy (const TimedHitPtr< SiHit > &phit, const InDetDD::SiDetectorElement &Module, std::vector< std::pair< double, double > > &trfHitRecord, std::vector< double > &initialConditions, CLHEP::HepRandomEngine *rndmEngine, const EventContext &ctx)
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

 EnergyDepositionTool ()
 
void simulateBow (const InDetDD::SiDetectorElement *element, double &xi, double &yi, const double zi, double &xf, double &yf, const double zf) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

const PixelIDm_pixelID
 
std::vector< BichselDatam_bichselData
 
Gaudi::Property< int > m_numberOfSteps
 
Gaudi::Property< int > m_numberOfCharges
 
Gaudi::Property< bool > m_disableDistortions
 
Gaudi::Property< bool > m_doBichsel
 
Gaudi::Property< double > m_doBichselBetaGammaCut
 
Gaudi::Property< bool > m_doDeltaRay
 
Gaudi::Property< double > m_DeltaRayCut
 
Gaudi::Property< bool > m_doPU
 
Gaudi::Property< int > m_nCols
 
Gaudi::Property< int > m_LoopLimit
 
SG::ReadCondHandleKey< PixelDistortionDatam_distortionKey
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 43 of file EnergyDepositionTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ EnergyDepositionTool() [1/2]

EnergyDepositionTool::EnergyDepositionTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 83 of file EnergyDepositionTool.cxx.

83  :

◆ ~EnergyDepositionTool()

EnergyDepositionTool::~EnergyDepositionTool ( )
virtualdefault

◆ EnergyDepositionTool() [2/2]

EnergyDepositionTool::EnergyDepositionTool ( )
private

Member Function Documentation

◆ bichselSim()

std::vector< std::pair< double, double > > EnergyDepositionTool::bichselSim ( double  BetaGamma,
int  ParticleType,
double  TotalLength,
double  InciEnergy,
CLHEP::HepRandomEngine *  rndmEngine 
) const

Definition at line 308 of file EnergyDepositionTool.cxx.

309  {
310  ATH_MSG_DEBUG("Begin EnergyDepositionTool::bichselSim");
311 
312  // prepare hit record (output)
313  std::vector<std::pair<double, double> > rawHitRecord;
314  double TotalEnergyLoss = 0.;
315  double accumLength = 0.;
316 
317  if (BetaGamma <= std::numeric_limits<double>::min()){
318  setFailureFlag(rawHitRecord);
319  return rawHitRecord;
320  }
321 
322  // load relevant data
323  const BichselData& iData = m_bichselData[ParticleType - 1];
324  double BetaGammaLog10 = std::log10(BetaGamma);
325  std::pair<int, int> indices_BetaGammaLog10 = iData.getBetaGammaIndices(BetaGammaLog10);
326 
327  // upper bound
328  double IntXUpperBound = iData.interpolateCrossSection(indices_BetaGammaLog10, BetaGammaLog10);
329  if (IntXUpperBound <= 0.) {
330  ATH_MSG_WARNING("Negative IntXUpperBound in EnergyDepositionTool::bichselSim! (-1,-1) will be returned for log(betaGamma) = "<<BetaGammaLog10);
331  setFailureFlag(rawHitRecord);
332  return rawHitRecord;
333  }
334 
335  if(IntXUpperBound<std::numeric_limits<double>::min()){
336  setFailureFlag(rawHitRecord);
337  return rawHitRecord;
338  }
339 
340  // mean-free path
341  double lambda = (1. / IntXUpperBound) * 1.E4; // unit of IntX is cm-1. It needs to be converted to micrometer-1
342 
343 
344  // direct those hits with potential too many steps into nominal simulation
345  int LoopLimit = m_LoopLimit; // limit assuming 1 collision per sampling
346  if (std::abs(1.0 * TotalLength / lambda) > LoopLimit) { // m_nCols is cancelled out in the formula
347  setFailureFlag(rawHitRecord);
348  return rawHitRecord;
349  }
350 
351  // begin simulation
352  int count = 0;
353  while (true) {
354  // infinite loop protection
355  if (count >= (1.0 * LoopLimit / m_nCols)) {
357  "Potential infinite loop in bichselSim. Exit Loop. A special flag "
358  "will be returned (-1,-1). The total length is "
359  << TotalLength << ". The lambda is " << lambda << ".");
360  setFailureFlag(rawHitRecord);
361  break;
362  }
363 
364  // sample hit position -- exponential distribution
365  double HitPosition = 0.;
366  for (int iHit = 0; iHit < m_nCols; iHit++) {
367  HitPosition += CLHEP::RandExpZiggurat::shoot(rndmEngine, lambda);
368  }
369  // termination by hit position
370  // yes, in case m_nCols > 1, we will loose the last m_nCols collisions. So m_nCols cannot be too big
371  if (accumLength + HitPosition >= TotalLength) break;
372 
373  // sample single collision
374  double TossEnergyLoss = -1.;
375  while (TossEnergyLoss <= 0.) { // we have to do this because sometimes TossEnergyLoss will be negative due to too
376  // small TossIntX
377  double TossIntX = CLHEP::RandFlat::shoot(rndmEngine, 0., IntXUpperBound);
378  TossEnergyLoss = iData.interpolateCollisionEnergy(indices_BetaGammaLog10, std::log10(TossIntX));
379  }
380 
381  // check if it is delta-ray -- delta-ray is already taken care of by G4 and treated as an independent hit.
382  // Unfortunately, we won't deal with delta-ray using Bichsel's model
383  // as long as m_nCols is not very big, the probability of having >= 2 such a big energy loss in a row is very small.
384  // In case there is a delta-ray, it would be so dominant that other energy deposition becomes negligible
385  if (TossEnergyLoss > (m_DeltaRayCut * 1000.)) {
386  TossEnergyLoss = 0.;
387  }
388 
389  bool fLastStep = false;
390 
391  if (((TotalEnergyLoss + TossEnergyLoss) / 1.E+6) > InciEnergy) {
393  "Energy loss is larger than incident energy in EnergyDepositionTool::bichselSim! This is usually delta-ray.");
394  TossEnergyLoss = InciEnergy * 1.E+6 - TotalEnergyLoss;
395  fLastStep = true;
396  }
397 
398  // update
399  accumLength += HitPosition;
400  TotalEnergyLoss += TossEnergyLoss;
401 
402  // record this hit
403  std::pair<double, double> oneHit;
404  if (m_nCols == 1) oneHit.first = accumLength;
405  else oneHit.first = (accumLength - 1.0 * HitPosition / 2);// as long as m_nCols is small enough (making sure lambda*m_nCols is within resolution of a pixel), then taking middle point might still be reasonable
406  oneHit.second = TossEnergyLoss;
407  rawHitRecord.push_back(oneHit);
408 
409  count++;
410 
411  if (fLastStep) break;
412  }
413 
414  ATH_MSG_DEBUG("Finish EnergyDepositionTool::bichselSim");
415 
416  return rawHitRecord;
417 }

◆ clusterHits()

std::vector< std::pair< double, double > > EnergyDepositionTool::clusterHits ( std::vector< std::pair< double, double > > &  rawHitRecord,
int  n_pieces 
) const

Definition at line 422 of file EnergyDepositionTool.cxx.

424  {
425  ATH_MSG_DEBUG("Begin EnergyDepositionTool::clusterHits");
426  std::vector<std::pair<double, double> > trfHitRecord;
427 
428  if ((int) (rawHitRecord.size()) < n_pieces) { // each single collision is the most fundamental unit
429  n_pieces = rawHitRecord.size();
430  }
431 
432  int unitlength = int(1.0 * rawHitRecord.size() / n_pieces);
433  int index_start = 0;
434  int index_end = unitlength - 1; // [index_start, index_end] are included
435  while (true) {
436  // calculate weighted center of each slice
437  double position = 0.;
438  double energyloss = 0.;
439 
440  for (int index = index_start; index <= index_end; index++) {
441  position += (rawHitRecord[index].first * rawHitRecord[index].second);
442  energyloss += rawHitRecord[index].second;
443  }
444  position = (energyloss == 0. ? 0. : position / energyloss);
445 
446  // store
447  std::pair<double, double> oneHit;
448  oneHit.first = position;
449  oneHit.second = energyloss;
450  trfHitRecord.push_back(oneHit);
451 
452  // procede to next slice
453  index_start = index_end + 1;
454  index_end = index_start + unitlength - 1;
455 
456  if (index_start > (int) (rawHitRecord.size() - 1)) {
457  break;
458  }
459 
460  if (index_end > (int) (rawHitRecord.size() - 1)) {
461  index_end = rawHitRecord.size() - 1;
462  }
463  }
464 
465  ATH_MSG_DEBUG("Finish EnergyDepositionTool::clusterHits");
466 
467  return trfHitRecord;
468 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ depositEnergy()

StatusCode EnergyDepositionTool::depositEnergy ( const TimedHitPtr< SiHit > &  phit,
const InDetDD::SiDetectorElement Module,
std::vector< std::pair< double, double > > &  trfHitRecord,
std::vector< double > &  initialConditions,
CLHEP::HepRandomEngine *  rndmEngine,
const EventContext &  ctx 
)
virtual

Definition at line 135 of file EnergyDepositionTool.cxx.

139  {
140  ATH_MSG_DEBUG("Deposit energy in sensor volume.");
141 
142  //Check if simulated particle or delta ray
143  const HepMcParticleLink McLink = HepMcParticleLink::getRedirectedLink(phit->particleLink(), phit.eventId(), ctx); // This link should now correctly resolve to the TruthEvent McEventCollection in the main StoreGateSvc.
144  HepMC::ConstGenParticlePtr genPart = McLink.cptr();
145  bool delta_hit = true;
146  if (genPart) delta_hit = false;
147  double sensorThickness = Module.design().thickness();
148 
149 
150  //Get path of particle through volume of G4
151  double stepsize = sensorThickness / m_numberOfSteps;
152  const CLHEP::Hep3Vector startPosition = phit->localStartPosition();
153  const CLHEP::Hep3Vector endPosition = phit->localEndPosition();
154 
155  //Get entry and exit positions, store for SensorSim tools
156  double eta_0 = startPosition[SiHit::xEta];
157  double phi_0 = startPosition[SiHit::xPhi];
158  const double depth_0 = startPosition[SiHit::xDep];
159 
160  double eta_f = endPosition[SiHit::xEta];
161  double phi_f = endPosition[SiHit::xPhi];
162  const double depth_f = endPosition[SiHit::xDep];
163 
164  //Simulate effect of bowing on entry and exit points
165  if (!m_disableDistortions && !delta_hit) simulateBow(&Module, phi_0, eta_0, depth_0, phi_f, eta_f, depth_f);
166 
167  double dEta = eta_f - eta_0;
168  double dPhi = phi_f - phi_0;
169  const double dDepth = depth_f - depth_0;
170  double pathLength = std::sqrt(dEta * dEta + dPhi * dPhi + dDepth * dDepth);
171 
172  //Scale steps and charge chunks
173  const int nsteps = int(pathLength / stepsize) + 1;
174  const int ncharges = this->m_numberOfCharges * this->m_numberOfSteps / nsteps + 1;
175 
176  //Store information
177  initialConditions.clear();
178  initialConditions = {eta_0, phi_0, depth_0, dEta, dPhi, dDepth, static_cast<double>(ncharges)};
179 
181  // *** For Bichsel *** //
183  double iTotalLength = pathLength * 1000.; // mm -> micrometer
184  initialConditions.push_back(iTotalLength);
185 
186  // -1 ParticleType means we are unable to run Bichel simulation for this case
187  int ParticleType = -1;
188  if (m_doBichsel and !(Module.isDBM()) and genPart) {
189  ParticleType = delta_hit ? (m_doDeltaRay ? 4 : -1) : trfPDG(genPart->pdg_id());
190  if (ParticleType != -1) { // this is a protection in case delta_hit == true (a delta ray)
191  TLorentzVector genPart_4V;
192 
193  if (genPart) { // non-delta-ray
194  genPart_4V.SetPtEtaPhiM(genPart->momentum().perp(), genPart->momentum().eta(),
195  genPart->momentum().phi(), genPart->momentum().m());
196  if (iBetaGammaFn(genPart_4V) < m_doBichselBetaGammaCut){
197  ParticleType = -1;
198  }
199  } else { // delta-ray.
200  double k = phit->energyLoss() / CLHEP::MeV; // unit of MeV
201  if (iBetaGammaFn(k) < m_doBichselBetaGammaCut){
202  ParticleType = -1;
203  }
204  }
205 
206  // In-time PU
207  if (!m_doPU) {
208  if (phit.eventId() != 0) ParticleType = -1;
209  }
210 
211  // Out-of-time PU
212  // We don't cut on the out-of-time PU, since studies show that the fraction is too small
213  }
214  }
215 
216  if (ParticleType != -1) { // yes, good to go with Bichsel
217  // I don't know why genPart->momentum() goes crazy ...
218  TLorentzVector genPart_4V;
219  double iBetaGamma=0.;
220  if (genPart) {
221  genPart_4V.SetPtEtaPhiM(genPart->momentum().perp(), genPart->momentum().eta(),
222  genPart->momentum().phi(), genPart->momentum().m());
223  iBetaGamma = iBetaGammaFn(genPart_4V);
224  } else {
225  double k = phit->energyLoss() / CLHEP::MeV; // unit of MeV // unit of MeV
226  iBetaGamma = iBetaGammaFn(k);
227  }
228 
229  int iParticleType = ParticleType;
230  // begin simulation
231  std::vector<std::pair<double, double> > rawHitRecord = bichselSim(iBetaGamma, iParticleType, iTotalLength,
232  genPart ? (genPart->momentum().e() /
233  CLHEP::MeV) : (phit->energyLoss() /
234  CLHEP::MeV),
235  rndmEngine);
236 
237  // check if returned simulation result makes sense
238  if (rawHitRecord.empty()) { // deal with rawHitRecord==0 specifically -- no energy deposition
239  std::pair<double, double> specialHit;
240  specialHit.first = 0.;
241  specialHit.second = 0.;
242  trfHitRecord.push_back(specialHit);
243  } else if ((rawHitRecord.size() == 1) && (rawHitRecord[0].first == -1.) && (rawHitRecord[0].second == -1.)) { // special flag returned from bichselSim meaning it FAILs
244  for (int j = 0; j < nsteps; j++) { // do the same thing as old digitization method
245  std::pair<double, double> specialHit;
246  specialHit.first = 1.0 * iTotalLength / nsteps * (j + 0.5);
247  specialHit.second = phit->energyLoss() * 1.E+6 / nsteps;
248  trfHitRecord.push_back(specialHit);
249  }
250  } else { // cluster thousands hits to ~20 groups
251  trfHitRecord = clusterHits(rawHitRecord, nsteps);
252  }
253  } else { // same as old digitization method
255  // *** B I C H S E L O F F *** //
257  //double iTotalLength = pathLength*1000.; // mm -> micrometer
258  for (int j = 0; j < nsteps; j++) { // do the same thing as old digitization method
259  std::pair<double, double> specialHit;
260  specialHit.first = 1.0 * iTotalLength / nsteps * (j + 0.5);
261  specialHit.second = phit->energyLoss() * 1.E+6 / nsteps;
262  trfHitRecord.push_back(specialHit);
263  }
264  }
265 
266  // *** Finsih Bichsel *** //
267  return StatusCode::SUCCESS;
268 }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ finalize()

StatusCode EnergyDepositionTool::finalize ( )
virtual

Definition at line 127 of file EnergyDepositionTool.cxx.

127  {
128  ATH_MSG_DEBUG("EnergyDepositionTool::finalize()");
129  return StatusCode::SUCCESS;
130 }

◆ initialize()

StatusCode EnergyDepositionTool::initialize ( )
virtual

Definition at line 91 of file EnergyDepositionTool.cxx.

91  {
92  ATH_MSG_INFO("You are using EnergyDepositionTool for solid-state silicon detectors.");
93 
94  ATH_CHECK(detStore()->retrieve(m_pixelID, "PixelID"));
95 
96  //Setup distortions tool
97  if (!m_disableDistortions) {
98  ATH_MSG_DEBUG("Getting distortions tool");
100  }
101 
102  if (m_doBichsel) {
103  // Load Bichsel data
104  m_bichselData.clear();
105  ATH_MSG_INFO("The number of collision for each sampling is " << m_nCols);
106  ATH_MSG_INFO("Loading data file");
107  int n_ParticleType = 6;
108  for (int iParticleType = 1; iParticleType <= n_ParticleType; iParticleType++) {
109  const std::string & inputFileName(PixelDigitization::formBichselDataFileName(iParticleType, m_nCols));
110  const std::string & fullFileName = PathResolverFindCalibFile(inputFileName);
111  ATH_MSG_INFO("Bichsel Data File "<<fullFileName);
113  m_bichselData.push_back(iData);
114  }
115  ATH_MSG_INFO("Finish Loading Data File");
116  }
117 
118 
119  m_doDeltaRay = (m_doBichsel && m_doDeltaRay); // if we don't do Bichsel model, no re-simulation on delta-ray at
120  // all!
121  return StatusCode::SUCCESS;
122 }

◆ initTools()

StatusCode EnergyDepositionTool::initTools ( )

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ interfaceID()

static const InterfaceID& EnergyDepositionTool::interfaceID ( )
static

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ simulateBow()

void EnergyDepositionTool::simulateBow ( const InDetDD::SiDetectorElement element,
double &  xi,
double &  yi,
const double  zi,
double &  xf,
double &  yf,
const double  zf 
) const
private

Definition at line 273 of file EnergyDepositionTool.cxx.

274  {
275  // If tool is NONE we apply no correction.
276  Amg::Vector3D dir(element->hitPhiDirection() * (xf - xi),
277  element->hitEtaDirection() * (yf - yi), element->hitDepthDirection() * (zf - zi));
278 
279  Amg::Vector2D locposi = element->hitLocalToLocal(yi, xi);
280  Amg::Vector2D locposf = element->hitLocalToLocal(yf, xf);
281 
283  element->
284  identify()), locposi,
285  dir);
287  element->
288  identify()), locposf,
289  dir);
290 
291  // Extract new coordinates and convert back to hit frame.
292  xi = newLocposi[Trk::x] * element->hitPhiDirection();
293  yi = newLocposi[Trk::y] * element->hitEtaDirection();
294 
295  xf = newLocposf[Trk::x] * element->hitPhiDirection();
296  yf = newLocposf[Trk::y] * element->hitEtaDirection();
297 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_bichselData

std::vector<BichselData> EnergyDepositionTool::m_bichselData
private

Definition at line 73 of file EnergyDepositionTool.h.

◆ m_DeltaRayCut

Gaudi::Property<double> EnergyDepositionTool::m_DeltaRayCut
private
Initial value:
{
this, "DeltaRayCut", 80.7687, "Cut of delta ray [keV] - Value should be consistent with range cut in simulation"
}

Definition at line 105 of file EnergyDepositionTool.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_disableDistortions

Gaudi::Property<bool> EnergyDepositionTool::m_disableDistortions
private
Initial value:
{
this, "DisableDistortions", false, "Disable simulation of module distortions"
}

Definition at line 85 of file EnergyDepositionTool.h.

◆ m_distortionKey

SG::ReadCondHandleKey<PixelDistortionData> EnergyDepositionTool::m_distortionKey
private
Initial value:
{
this, "PixelDistortionData", "PixelDistortionData", "Output readout distortion data"
}

Definition at line 125 of file EnergyDepositionTool.h.

◆ m_doBichsel

Gaudi::Property<bool> EnergyDepositionTool::m_doBichsel
private
Initial value:
{
this, "doBichsel", true, "re-do charge deposition following Bichsel model"
}

Definition at line 90 of file EnergyDepositionTool.h.

◆ m_doBichselBetaGammaCut

Gaudi::Property<double> EnergyDepositionTool::m_doBichselBetaGammaCut
private
Initial value:
{
this, "doBichselBetaGammaCut", 0.1, "minimum beta-gamma for particle to be re-simulated through Bichsel Model"
}

Definition at line 95 of file EnergyDepositionTool.h.

◆ m_doDeltaRay

Gaudi::Property<bool> EnergyDepositionTool::m_doDeltaRay
private
Initial value:
{
this, "doDeltaRay", false, "whether we simulate delta-ray using Bichsel model"
}

Definition at line 100 of file EnergyDepositionTool.h.

◆ m_doPU

Gaudi::Property<bool> EnergyDepositionTool::m_doPU
private
Initial value:
{
this, "doPU", true, "Whether we apply Bichsel model on PU"
}

Definition at line 110 of file EnergyDepositionTool.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_LoopLimit

Gaudi::Property<int> EnergyDepositionTool::m_LoopLimit
private
Initial value:
{
this, "LoopLimit", 100000, "Limit assuming 1 collision per sampling"
}

Definition at line 120 of file EnergyDepositionTool.h.

◆ m_nCols

Gaudi::Property<int> EnergyDepositionTool::m_nCols
private
Initial value:
{
this, "nCols", 1, "Number of collision for each sampling"
}

Definition at line 115 of file EnergyDepositionTool.h.

◆ m_numberOfCharges

Gaudi::Property<int> EnergyDepositionTool::m_numberOfCharges
private
Initial value:
{
this, "numberOfCharges", 10, "Geant4:number of charges for PixelPlanar"
}

Definition at line 80 of file EnergyDepositionTool.h.

◆ m_numberOfSteps

Gaudi::Property<int> EnergyDepositionTool::m_numberOfSteps
private
Initial value:
{
this, "numberOfSteps", 50, "Geant4:number of steps for PixelPlanar"
}

Definition at line 75 of file EnergyDepositionTool.h.

◆ m_pixelID

const PixelID* EnergyDepositionTool::m_pixelID
private
Initial value:
{
nullptr
}

Definition at line 69 of file EnergyDepositionTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
EnergyDepositionTool::bichselSim
std::vector< std::pair< double, double > > bichselSim(double BetaGamma, int ParticleType, double TotalLength, double InciEnergy, CLHEP::HepRandomEngine *rndmEngine) const
Definition: EnergyDepositionTool.cxx:308
Trk::y
@ y
Definition: ParamDefs.h:56
BichselData::interpolateCrossSection
double interpolateCrossSection(std::pair< int, int > indices_BetaGammaLog10, double BetaGammaLog10) const
Definition: BichselData.cxx:116
EnergyDepositionTool::m_doBichsel
Gaudi::Property< bool > m_doBichsel
Definition: EnergyDepositionTool.h:91
SiHit::xDep
@ xDep
Definition: SiHit.h:162
InDetDD::DetectorDesign::thickness
double thickness() const
Method which returns thickness of the silicon wafer.
Definition: DetectorDesign.h:271
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
EnergyDepositionTool::simulateBow
void simulateBow(const InDetDD::SiDetectorElement *element, double &xi, double &yi, const double zi, double &xf, double &yf, const double zf) const
Definition: EnergyDepositionTool.cxx:273
InDetDD::SolidStateDetectorElementBase::hitEtaDirection
double hitEtaDirection() const
See previous method.
BichselData::getBetaGammaIndices
std::pair< int, int > getBetaGammaIndices(double BetaGammaLog10) const
Definition: BichselData.cxx:50
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
index
Definition: index.py:1
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
SiHit::xPhi
@ xPhi
Definition: SiHit.h:162
python.HLT.MinBias.MinBiasMenuSequences.zf
zf
Definition: MinBiasMenuSequences.py:220
python.SystemOfUnits.MeV
int MeV
Definition: SystemOfUnits.py:154
EnergyDepositionTool::m_doBichselBetaGammaCut
Gaudi::Property< double > m_doBichselBetaGammaCut
Definition: EnergyDepositionTool.h:96
InDetDD::SolidStateDetectorElementBase::hitPhiDirection
double hitPhiDirection() const
See previous method.
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
BichselData
Definition: BichselData.h:14
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
xAOD::identify
Identifier identify(const UncalibratedMeasurement *meas)
Returns the associated identifier.
Definition: MuonSpectrometer/MuonPhaseII/Event/xAOD/xAODMuonPrepData/Root/UtilFunctions.cxx:61
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:27
InDetDD::SolidStateDetectorElementBase::hitDepthDirection
double hitDepthDirection() const
Directions of hit depth,phi,eta axes relative to reconstruction local position axes (LocalPosition).
EnergyDepositionTool::m_distortionKey
SG::ReadCondHandleKey< PixelDistortionData > m_distortionKey
Definition: EnergyDepositionTool.h:126
EnergyDepositionTool::m_pixelID
const PixelID * m_pixelID
Definition: EnergyDepositionTool.h:69
EnergyDepositionTool::m_nCols
Gaudi::Property< int > m_nCols
Definition: EnergyDepositionTool.h:116
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
PixelID::wafer_hash
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
Definition: PixelID.h:387
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
EnergyDepositionTool::m_doPU
Gaudi::Property< bool > m_doPU
Definition: EnergyDepositionTool.h:111
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
EnergyDepositionTool::m_DeltaRayCut
Gaudi::Property< double > m_DeltaRayCut
Definition: EnergyDepositionTool.h:106
TauGNNUtils::Variables::Track::dPhi
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:538
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
EnergyDepositionTool::m_numberOfCharges
Gaudi::Property< int > m_numberOfCharges
Definition: EnergyDepositionTool.h:81
PixelDigitization::getBichselDataFromFile
BichselData getBichselDataFromFile(const std::string &fullFilename)
Definition: PixelDigitizationUtilities.cxx:28
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
beamspotman.dir
string dir
Definition: beamspotman.py:623
InDetDD::SolidStateDetectorElementBase::hitLocalToLocal
Amg::Vector2D hitLocalToLocal(double xEta, double xPhi) const
Simulation/Hit local frame to reconstruction local frame.
Definition: SolidStateDetectorElementBase.cxx:95
min
#define min(a, b)
Definition: cfImp.cxx:40
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
EnergyDepositionTool::m_disableDistortions
Gaudi::Property< bool > m_disableDistortions
Definition: EnergyDepositionTool.h:86
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
VP1PartSpect::E
@ E
Definition: VP1PartSpectFlags.h:21
EnergyDepositionTool::m_bichselData
std::vector< BichselData > m_bichselData
Definition: EnergyDepositionTool.h:73
BichselData::interpolateCollisionEnergy
double interpolateCollisionEnergy(std::pair< int, int > indices_BetaGammaLog10, double IntXLog10) const
Definition: BichselData.cxx:72
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
SiHit::xEta
@ xEta
Definition: SiHit.h:162
PathResolverFindCalibFile
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Definition: PathResolver.cxx:431
DeMoScan.index
string index
Definition: DeMoScan.py:364
a
TList * a
Definition: liststreamerinfos.cxx:10
h
TimedHitPtr::eventId
unsigned short eventId() const
the index of the component event in PileUpEventInfo.
Definition: TimedHitPtr.h:45
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
PixelDigitization::formBichselDataFileName
std::string formBichselDataFileName(int particleType, unsigned int nCols)
Definition: PixelDigitizationUtilities.cxx:18
InDetDD::SiDetectorElement::isDBM
bool isDBM() const
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
EnergyDepositionTool::m_LoopLimit
Gaudi::Property< int > m_LoopLimit
Definition: EnergyDepositionTool.h:121
Trk::x
@ x
Definition: ParamDefs.h:55
InDetDD::SiDetectorElement::design
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
EnergyDepositionTool::m_doDeltaRay
Gaudi::Property< bool > m_doDeltaRay
Definition: EnergyDepositionTool.h:101
TauGNNUtils::Variables::Track::dEta
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:527
ParticleType
ParticleType
Definition: TruthClasses.h:8
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
EnergyDepositionTool::clusterHits
std::vector< std::pair< double, double > > clusterHits(std::vector< std::pair< double, double > > &rawHitRecord, int n_pieces) const
Definition: EnergyDepositionTool.cxx:422
fitman.k
k
Definition: fitman.py:528
EnergyDepositionTool::m_numberOfSteps
Gaudi::Property< int > m_numberOfSteps
Definition: EnergyDepositionTool.h:76