ATLAS Offline Software
Loading...
Searching...
No Matches
IActsFatrasG4Tool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IActsFatrasG4Tool_H
6#define IActsFatrasG4Tool_H
7
8// C++
9#include <vector>
10#include <string>
11
12// Gaudi
13#include "GaudiKernel/IAlgTool.h"
14
15// forward declarations
16class G4FastTrack;
17class G4FastStep;
18class SiHit;
19class EventContext;
20
28
29class IActsFatrasG4Tool : virtual public IAlgTool
30{
31 public:
34
36 virtual void simulateFatrasTrack(const G4FastTrack& fastTrack, G4FastStep& fastStep) = 0;
37
39 virtual const std::vector<SiHit>& getPixelHitsCache(const EventContext& ctx) const = 0;
40 virtual const std::vector<SiHit>& getSCTHitsCache(const EventContext& ctx) const = 0;
41 virtual void clearCaches(const EventContext& ctx) const = 0;
42
43};
44
45#endif // IActsFatrasG4Tool_H
Interface for ACTS Fatras G4 tool.
virtual void simulateFatrasTrack(const G4FastTrack &fastTrack, G4FastStep &fastStep)=0
create ActsFatras track
DeclareInterfaceID(IActsFatrasG4Tool, 1, 0)
AlgTool interface method, handles constructor/destructor.
virtual void clearCaches(const EventContext &ctx) const =0
virtual const std::vector< SiHit > & getSCTHitsCache(const EventContext &ctx) const =0
virtual const std::vector< SiHit > & getPixelHitsCache(const EventContext &ctx) const =0
for saving si hits cache, expose to interface
Definition SiHit.h:19