5#ifndef ISF_FATRASTOOLSID_HITCREATORTRT_H
6#define ISF_FATRASTOOLSID_HITCREATORTRT_H
13#include "GaudiKernel/RndmGenerators.h"
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
16#include "GaudiKernel/IIncidentListener.h"
21#include "CLHEP/Random/RandomEngine.h"
23#include "Identifier/Identifier.h"
49 HitCreatorTRT(
const std::string&,
const std::string&,
const IInterface*);
58 void handle(
const Incident& inc);
86 ToolHandle<ITRT_StrawStatusSummaryTool>
m_trtStatusSummaryTool{
this,
"StrawStatusSummaryTool",
"TRT_StrawStatusSummaryTool"};
std::pair< const Trk::TrackParameters *, const Trk::RIO_OnTrack * > ParametersROT
std::pair< const Trk::TrackParameters *, const Trk::Layer * > ParametersLayer
AtlasHitsVector< TRTUncompressedHit > TRTUncompressedHitCollection
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,.
This is an Identifier helper class for the TRT subdetector.
void handle(const Incident &inc)
handle for incident service
TRTUncompressedHitCollection * m_hitColl
the sim hit collection
ServiceHandle< IIncidentSvc > m_incidentSvc
const TRT_ID * m_trtIdHelper
TRT ID helper.
ServiceHandle< IAtRndmGenSvc > m_randomSvc
Pointer to the random number generator service.
StringProperty m_collectionName
name of the collection on storegate
ToolHandle< ITRT_StrawStatusSummaryTool > m_trtStatusSummaryTool
Handle to TRT conditions service.
CLHEP::HepRandomEngine * m_randomEngine
Random Engine.
const std::vector< ParametersROT > * createHits(const ISF::ISFParticle &, const ParametersLayer &) const
Return the cluster on Track – the PrepRawData is contained in this one.
const ParametersROT * createHit(const ISF::ISFParticle &, const Trk::TrackParameters &) const
Return the cluster on Track – the PrepRawData is contained in this one.
StringProperty m_trtIdHelperName
where to find the SCT helper
StringProperty m_randomEngineName
Name of the random number stream.
virtual ~HitCreatorTRT()=default
Destructor.
HitCreatorTRT(const std::string &, const std::string &, const IInterface *)
Constructor.
void createSimHit(const ISF::ISFParticle &isp, const Trk::TrackParameters &, double) const
Record the hit.
ParametersBase< TrackParametersDim, Charged > TrackParameters