DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDG4
plugins
Geant4UserParticleHandlerHelper.h
Go to the documentation of this file.
1
2
//==========================================================================
3
// AIDA Detector description implementation
4
//--------------------------------------------------------------------------
5
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6
// All rights reserved.
7
//
8
// For the licensing terms see $DD4hepINSTALL/LICENSE.
9
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10
//
11
// Author : M.Frank
12
//
13
//==========================================================================
14
15
#ifndef DDG4_GEANT4USERPARTICLEHANDLERHELPER_H
16
#define DDG4_GEANT4USERPARTICLEHANDLERHELPER_H
17
19
namespace
dd4hep
{
20
22
namespace
sim {
23
24
// Forward declarations
25
class
Geant4Particle;
26
28
void
setReason
(Geant4Particle& p,
bool
starts_in_trk_volume,
bool
ends_in_trk_volume);
29
31
void
setSimulatorStatus
(Geant4Particle& p,
bool
starts_in_trk_volume,
bool
ends_in_trk_volume);
32
33
}
34
}
35
36
#endif // DDG4_GEANT4USERPARTICLEHANDLERHELPER_H
dd4hep::sim::setReason
void setReason(Geant4Particle &p, bool starts_in_trk_vol, bool ends_in_trk_vol)
determines if particle should be kept and sets p.reason = 0 otherwise
Definition:
Geant4UserParticleHandlerHelper.cpp:23
dd4hep::sim::setSimulatorStatus
void setSimulatorStatus(Geant4Particle &p, bool starts_in_trk_vol, bool ends_in_trk_vol)
determines if particle has ended in the tracker, calorimeter or if it is backscatter and sets simulat...
Definition:
Geant4UserParticleHandlerHelper.cpp:53
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
Generated on Tue Dec 10 2024 18:30:09 for DD4hep by
1.8.18