5#ifndef ISF_FATRASTOOLSID_HITCREATORSILICON_H
6#define ISF_FATRASTOOLSID_HITCREATORSILICON_H
14#include "GaudiKernel/RndmGenerators.h"
15#include "GaudiKernel/ServiceHandle.h"
16#include "GaudiKernel/ToolHandle.h"
17#include "GaudiKernel/IIncidentListener.h"
22#include "CLHEP/Random/RandomEngine.h"
24#include "Identifier/Identifier.h"
67 void handle(
const Incident& inc);
100 ToolHandle<IInDetConditionsTool>
m_condSummaryTool{
this,
"ConditionsTool",
"PixelConditionsSummaryTool"};
108 double energyDeposit_fast(
const ISF::ISFParticle& isp,
bool& isPix,
bool& isSCT )
const;
111 double energyDeposit_exact(
const ISF::ISFParticle& isp,
bool& isPix,
bool& isSCT )
const;
std::pair< const Trk::TrackParameters *, const Trk::RIO_OnTrack * > ParametersROT
std::pair< const Trk::TrackParameters *, const Trk::Layer * > ParametersLayer
AtlasHitsVector< SiHit > SiHitCollection
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
The generic ISF particle definition,.
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
The Athena Transient Store API.
StringProperty m_collectionName
name of the collection on storegate
void handle(const Incident &inc)
handle for incident service
const std::vector< ParametersROT > * createHits(const ISF::ISFParticle &, const ParametersLayer &) const
Return the cluster on Track – the PrepRawData is contained in this one.
TF1 * m_dEdX_function
function to evaluate dEdx
BooleanProperty m_useConditionsTool
HitCreatorSilicon(const std::string &, const std::string &, const IInterface *)
Constructor.
ServiceHandle< IIncidentSvc > m_incidentSvc
void createSimHit(const ISF::ISFParticle &isp, const Trk::TrackParameters &, double) const
Return nothing - store the HIT in hit collection.
const ParametersROT * createHit(const ISF::ISFParticle &, const Trk::TrackParameters &) const
Return the cluster on Track – the PrepRawData is contained in this one.
CLHEP::HepRandomEngine * m_randomEngine
Random Engine.
StatusCode finalize()
AlgTool finalize method.
const PixelID * m_pixIdHelper
the Pixel ID helper
StringProperty m_siIdHelperName
where to find the Si helper
StringProperty m_randomEngineName
Name of the random number stream.
DoubleProperty m_siPathToCharge
convert path in silicon to charge
ToolHandle< IInDetConditionsTool > m_condSummaryTool
ToolHandle to ClusterMaker.
ServiceHandle< IAtRndmGenSvc > m_randomSvc
Pointer to the random number generator service.
virtual ~HitCreatorSilicon()=default
Destructor.
SiHitCollection * m_hitColl
the SiHit collection
const SCT_ID * m_sctIdHelper
the SCT ID helper
BooleanProperty m_fastEnergyDepositionModel
use fast energy deposition model (landau approximation )
ParametersBase< TrackParametersDim, Charged > TrackParameters