ATLAS Offline Software
Loading...
Searching...
No Matches
SimHitCreatorID.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FATRASTOOLSID_SIMHITCREATORID_H
6#define FATRASTOOLSID_SIMHITCREATORID_H
7
8// GaudiKernel & Athena
12#include "GaudiKernel/RndmGenerators.h"
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
16
17// Fatras
20
21// STL
22#include <utility>
23
24class AtlasDetectorID;
25
26namespace iFatras {
27
36
37 class ATLAS_NOT_THREAD_SAFE SimHitCreatorID: public extends<AthAlgTool, ISimHitCreator> // deprecated: ATLASSIM-6020
38 {
39 public:
41 SimHitCreatorID(const std::string&,const std::string&,const IInterface*);
42
45
47 StatusCode initialize();
48
51 void createHits(const ISF::ISFParticle& isp,
52 const std::vector<Trk::HitInfo>& hits) const;
53
54 private:
56 PublicToolHandle<iFatras::IHitCreator> m_pixelHitCreator{this, "PixelHitCreator", ""};
57 PublicToolHandle<iFatras::IHitCreator> m_sctHitCreator{this, "SctHitCreator", ""};
58 PublicToolHandle<iFatras::IHitCreator> m_trtHitCreator{this, "TrtHitCreator", ""};
60 std::string m_idHelperName{"AtlasID"};
62
63 };
64} // end of iFatras namespace
65
66#endif
An STL vector of pointers that by default owns its pointed-to elements.
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
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
The generic ISF particle definition,.
Definition ISFParticle.h:42
SimHitCreatorID(const std::string &, const std::string &, const IInterface *)
Constructor.
void createHits(const ISF::ISFParticle &isp, const std::vector< Trk::HitInfo > &hits) const
Loop over the hits and call the hit creator, provide the ISF::StackParticle to register the hits.
std::string m_idHelperName
Used to find out the sub-det from.
PublicToolHandle< iFatras::IHitCreator > m_pixelHitCreator
Cluster creator AlgTool.
const AtlasDetectorID * m_idHelper
PublicToolHandle< iFatras::IHitCreator > m_sctHitCreator
PublicToolHandle< iFatras::IHitCreator > m_trtHitCreator
void initialize()