ATLAS Offline Software
IEntryLayerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_INTERFACES_IENTRYLAYERTOOL_H
6 #define ISF_INTERFACES_IENTRYLAYERTOOL_H 1
7 
8 // Gaudi
9 #include "GaudiKernel/IAlgTool.h"
10 
11 // ISF
12 #include "ISF_Event/EntryLayer.h"
13 
15 
16 namespace ISF {
17 
18  class ISFParticle;
19 
26  class IEntryLayerTool : virtual public IAlgTool {
27  public:
28 
30  virtual ~IEntryLayerTool(){}
31 
34 
36  virtual bool passesFilters( const ISFParticle& particle) = 0;
37 
41 
45 
48 
49  virtual void setupEvent() = 0;
50  };
51 
52 } // end of namespace
53 
54 #endif // ISF_INTERFACES_IENTRYLAYERTOOL_H
ISF::IEntryLayerTool::DeclareInterfaceID
DeclareInterfaceID(IEntryLayerTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
AtlasHitsVector
Definition: AtlasHitsVector.h:33
ISF::ISFParticle
Definition: ISFParticle.h:42
ISF::IEntryLayerTool::identifyEntryLayer
virtual ISF::EntryLayer identifyEntryLayer(const ISFParticle &particle)=0
Identify the corresponding entry layer for the given particle (may return ISF::fUnsetEntryLayere if p...
ISF::IEntryLayerTool::registerTrackRecordCollection
virtual StatusCode registerTrackRecordCollection(TrackRecordCollection *collection, EntryLayer layer)=0
Register the TrackRecordCollection pointer for a layer.
ISF::IEntryLayerTool::~IEntryLayerTool
virtual ~IEntryLayerTool()
Virtual destructor.
Definition: IEntryLayerTool.h:30
ISF::fUnsetEntryLayer
@ fUnsetEntryLayer
Definition: EntryLayer.h:33
EntryLayer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISF::IEntryLayerTool::passesFilters
virtual bool passesFilters(const ISFParticle &particle)=0
Check if given particle passes the EntryLayer filters.
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
ISF::IEntryLayerTool::registerParticle
virtual ISF::EntryLayer registerParticle(const ISFParticle &particle, EntryLayer layer=fUnsetEntryLayer)=0
Add the given particle to the corresponding Entry/Exit layer if applicable.
TrackRecordCollection.h
ISF::EntryLayer
EntryLayer
Definition: EntryLayer.h:31
ISF::IEntryLayerTool
Definition: IEntryLayerTool.h:26
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
ISF::IEntryLayerTool::setupEvent
virtual void setupEvent()=0