DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDG4
src
Geant4TrackInformation.cpp
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
14
// Framework include files
15
#include <
DDG4/Geant4TrackInformation.h
>
16
17
using namespace
dd4hep::sim
;
18
20
Geant4TrackInformation::Geant4TrackInformation
()
21
:
G4VUserTrackInformation
(), m_flags(0) {
22
}
23
25
Geant4TrackInformation::~Geant4TrackInformation
() {
26
}
27
29
Geant4TrackInformation
&
Geant4TrackInformation::storeTrack
(
bool
value) {
30
value ?
m_flags
|=
STORE
:
m_flags
&= ~
STORE
;
31
return
*
this
;
32
}
dd4hep::sim::Geant4TrackInformation::~Geant4TrackInformation
virtual ~Geant4TrackInformation()
Standard destructor.
Definition:
Geant4TrackInformation.cpp:25
dd4hep::sim::Geant4TrackInformation::STORE
@ STORE
Definition:
Geant4TrackInformation.h:35
dd4hep::sim::Geant4TrackInformation::m_flags
int m_flags
Definition:
Geant4TrackInformation.h:38
G4VUserTrackInformation
Class of the Geant4 toolkit. See http://www-geant4.kek.jp/Reference.
Definition:
Geant4Classes.h:75
Geant4TrackInformation.h
dd4hep::sim::Geant4TrackInformation
Unused.
Definition:
Geant4TrackInformation.h:32
dd4hep::sim::Geant4TrackInformation::storeTrack
bool storeTrack() const
Access flag if track should be stored.
Definition:
Geant4TrackInformation.h:46
dd4hep::sim::Geant4TrackInformation::Geant4TrackInformation
Geant4TrackInformation()
Default constructor.
Definition:
Geant4TrackInformation.cpp:20
dd4hep::sim
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Definition:
Geant4Output2EDM4hep.cpp:49
Generated on Thu Jan 9 2025 17:18:09 for DD4hep by
1.8.18