ATLAS Offline Software
IG4CaloTransportTool.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 IG4CaloTransportTool_H
6 #define IG4CaloTransportTool_H
7 
8 // Gaudi
9 #include "GaudiKernel/IAlgTool.h"
10 /* Input to particle transport will be a G4Track*/
11 #include "G4Track.hh"
12 /* Transport steps will be returned as G4FieldTracks*/
13 #include "G4FieldTrack.hh"
14 
15 static const InterfaceID IID_IG4CaloTransportTool("IG4CaloTransportTool", 1, 0);
16 
17 class IG4CaloTransportTool : virtual public IAlgTool
18 {
19  public:
21  static const InterfaceID& interfaceID() { return IID_IG4CaloTransportTool; }
22 
23  virtual std::vector<G4FieldTrack> transport(const G4Track& G4InputTrack) = 0;
25 };
26 
27 #endif // IG4CaloTransportTool_H
IG4CaloTransportTool::transport
virtual std::vector< G4FieldTrack > transport(const G4Track &G4InputTrack)=0
IG4CaloTransportTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IG4CaloTransportTool.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IG4CaloTransportTool
Definition: IG4CaloTransportTool.h:18
IG4CaloTransportTool::initializePropagator
virtual StatusCode initializePropagator()=0