|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_GEANT4COMMONTOOLS_ENTRYLAYERTOOLMT_H
6 #define ISF_GEANT4COMMONTOOLS_ENTRYLAYERTOOLMT_H 1
9 #include "GaudiKernel/ToolHandle.h"
10 #include "GaudiKernel/ServiceHandle.h"
89 #endif //> !ISF_GEANT4COMMONTOOLS_ENTRYLAYERTOOL_H
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
A ThreadLocalHolder which owns its objects.
Defines template helper classes for thread-local storage.
virtual ISF::EntryLayer identifyEntryLayer(const ISFParticle &particle) override final
Identify the corresponding entry layer for the given particle (may return ISF::fUnsetEntryLayere if p...
ToolHandleArray< ISF::IParticleFilter > ParticleFilterArray
use this typedef to make the code structure more clean
bool const RAWDATA *ch2 const
std::string m_volumeName[ISF::fNumAtlasEntryLayers]
EntryLayerToolMT(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
virtual ~EntryLayerToolMT()=default
Destructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
ParticleFilterArray m_particleFilterHandle
Array of filters to decide whether a particle is added to the Entry/Exit layer.
virtual bool passesFilters(const ISFParticle &particle) override final
Check if given particle passes the EntryLayer filters.
ServiceHandle< ISF::IGeoIDSvc > m_geoIDSvc
GeoIDSvc will be used to determine the entry layer surface, the particle is on.
virtual StatusCode registerTrackRecordCollection(TrackRecordCollection *collection, EntryLayer layer) override final
Register the TrackRecordCollection pointer for a layer.
virtual ISF::EntryLayer registerParticle(const ISF::ISFParticle &particle, ISF::EntryLayer entryLayer) override final
Add the given particle to the corresponding Entry/Exit layer if applicable.
virtual void setupEvent() override
ISF::IGeoIDSvc * m_geoIDSvcQuick
ISF::IParticleFilter ** m_particleFilter
size_t m_numParticleFilters
thread_utils::ThreadLocalOwner< std::array< TrackRecordCollection *, ISF::fNumAtlasEntryLayers > > m_collectionHolder
The entry layer collections.
virtual StatusCode initialize() override final
Athena algtool's Hooks.