ATLAS Offline Software
Tracking
TrkG4Components
TrkG4UserActions
TrkG4UserActions
IGeantFollowerMSHelper.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
// IGeantFollowerMSHelperFollowerHelper.h, (c) ATLAS Detector software
8
9
#ifndef IGeantFollowerMSHelper_H
10
#define IGeantFollowerMSHelper_H
11
12
// Gaudi
13
#include "GaudiKernel/IAlgTool.h"
14
15
#include "G4ThreeVector.hh"
16
17
namespace
Trk
{
18
20
static
const
InterfaceID IID_IGeantFollowerMSHelper(
"IGeantFollowerMSHelper"
, 1, 0);
21
26
class
IGeantFollowerMSHelper
:
virtual
public
IAlgTool {
27
public
:
28
30
virtual
~IGeantFollowerMSHelper
(){}
31
33
static
const
InterfaceID&
interfaceID
() {
return
IID_IGeantFollowerMSHelper; }
34
35
// Follower interface
36
// a) begin event - initialize follower process
37
virtual
void
beginEvent
() = 0;
38
// b) track the particle
39
virtual
void
trackParticle
(
const
G4ThreeVector&
pos
,
const
G4ThreeVector&
mom
,
int
pdg,
double
charge
,
float
t
,
float
X0
) = 0;
40
// c) end event - ntuple writing
41
virtual
void
endEvent
() = 0;
42
43
};
44
45
46
}
// end of namespace
47
48
#endif // IGeantFollowerMSHelper_H
Trk::IGeantFollowerMSHelper::trackParticle
virtual void trackParticle(const G4ThreeVector &pos, const G4ThreeVector &mom, int pdg, double charge, float t, float X0)=0
Trk::IGeantFollowerMSHelper::beginEvent
virtual void beginEvent()=0
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
Trk::IGeantFollowerMSHelper
Definition:
IGeantFollowerMSHelper.h:26
pdg_comparison.X0
X0
Definition:
pdg_comparison.py:314
ParticleGun_EoverP_Config.mom
mom
Definition:
ParticleGun_EoverP_Config.py:63
Trk::IGeantFollowerMSHelper::interfaceID
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
Definition:
IGeantFollowerMSHelper.h:33
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::IGeantFollowerMSHelper::endEvent
virtual void endEvent()=0
charge
double charge(const T &p)
Definition:
AtlasPID.h:538
python.LumiBlobConversion.pos
pos
Definition:
LumiBlobConversion.py:18
Trk::IGeantFollowerMSHelper::~IGeantFollowerMSHelper
virtual ~IGeantFollowerMSHelper()
Virtual destructor.
Definition:
IGeantFollowerMSHelper.h:30
Generated on Thu Nov 7 2024 21:16:41 for ATLAS Offline Software by
1.8.18