ATLAS Offline Software
IPRD_TruthTrajectoryBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IPRD_TruthTrajectoryBuilder.h, (c) ATLAS Detector software
8 
9 #ifndef TRK_TRKTRUTHTRACKS_IPRD_TRUTHTRAJECTORYBUILDER_H
10 #define TRK_TRKTRUTHTRACKS_IPRD_TRUTHTRAJECTORYBUILDER_H 1
11 
12 // Gaudi
13 #include "GaudiKernel/IAlgTool.h"
15 
17 
18 namespace Trk {
19 
20 
21  static const InterfaceID IID_IPRD_TruthTrajectoryBuilder("IPRD_TruthTrajectoryBuilder", 1, 0);
22 
31  class IPRD_TruthTrajectoryBuilder : virtual public IAlgTool {
32 
33  public:
36 
38  static const InterfaceID& interfaceID() { return IID_IPRD_TruthTrajectoryBuilder; }
39 
41  virtual std::map< HepMC::ConstGenParticlePtr, PRD_TruthTrajectory > truthTrajectories() const = 0;
42 
44  virtual StatusCode refreshEvent() = 0;
45 
46  };
47 
48 } // end of namespace
49 
50 #endif // TRK_TRKTRUTHTRACKS_IPRD_TRUTHTRAJECTORYBUILDER_H
Trk::IPRD_TruthTrajectoryBuilder::truthTrajectories
virtual std::map< HepMC::ConstGenParticlePtr, PRD_TruthTrajectory > truthTrajectories() const =0
return a vector of PrepRawData trajectories - uses internal cache
Trk::IPRD_TruthTrajectoryBuilder
The interface for the truth PRD trajectory finder.
Definition: IPRD_TruthTrajectoryBuilder.h:31
PRD_TruthTrajectory.h
GenParticle_fwd.h
Trk::IPRD_TruthTrajectoryBuilder::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IPRD_TruthTrajectoryBuilder.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IPRD_TruthTrajectoryBuilder::~IPRD_TruthTrajectoryBuilder
virtual ~IPRD_TruthTrajectoryBuilder()
Virtual destructor.
Definition: IPRD_TruthTrajectoryBuilder.h:35
Trk::IPRD_TruthTrajectoryBuilder::refreshEvent
virtual StatusCode refreshEvent()=0
Event refresh - can't be an IIncident, because it has to run after PRD creation and PRD truth creatio...