DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Geant4Config.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 //
14 // Small helper file with abbreviations to write configurations
15 // for CINT; also used when writing the XML configuration.
16 //
17 //====================================================================
18 #ifndef DDG4_GEANT4CONFIG_H
19 #define DDG4_GEANT4CONFIG_H
20 
22 namespace dd4hep {
23 
25  namespace sim {
26 
27  // Forward declarations
28  template <typename TYPE> class Geant4Handle;
29  class Geant4Kernel;
30  class Geant4Action;
31  class Geant4Filter;
32  class Geant4PhaseAction;
33  class Geant4RunAction;
34  class Geant4EventAction;
38  class Geant4Sensitive;
39  class Geant4ActionPhase;
41  class Geant4PhysicsList;
55 
57  namespace Setup {
58  // Basics
60  //typedef Geant4Handle<Geant4Kernel> KernelH;
61  // Actions
76 
77  // Sequences
88  inline bool is_aclick() {
89 #if defined(G__DICTIONARY) || defined(__CLING__) || defined(__CINT__) || defined(__MAKECINT__)
90  return true;
91 #else
92  return false;
93 #endif
94  }
95  }
96 
97  } // End namespace sim
98 } // End namespace dd4hep
99 
100 #include <DDG4/Geant4Particle.h>
101 #include <DDG4/Geant4Handle.h>
102 #include <DDG4/Geant4Kernel.h>
103 #include <DDG4/Geant4PhysicsList.h>
105 #include <DDG4/Geant4RunAction.h>
106 #include <DDG4/Geant4EventAction.h>
111 #include <DDG4/Geant4ActionPhase.h>
116 #include <DDG4/ComponentUtils.h>
117 #include <DD4hep/Detector.h>
118 
119 #endif // DDG4_GEANT4CONFIG_H
dd4hep::sim::Setup::Action
Geant4Handle< Geant4Action > Action
Definition: Geant4Config.h:62
Geant4DetectorConstruction.h
dd4hep::sim::Setup::RunActionSeq
Geant4Handle< Geant4RunActionSequence > RunActionSeq
Definition: Geant4Config.h:80
dd4hep::sim::Geant4UserInitializationSequence
Class to orchestrate a modular initializion of a multi- or single threaded Geant4 application.
Definition: Geant4UserInitialization.h:52
dd4hep::sim::Geant4SteppingAction
Concrete implementation of the Geant4 stepping action sequence.
Definition: Geant4SteppingAction.h:40
dd4hep::sim::Geant4StackingActionSequence
Concrete implementation of the Geant4 stacking action sequence.
Definition: Geant4StackingAction.h:128
Detector.h
Geant4Handle.h
dd4hep::sim::Setup::DetectorConstructionSeq
Geant4Handle< Geant4DetectorConstructionSequence > DetectorConstructionSeq
Definition: Geant4Config.h:87
Geant4SensDetAction.h
Geant4TrackingAction.h
Geant4RunAction.h
Geant4EventAction.h
dd4hep::sim::Geant4Kernel
Class, which allows all Geant4Action derivatives to access the DDG4 kernel structures.
Definition: Geant4Kernel.h:64
dd4hep::sim::Geant4ActionPhase
Action phase definition. Client callback at various stage of the simulation processing.
Definition: Geant4ActionPhase.h:68
Geant4PhysicsList.h
ComponentUtils.h
Geant4UserParticleHandler.h
Geant4SteppingAction.h
dd4hep::sim::Setup::StepActionSeq
Geant4Handle< Geant4SteppingActionSequence > StepActionSeq
Definition: Geant4Config.h:83
dd4hep::sim::Geant4TrackingActionSequence
Concrete implementation of the Geant4 tracking action sequence.
Definition: Geant4TrackingAction.h:114
dd4hep::sim::Setup::PhysicsActionSeq
Geant4Handle< Geant4PhysicsListActionSequence > PhysicsActionSeq
Definition: Geant4Config.h:85
dd4hep::sim::Setup::InitializationSeq
Geant4Handle< Geant4UserInitializationSequence > InitializationSeq
Definition: Geant4Config.h:86
dd4hep::sim::Geant4EventAction
Concrete basic implementation of the Geant4 event action.
Definition: Geant4EventAction.h:53
Geant4UserParticleHandler
Geant4ParticleHandler user extension action called by the particle handler.
dd4hep::sim::Setup::EventAction
Geant4Handle< Geant4EventAction > EventAction
Definition: Geant4Config.h:67
Geant4GeneratorAction.h
dd4hep::sim::Geant4GeneratorActionSequence
Concrete implementation of the Geant4 generator action sequence.
Definition: Geant4GeneratorAction.h:115
dd4hep::sim::Setup::is_aclick
bool is_aclick()
Definition: Geant4Config.h:88
Geant4ParticleHandler.h
Geant4StackingAction.h
dd4hep::sim::Setup::TrackAction
Geant4Handle< Geant4TrackingAction > TrackAction
Definition: Geant4Config.h:68
dd4hep::sim::Setup::Initialization
Geant4Handle< Geant4UserInitialization > Initialization
Definition: Geant4Config.h:74
dd4hep::sim::Setup::PhysicsList
Geant4Handle< Geant4PhysicsList > PhysicsList
Definition: Geant4Config.h:71
dd4hep::sim::Geant4RunActionSequence
Concrete basic implementation of the Geant4 run action sequencer.
Definition: Geant4RunAction.h:117
dd4hep::sim::Geant4GeneratorAction
Concrete implementation of the Geant4 generator action base class.
Definition: Geant4GeneratorAction.h:47
dd4hep::sim::Geant4UserInitialization
Base class to initialize a multi-threaded or single threaded Geant4 application.
Definition: Geant4UserInitialization.h:33
dd4hep::sim::Setup::GeneratorSeq
Geant4Handle< Geant4GeneratorActionSequence > GeneratorSeq
Definition: Geant4Config.h:79
dd4hep::sim::Geant4PhysicsListActionSequence
The implementation of the single Geant4 physics list action sequence.
Definition: Geant4PhysicsList.h:223
dd4hep::sim::Setup::Phase
Geant4Handle< Geant4ActionPhase > Phase
Definition: Geant4Config.h:72
dd4hep::sim::Geant4Action
Default base class for all Geant 4 actions and derivates thereof.
Definition: Geant4Action.h:113
dd4hep::sim::Geant4DetectorConstructionSequence
Concrete basic implementation of the Geant4 detector construction sequencer.
Definition: Geant4DetectorConstruction.h:135
dd4hep::sim::Setup::DetectorConstruction
Geant4Handle< Geant4DetectorConstruction > DetectorConstruction
Definition: Geant4Config.h:75
dd4hep::sim::Geant4Handle
Handle to Geant4 actions with built-in creation mechanism.
Definition: Geant4Config.h:28
dd4hep::sim::Geant4PhysicsList
Concrete basic implementation of a Geant4 physics list action.
Definition: Geant4PhysicsList.h:41
dd4hep::sim::Geant4PhaseAction
Generic action for Geant4 phases.
Definition: Geant4ActionPhase.h:36
dd4hep::sim::Setup::StepAction
Geant4Handle< Geant4SteppingAction > StepAction
Definition: Geant4Config.h:70
dd4hep::sim::Geant4TrackingAction
Default base class for all geant 4 tracking actions used in DDG4.
Definition: Geant4TrackingAction.h:41
dd4hep::sim::Geant4SensDetActionSequence
The sequencer to host Geant4 sensitive actions called if particles interact with sensitive elements.
Definition: Geant4SensDetAction.h:317
dd4hep::sim::Setup::TrackActionSeq
Geant4Handle< Geant4TrackingActionSequence > TrackActionSeq
Definition: Geant4Config.h:82
dd4hep::sim::Setup::EventActionSeq
Geant4Handle< Geant4EventActionSequence > EventActionSeq
Definition: Geant4Config.h:81
dd4hep::sim::Setup::Filter
Geant4Handle< Geant4Filter > Filter
Definition: Geant4Config.h:63
dd4hep::sim::Geant4RunAction
Concrete basic implementation of the Geant4 run action base class.
Definition: Geant4RunAction.h:45
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
Geant4UserInitialization.h
Geant4Particle.h
dd4hep::sim::Geant4Filter
Base class to construct filters for Geant4 sensitive detectors.
Definition: Geant4SensDetAction.h:94
dd4hep::sim::Geant4EventActionSequence
Concrete implementation of the Geant4 event action sequence.
Definition: Geant4EventAction.h:124
dd4hep::sim::Geant4StackingAction
Concrete implementation of the Geant4 stacking action base class.
Definition: Geant4StackingAction.h:52
dd4hep::sim::Setup::SensitiveSeq
Geant4Handle< Geant4SensDetActionSequence > SensitiveSeq
Definition: Geant4Config.h:78
Geant4Kernel.h
dd4hep::sim::Setup::GenAction
Geant4Handle< Geant4GeneratorAction > GenAction
Definition: Geant4Config.h:65
dd4hep::sim::Geant4Sensitive
The base class for Geant4 sensitive detector actions implemented by users.
Definition: Geant4SensDetAction.h:121
dd4hep::sim::Setup::PhaseAction
Geant4Handle< Geant4PhaseAction > PhaseAction
Definition: Geant4Config.h:64
dd4hep::sim::Geant4DetectorConstruction
Basic implementation of the Geant4 detector construction action.
Definition: Geant4DetectorConstruction.h:102
Geant4ActionPhase.h
dd4hep::sim::Setup::Sensitive
Geant4Handle< Geant4Sensitive > Sensitive
Definition: Geant4Config.h:73
dd4hep::sim::Geant4SteppingActionSequence
Concrete implementation of the Geant4 stepping action sequence.
Definition: Geant4SteppingAction.h:104
dd4hep::sim::Setup::StackAction
Geant4Handle< Geant4StackingAction > StackAction
Definition: Geant4Config.h:69
dd4hep::sim::Setup::Kernel
Geant4Kernel Kernel
Definition: Geant4Config.h:59
dd4hep::sim::Setup::RunAction
Geant4Handle< Geant4RunAction > RunAction
Definition: Geant4Config.h:66
dd4hep::sim::Setup::StackActionSeq
Geant4Handle< Geant4StackingActionSequence > StackActionSeq
Definition: Geant4Config.h:84