DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDG4
include
DDG4
Geant4TrackingPreAction.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef DDG4_GEANT4TRACKINGPREACTION_H
14
#define DDG4_GEANT4TRACKINGPREACTION_H
15
16
// Framework include files
17
#include <
DDG4/Geant4TrackingAction.h
>
18
20
namespace
dd4hep
{
21
23
namespace
sim {
24
26
31
class
Geant4TrackingPreAction
:
public
Geant4TrackingAction
{
32
public
:
34
Geant4TrackingPreAction
(
Geant4Context
*
context
,
const
std::string&
name
=
""
);
36
virtual
~Geant4TrackingPreAction
();
38
virtual
void
begin
(
const
G4Track* track)
override
;
40
virtual
void
end
(
const
G4Track* track)
override
;
41
};
42
}
// End namespace sim
43
}
// End namespace dd4hep
44
45
#endif // DDG4_GEANT4TRACKINGPREACTION_H
dd4hep::sim::Geant4TrackingPreAction::Geant4TrackingPreAction
Geant4TrackingPreAction(Geant4Context *context, const std::string &name="")
Standard constructor.
Definition:
Geant4TrackingPreAction.cpp:24
Geant4TrackingAction.h
dd4hep::sim::Geant4TrackingPreAction::begin
virtual void begin(const G4Track *track) override
Begin-of-tracking callback.
Definition:
Geant4TrackingPreAction.cpp:35
dd4hep::sim::Geant4Action::name
const std::string & name() const
Access name of the action.
Definition:
Geant4Action.h:280
dd4hep::sim::Geant4TrackingAction
Default base class for all geant 4 tracking actions used in DDG4.
Definition:
Geant4TrackingAction.h:41
dd4hep::sim::Geant4TrackingPreAction::~Geant4TrackingPreAction
virtual ~Geant4TrackingPreAction()
Default destructor.
Definition:
Geant4TrackingPreAction.cpp:30
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::sim::Geant4TrackingPreAction::end
virtual void end(const G4Track *track) override
End-of-tracking callback.
Definition:
Geant4TrackingPreAction.cpp:47
dd4hep::sim::Geant4TrackingPreAction
Default base class for all geant 4 tracking actions.
Definition:
Geant4TrackingPreAction.h:31
dd4hep::sim::Geant4Context
Generic context to extend user, run and event information.
Definition:
Geant4Context.h:201
dd4hep::sim::Geant4Action::context
Geant4Context * context() const
Access the context.
Definition:
Geant4Action.h:270
Generated on Tue Apr 8 2025 12:27:14 for DD4hep by
1.8.18