20 #include "CLHEP/Units/SystemOfUnits.h"
21 #include "CLHEP/Random/RandFlat.h"
22 #include "CLHEP/Random/RandGauss.h"
57 ATH_CHECK ( m_pixelHitCreator.retrieve( DisableTool(m_pixelHitCreator.empty()) ) );
58 ATH_CHECK ( m_sctHitCreator.retrieve( DisableTool(m_sctHitCreator.empty()) ) );
59 ATH_CHECK ( m_trtHitCreator.retrieve( DisableTool(m_trtHitCreator.empty()) ) );
62 return StatusCode::SUCCESS;
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 ){
75 double time = (*plIter).time;
81 if (m_idHelper->is_pixel(hitId)) {
86 m_pixelHitCreator->createSimHit(isp,*hitParameter,time); ++nHits;
88 else if (m_idHelper->is_sct(hitId)) {
93 m_sctHitCreator->createSimHit(isp,*hitParameter,time); ++nHits;
95 else if (m_idHelper->is_trt(hitId)) {
100 m_trtHitCreator->createSimHit(isp,*hitParameter,time); ++nHits;
103 ATH_MSG_VERBOSE(
"[ idtrack ] **** done, " << nHits <<
" hits created from this track." );