ATLAS Offline Software
Loading...
Searching...
No Matches
IActsGeantFollowerHelper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IACTSGeantFollowerHelper_H
6#define IACTSGeantFollowerHelper_H
7
8// Gaudi
9#include "GaudiKernel/IAlgTool.h"
10
11#include "G4ThreeVector.hh"
12
14static const InterfaceID IID_IActsGeantFollowerHelper("IActsGeantFollowerHelper", 1, 0);
15
16class IActsGeantFollowerHelper : virtual public IAlgTool {
17 public:
18
21
23 static const InterfaceID& interfaceID() { return IID_IActsGeantFollowerHelper; }
24
25 // Follower interface
26 // a) begin event - initialize follower process
27 virtual void beginEvent() = 0;
28 // b) track the particle
29 virtual void trackParticle(const G4ThreeVector& pos, const G4ThreeVector& mom, int pdg, double charge, float t, float X0, bool isSensitive) = 0;
30 // c) end event - ntuple writing
31 virtual void endEvent() = 0;
32
33};
34
35
36#endif // IActsGeantFollowerHelper_H
double charge(const T &p)
Definition AtlasPID.h:997
static const InterfaceID IID_IActsGeantFollowerHelper("IActsGeantFollowerHelper", 1, 0)
Interface ID for IGeantFollowerHelperFollowerHelper.
virtual void endEvent()=0
virtual void trackParticle(const G4ThreeVector &pos, const G4ThreeVector &mom, int pdg, double charge, float t, float X0, bool isSensitive)=0
virtual void beginEvent()=0
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
virtual ~IActsGeantFollowerHelper()
Virtual destructor.