|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_GEANT4COMMONTOOLS_ENTRYLAYERTOOL_H
6 #define ISF_GEANT4COMMONTOOLS_ENTRYLAYERTOOL_H 1
9 #include "GaudiKernel/ToolHandle.h"
10 #include "GaudiKernel/ServiceHandle.h"
25 class IParticleFilter;
44 EntryLayerTool(
const std::string&
t,
const std::string&
n,
const IInterface*
p );
89 #endif //> !ISF_GEANT4COMMONTOOLS_ENTRYLAYERTOOL_H
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.
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
virtual bool passesFilters(const ISFParticle &particle) override final
Check if given particle passes the EntryLayer filters.
std::string m_SGName[ISF::fNumAtlasEntryLayers]
ParticleFilterArray m_particleFilterHandle
Array of filters to decide whether a particle is added to the Entry/Exit layer.
virtual StatusCode initialize() override final
Athena algtool's Hooks.
ToolHandleArray< ISF::IParticleFilter > ParticleFilterArray
use this typedef to make the code structure more clean
bool const RAWDATA *ch2 const
ISF::IParticleFilter ** m_particleFilter
virtual ISF::EntryLayer identifyEntryLayer(const ISFParticle &particle) override final
Identify the corresponding entry layer for the given particle (may return ISF::fUnsetEntryLayer if pa...
virtual void setupEvent() override final
ISF::IGeoIDSvc * m_geoIDSvcQuick
::StatusCode StatusCode
StatusCode definition for legacy code.
ServiceHandle< ISF::IGeoIDSvc > m_geoIDSvc
GeoIDSvc will be used to determine the entry layer surface, the particle is on.
EntryLayerTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
size_t m_numParticleFilters
TrackRecordCollection * setupSGCollection(const std::string &name)
used to setup a TrackRecordCollection on storegate
virtual StatusCode registerTrackRecordCollection(TrackRecordCollection *collection, EntryLayer layer) override final
Register the TrackRecordCollection pointer for a layer.
virtual ~EntryLayerTool()=default
Destructor.
TrackRecordCollection * m_collection[ISF::fNumAtlasEntryLayers]
The entry layer collections.
std::string m_volumeName[ISF::fNumAtlasEntryLayers]