DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
#include <DDG4/Defs.h>
#include <DD4hep/Plugins.h>
#include <DD4hep/Printout.h>
#include <DD4hep/Factories.h>
#include <DD4hep/Primitives.h>
#include <string>
#include <map>
Go to the source code of this file.
Classes | |
class | dd4hep::Geant4SetupAction< T > |
Templated factory method to invoke setup action. More... | |
class | dd4hep::Geant4SensitiveDetectorFactory< T > |
Deprecated: Templated factory method to create sensitive detector. More... | |
class | dd4hep::Geant4MaterialFactory< T > |
Templated factory method to G4ExtendedMaterial objects. More... | |
class | dd4hep::Geant4LogicalVolumeFactory< T > |
Templated factory method to G4ExtendedMaterial objects. More... | |
Namespaces | |
dd4hep | |
Namespace for the AIDA detector description toolkit. | |
dd4hep::detail | |
DD4hep internal namespace. | |
dd4hep::sim | |
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit. | |
Macros | |
#define | __IMPLEMENT_GEANT4SENSDET(name, func) |
#define | DECLARE_EXTERNAL_GEANT4SENSITIVEDETECTOR(id, func) __IMPLEMENT_GEANT4SENSDET(id,func) |
#define | DECLARE_GEANT4SENSITIVEDETECTOR(id) __IMPLEMENT_GEANT4SENSDET(id,new id) |
#define | DECLARE_GEANT4SENSITIVEDETECTOR_NS(ns, id) __IMPLEMENT_GEANT4SENSDET(id,new ns::id) |
#define | DECLARE_GEANT4EXTENDEDMATERIAL(name) DD4HEP_PLUGINSVC_FACTORY(name,name,G4Material*(dd4hep::Detector*,dd4hep::Material,G4Material*),__LINE__) |
#define | DECLARE_GEANT4EXTENDEDMATERIAL_NS(ns, name) |
#define | DECLARE_GEANT4LOGICALVOLUME(name) DD4HEP_PLUGINSVC_FACTORY(name,name,G4LogicalVolume*(dd4hep::Detector*,dd4hep::Volume,G4VSolid*,G4Material*),__LINE__) |
#define | DECLARE_GEANT4LOGICALVOLUME_NS(ns, name) |
#define | DECLARE_GEANT4SENSITIVE_NS(name_space, name) |
#define | DECLARE_GEANT4SENSITIVE(name) DECLARE_GEANT4SENSITIVE_NS(dd4hep::sim,name) |
#define | DECLARE_GEANT4ACTION_NS(name_space, name) |
Plugin defintion to create Geant4Action objects. More... | |
#define | DECLARE_GEANT4ACTION(name) DECLARE_GEANT4ACTION_NS(dd4hep::sim,name) |
Plugin defintion to create Geant4Action objects. More... | |
#define | DECLARE_GEANT4_STEPPER(name) DD4HEP_PLUGINSVC_FACTORY(G4##name,name,_ns::Stepper*(G4EquationOfMotion*),__LINE__) |
Plugin definition to create Geant4 stepper objects. More... | |
#define | DECLARE_GEANT4_MAGSTEPPER(name) DD4HEP_PLUGINSVC_FACTORY(G4##name,name,_ns::Stepper*(G4Mag_EqRhs*),__LINE__) |
#define | DECLARE_GEANT4_MAGMOTION(name) DD4HEP_PLUGINSVC_FACTORY(G4##name,name,G4Mag_EqRhs*(G4MagneticField*),__LINE__) |
Plugin definition to create Geant4 equations of motion for magnetic fields. More... | |
#define | DECLARE_GEANT4_PROCESS(name) DD4HEP_PLUGINSVC_FACTORY(name,name,G4VProcess*(),__LINE__) |
Plugin definition to create Geant4 physics processes (G4VProcess) More... | |
#define | DECLARE_GEANT4_PHYSICS(name) DD4HEP_PLUGINSVC_FACTORY(name,name,G4VPhysicsConstructor*(),__LINE__) |
Plugin definition to create Geant4 physics constructors (G4VPhysicsConstructor) More... | |
#define | DECLARE_GEANT4_GENERATOR(name) DD4HEP_PLUGINSVC_FACTORY(name,name,G4VPrimaryGenerator*(),__LINE__) |
Plugin definition to create Geant4 physics processes (G4VProcess) More... | |
#define | DECLARE_GEANT4_PARTICLE(name) DD4HEP_PLUGINSVC_FACTORY(name,name,G4ParticleDefinition*(),__LINE__) |
Plugin definition to force particle constructors for GEANT4 (G4ParticleDefinition) More... | |
#define | DECLARE_GEANT4_PARTICLEGROUP(name) DD4HEP_PLUGINSVC_FACTORY(name,name,long(),__LINE__) |
Plugin definition to force particle constructors for GEANT4 (G4XXXXConstructor) More... | |
#define | DECLARE_GEANT4_PHYSICS_LIST(name) |
Plugin definition to force geant4 physics constructs such as FTFP_BERT (from source/physics_lists/) etc. More... | |
#define | DECLARE_GEANT4_SETUP(name, func) |
Plugin defintion for setup actions. More... | |
#define | DECLARE_GEANT4_EVENT_READER(name) DD4HEP_PLUGINSVC_FACTORY(name,name,_ns::RDR*(std::string),__LINE__) |
Plugin defintion to create event reader objects. More... | |
#define | DECLARE_GEANT4_EVENT_READER_NS(name_space, name) |
Plugin defintion to create event reader objects. More... | |
#define __IMPLEMENT_GEANT4SENSDET | ( | name, | |
func | |||
) |
Definition at line 180 of file Factories.h.
#define DECLARE_EXTERNAL_GEANT4SENSITIVEDETECTOR | ( | id, | |
func | |||
) | __IMPLEMENT_GEANT4SENSDET(id,func) |
Definition at line 185 of file Factories.h.
#define DECLARE_GEANT4_EVENT_READER | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,_ns::RDR*(std::string),__LINE__) |
Plugin defintion to create event reader objects.
Definition at line 238 of file Factories.h.
#define DECLARE_GEANT4_EVENT_READER_NS | ( | name_space, | |
name | |||
) |
Plugin defintion to create event reader objects.
Definition at line 241 of file Factories.h.
#define DECLARE_GEANT4_GENERATOR | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,G4VPrimaryGenerator*(),__LINE__) |
Plugin definition to create Geant4 physics processes (G4VProcess)
Definition at line 223 of file Factories.h.
#define DECLARE_GEANT4_MAGMOTION | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(G4##name,name,G4Mag_EqRhs*(G4MagneticField*),__LINE__) |
Plugin definition to create Geant4 equations of motion for magnetic fields.
Definition at line 217 of file Factories.h.
#define DECLARE_GEANT4_MAGSTEPPER | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(G4##name,name,_ns::Stepper*(G4Mag_EqRhs*),__LINE__) |
Definition at line 215 of file Factories.h.
#define DECLARE_GEANT4_PARTICLE | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,G4ParticleDefinition*(),__LINE__) |
Plugin definition to force particle constructors for GEANT4 (G4ParticleDefinition)
Definition at line 225 of file Factories.h.
#define DECLARE_GEANT4_PARTICLEGROUP | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,long(),__LINE__) |
Plugin definition to force particle constructors for GEANT4 (G4XXXXConstructor)
Definition at line 227 of file Factories.h.
#define DECLARE_GEANT4_PHYSICS | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,G4VPhysicsConstructor*(),__LINE__) |
Plugin definition to create Geant4 physics constructors (G4VPhysicsConstructor)
Definition at line 221 of file Factories.h.
#define DECLARE_GEANT4_PHYSICS_LIST | ( | name | ) |
Plugin definition to force geant4 physics constructs such as FTFP_BERT (from source/physics_lists/) etc.
Definition at line 229 of file Factories.h.
#define DECLARE_GEANT4_PROCESS | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,G4VProcess*(),__LINE__) |
Plugin definition to create Geant4 physics processes (G4VProcess)
Definition at line 219 of file Factories.h.
#define DECLARE_GEANT4_SETUP | ( | name, | |
func | |||
) |
Plugin defintion for setup actions.
Definition at line 232 of file Factories.h.
#define DECLARE_GEANT4_STEPPER | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(G4##name,name,_ns::Stepper*(G4EquationOfMotion*),__LINE__) |
Plugin definition to create Geant4 stepper objects.
Definition at line 214 of file Factories.h.
#define DECLARE_GEANT4ACTION | ( | name | ) | DECLARE_GEANT4ACTION_NS(dd4hep::sim,name) |
Plugin defintion to create Geant4Action objects.
Definition at line 211 of file Factories.h.
#define DECLARE_GEANT4ACTION_NS | ( | name_space, | |
name | |||
) |
Plugin defintion to create Geant4Action objects.
Definition at line 208 of file Factories.h.
#define DECLARE_GEANT4EXTENDEDMATERIAL | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,G4Material*(dd4hep::Detector*,dd4hep::Material,G4Material*),__LINE__) |
Definition at line 189 of file Factories.h.
#define DECLARE_GEANT4EXTENDEDMATERIAL_NS | ( | ns, | |
name | |||
) |
Definition at line 192 of file Factories.h.
#define DECLARE_GEANT4LOGICALVOLUME | ( | name | ) | DD4HEP_PLUGINSVC_FACTORY(name,name,G4LogicalVolume*(dd4hep::Detector*,dd4hep::Volume,G4VSolid*,G4Material*),__LINE__) |
Definition at line 195 of file Factories.h.
#define DECLARE_GEANT4LOGICALVOLUME_NS | ( | ns, | |
name | |||
) |
Definition at line 198 of file Factories.h.
#define DECLARE_GEANT4SENSITIVE | ( | name | ) | DECLARE_GEANT4SENSITIVE_NS(dd4hep::sim,name) |
Definition at line 205 of file Factories.h.
#define DECLARE_GEANT4SENSITIVE_NS | ( | name_space, | |
name | |||
) |
Definition at line 202 of file Factories.h.
#define DECLARE_GEANT4SENSITIVEDETECTOR | ( | id | ) | __IMPLEMENT_GEANT4SENSDET(id,new id) |
Definition at line 186 of file Factories.h.
#define DECLARE_GEANT4SENSITIVEDETECTOR_NS | ( | ns, | |
id | |||
) | __IMPLEMENT_GEANT4SENSDET(id,new ns::id) |
Definition at line 187 of file Factories.h.