Standard ATLAS hit creator for the Inner Detector, uses the ID helper to call the appropriate HitCreator.
More...
#include <SimHitCreatorID.h>
Standard ATLAS hit creator for the Inner Detector, uses the ID helper to call the appropriate HitCreator.
- Author
- sarka.nosp@m..tod.nosp@m.orova.nosp@m.@cer.nosp@m.n.ch
Definition at line 37 of file SimHitCreatorID.h.
◆ SimHitCreatorID()
| iFatras::SimHitCreatorID::SimHitCreatorID |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
◆ ~SimHitCreatorID()
| iFatras::SimHitCreatorID::~SimHitCreatorID |
( |
| ) |
|
◆ createHits()
Loop over the hits and call the hit creator, provide the ISF::StackParticle to register the hits.
Definition at line 66 of file SimHitCreatorID.cxx.
66 {
67
68 std::vector<Trk::HitInfo>::const_iterator plIter =
hitVector.begin();
69 std::vector<Trk::HitInfo>::const_iterator plIterEnd =
hitVector.end();
71 for ( ; plIter != plIterEnd; ++plIter ){
72
73
75 double time = (*plIter).time;
76
78
79
80 Identifier hitId = hitDetElement ? hitDetElement->
identify() : Identifier();
82
83
84
87 }
89
90
91
94 }
96
97
98
101 }
102 }
104}
#define ATH_MSG_VERBOSE(x)
std::vector< FPGATrackSimHit > hitVector
static const uint32_t nHits
virtual const Surface & associatedSurface() const override=0
Access to the Surface associated to the Parameters.
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
virtual Identifier identify() const =0
Identifier.
PublicToolHandle< iFatras::IHitCreator > m_pixelHitCreator
Cluster creator AlgTool.
const AtlasDetectorID * m_idHelper
PublicToolHandle< iFatras::IHitCreator > m_sctHitCreator
PublicToolHandle< iFatras::IHitCreator > m_trtHitCreator
time(flags, cells_name, *args, **kw)
ParametersBase< TrackParametersDim, Charged > TrackParameters
◆ initialize()
| StatusCode iFatras::SimHitCreatorID::initialize |
( |
| ) |
|
AlgTool initailize method.
Definition at line 53 of file SimHitCreatorID.cxx.
54{
56
60
62 return StatusCode::SUCCESS;
63}
#define ATH_CHECK
Evaluate an expression and check for errors.
std::string m_idHelperName
Used to find out the sub-det from.
retrieve(aClass, aKey=None)
◆ m_idHelper
◆ m_idHelperName
| std::string iFatras::SimHitCreatorID::m_idHelperName {"AtlasID"} |
|
private |
◆ m_pixelHitCreator
| PublicToolHandle<iFatras::IHitCreator> iFatras::SimHitCreatorID::m_pixelHitCreator {this, "PixelHitCreator", ""} |
|
private |
Cluster creator AlgTool.
Definition at line 56 of file SimHitCreatorID.h.
56{this, "PixelHitCreator", ""};
◆ m_sctHitCreator
| PublicToolHandle<iFatras::IHitCreator> iFatras::SimHitCreatorID::m_sctHitCreator {this, "SctHitCreator", ""} |
|
private |
◆ m_trtHitCreator
| PublicToolHandle<iFatras::IHitCreator> iFatras::SimHitCreatorID::m_trtHitCreator {this, "TrtHitCreator", ""} |
|
private |
The documentation for this class was generated from the following files: