|
|
|||
File indexing completed on 2025-12-15 09:28:02
0001 0002 //========================================================================== 0003 // AIDA Detector description implementation 0004 //-------------------------------------------------------------------------- 0005 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0006 // All rights reserved. 0007 // 0008 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0009 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0010 // 0011 // Author : M.Frank 0012 // 0013 //========================================================================== 0014 0015 #ifndef DDG4_GEANT4USERPARTICLEHANDLERHELPER_H 0016 #define DDG4_GEANT4USERPARTICLEHANDLERHELPER_H 0017 0018 /// Namespace for the AIDA detector description toolkit 0019 namespace dd4hep { 0020 0021 /// Namespace for the Geant4 based simulation part of the AIDA detector description toolkit 0022 namespace sim { 0023 0024 // Forward declarations 0025 class Geant4Particle; 0026 0027 /// determines if particle should be kept and sets p.reason = 0 otherwise 0028 void setReason(Geant4Particle& p, bool starts_in_trk_volume, bool ends_in_trk_volume); 0029 0030 /// determines if particle has ended in the tracker, calorimeter or if it is backscatter and sets simulator status accordingly 0031 void setSimulatorStatus(Geant4Particle& p, bool starts_in_trk_volume, bool ends_in_trk_volume); 0032 0033 } 0034 } 0035 0036 #endif // DDG4_GEANT4USERPARTICLEHANDLERHELPER_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|