DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Namespaces | Classes | Typedefs | Enumerations | Functions
dd4hep::sim Namespace Reference

Namespace for the Geant4 based simulation part of the AIDA detector description toolkit. More...

Namespaces

 Geant4GeometryMaps
 Helper namespace defining data types for the relation information between geant4 objects and dd4hep objects.
 
 HepMC
 HepMC namespace declaration.
 
 Setup
 Convenience namespace to ease the setupup of DDG4 applications.
 
 Test
 Convenience namespace to separate test classes from the DDG4 simulation toolkit.
 

Classes

class  calo_smear_model
 Configuration structure for the fast simulation shower model Geant4FSShowerModel<par02_em_model> More...
 
class  CellIDCompare
 Specialized hit selector based on the hit's cell identifier. More...
 
class  DataExtension
 Generic user-extendible data extension class. More...
 
class  DD4hep_End_Of_File
 Helper class to indicate the end of the input file. More...
 
class  DD4hep_Stop_Processing
 Helper class to indicate the stop of processing. More...
 
struct  EnergyDepositMinimumCut
 Geant4 sensitive detector filter implementing an energy cut. More...
 
class  EventParameters
 Event extension to pass input event data to output event. More...
 
class  Geant4Action
 Default base class for all Geant 4 actions and derivates thereof. More...
 
class  Geant4ActionContainer
 Class, which allows all Geant4Action to be stored. More...
 
class  Geant4ActionPhase
 Action phase definition. Client callback at various stage of the simulation processing. More...
 
class  Geant4ActionSD
 Interface class to access properties of the underlying Geant4 sensitive detector structure. More...
 
class  Geant4AssemblyVolume
 Hack! Wrapper around G4AssemblyVolume to access protected members. More...
 
class  Geant4Call
 Callback interface class with argument. More...
 
class  Geant4Calorimeter
 Helper class to define structures used by the generic DDG4 calorimeter sensitive detector. More...
 
class  Geant4CerenkovPhysics
 Geant4 physics list action to enable Cerenkov physics. More...
 
class  Geant4Compatibility
 Compatibility actions for running Geant4 in single threaded mode. More...
 
class  Geant4Context
 Generic context to extend user, run and event information. More...
 
class  Geant4Conversion
 Data conversion class. More...
 
class  Geant4ConversionHelper
 Helper class for data conversion. More...
 
class  Geant4Converter
 Geometry converter from dd4hep to Geant 4. More...
 
class  Geant4DataDump
 Class to dump the records of the intrinsic Geant4 event model. More...
 
class  Geant4DefaultRangeCut
 Geant4 physics list action to set global range cuts for secondary productions. More...
 
class  Geant4DetectorConstruction
 Basic implementation of the Geant4 detector construction action. More...
 
class  Geant4DetectorConstructionContext
 Geant4 detector construction context definition. More...
 
class  Geant4DetectorConstructionResources
 Debug class to dump resources usage during detector construction. More...
 
class  Geant4DetectorConstructionSequence
 Concrete basic implementation of the Geant4 detector construction sequencer. More...
 
class  Geant4DetectorGeometryConstruction
 Class to create Geant4 detector geometry from TGeo representation in memory. More...
 
class  Geant4DetectorSensitivesConstruction
 Class to create Geant4 detector geometry from TGeo representation in memory. More...
 
class  Geant4DummyTruthHandler
 Void implementation of the Monte-Carlo thruth handler doing nothing at all. More...
 
class  Geant4EscapeCounter
 Class to measure the energy of escaping tracks. More...
 
class  Geant4Event
 User event context for DDG4. More...
 
class  Geant4EventAction
 Concrete basic implementation of the Geant4 event action. More...
 
class  Geant4EventActionSequence
 Concrete implementation of the Geant4 event action sequence. More...
 
class  Geant4EventReader
 Basic geant4 event reader class. This interface/base-class must be implemented by concrete readers. More...
 
class  Geant4EventReaderGuineaPig
 Reader for ascii files with e+e- pairs created from GuineaPig. More...
 
class  Geant4EventReaderHepEvt
 Class to populate Geant4 primaries from StdHep files. More...
 
class  Geant4EventReaderHepMC
 Class to populate Geant4 primaries from HepMC(2) files. More...
 
class  Geant4EventSeed
 Plugin class to set the event seed for each event. More...
 
class  Geant4Exec
 Main executor steering the Geant4 execution. More...
 
class  Geant4ExtraParticles
 Plugin class to read non-standard particle definitions from text file. More...
 
class  Geant4FastPhysics
 Wrapper for G4FastSimulationPhysics with properties. More...
 
class  Geant4FastSimHandler
 Helper class to ease the extraction of information from a G4FastSimSpot object. More...
 
class  Geant4FastSimShowerModel
 Geant4 wrapper for the Geant4 fast simulation shower model. More...
 
class  Geant4FastSimSpot
 Spot definition for fast simulation and GFlash. More...
 
class  Geant4Field
 Mediator class to allow Geant4 accessing magnetic fields defined in dd4hep. More...
 
class  Geant4FieldTrackingConstruction
 Detector construction action to perform the setup of the Geant4 tracking in magnetic fields. More...
 
struct  Geant4FieldTrackingSetup
 Generic Setup component to perform the magnetic field tracking in Geant4. More...
 
class  Geant4FieldTrackingSetupAction
 Phase action to perform the setup of the Geant4 tracking in magnetic fields. More...
 
class  Geant4Filter
 Base class to construct filters for Geant4 sensitive detectors. More...
 
class  Geant4FSShowerModel
 Geant4 wrapper for the Geant4 fast simulation shower model. More...
 
class  Geant4GDMLDetector
 Class to read Geant4 geometry from GDML file. More...
 
class  Geant4GDMLWriteAction
 Class to measure the energy of escaping tracks. More...
 
class  Geant4GeneratorAction
 Concrete implementation of the Geant4 generator action base class. More...
 
class  Geant4GeneratorActionInit
 Initialize the Geant4Event objects to host generator and MC truth related information. More...
 
class  Geant4GeneratorActionSequence
 Concrete implementation of the Geant4 generator action sequence. More...
 
class  Geant4GeneratorWrapper
 Geant4Action to merge several independent interaction to one. More...
 
class  Geant4GenericSD
 
class  Geant4GeometryInfo
 Concreate class holding the relation information between geant4 objects and dd4hep objects. More...
 
class  Geant4GeometryScanner
 Class to perform directional material scans using Geantinos. More...
 
class  Geant4GFlashShowerModel
 Geant4 wrapper for the GFlash shower model. More...
 
class  Geant4Handle
 Handle to Geant4 actions with built-in creation mechanism. More...
 
class  Geant4HierarchyDump
 Helper to dump Geant4 volume hierarchy. More...
 
class  Geant4HitCollection
 Generic hit container class using Geant4HitWrapper objects. More...
 
class  Geant4HitData
 Base class for geant4 hit structures used by the default DDG4 sensitive detector implementations. More...
 
class  Geant4HitDumpAction
 Class to measure the energy of escaping tracks. More...
 
class  Geant4HitHandler
 Helper class to ease the extraction of information from a G4Hit object. More...
 
class  Geant4HitTruthHandler
 Class to measure the energy of escaping tracks. More...
 
class  Geant4HitWrapper
 Generic wrapper class for hit structures created in Geant4 sensitive detectors. More...
 
class  Geant4InputAction
 Generic input action capable of using the Geant4EventReader class. More...
 
class  Geant4InteractionMerger
 Geant4Action to merge several independent interaction to one. More...
 
class  Geant4InteractionVertexBoost
 Action class to boost the primary vertex (and all outgoing particles) of a single interaction. More...
 
class  Geant4InteractionVertexSmear
 Action class to smear the primary vertex (and all outgoing particles) of a single interaction. More...
 
class  Geant4Interrupts
 Interruptsback interface class with argument. More...
 
class  Geant4IsotropeGenerator
 Generate particles isotrop in space around origine (0,0,0) More...
 
class  Geant4Kernel
 Class, which allows all Geant4Action derivatives to access the DDG4 kernel structures. More...
 
class  Geant4Mapping
 Geometry mapping from dd4hep to Geant 4. More...
 
class  Geant4MaterialScanner
 Class to perform directional material scans using Geantinos. More...
 
class  Geant4MonteCarloTruth
 Default Interface class to handle monte carlo truth records. More...
 
struct  Geant4OpticalCalorimeter
 Helper class to define properties of optical calorimeters. UNTESTED. More...
 
class  Geant4OpticalPhotonPhysics
 Geant4 physics list action to enable OpticalPhoton physics. More...
 
struct  Geant4OpticalTracker
 Helper class to define properties of optical trackers. UNTESTED. More...
 
class  Geant4Output2EDM4hep
 Base class to output Geant4 event data to EDM4hep. More...
 
class  Geant4Output2LCIO
 Base class to output Geant4 event data to media. More...
 
class  Geant4Output2ROOT
 Class to output Geant4 event data to ROOT files. More...
 
class  Geant4OutputAction
 Base class to output Geant4 event data to persistent media. More...
 
class  Geant4Particle
 Data structure to store the MC particle information. More...
 
class  Geant4ParticleDumpAction
 Class to measure the energy of escaping tracks. More...
 
class  Geant4ParticleGenerator
 Generate particles isotrop in space around origine (0,0,0) More...
 
class  Geant4ParticleGun
 Implementation of a particle gun using Geant4Particles. More...
 
class  Geant4ParticleHandle
 Data structure to access derived MC particle information. More...
 
class  Geant4ParticleHandler
 Geant4Action to collect the MC particle information. More...
 
class  Geant4ParticleInformation
 Wrapper to store user information in a G4Track. More...
 
class  Geant4ParticleMap
 Data structure to map particles produced during the generation and the simulation. More...
 
class  Geant4ParticlePrint
 Geant4Action to print MC particle information. More...
 
class  Geant4PhaseAction
 Generic action for Geant4 phases. More...
 
class  Geant4PhysicsConstructor
 Implementation base of a Geant4 physics constructor. More...
 
class  Geant4PhysicsList
 Concrete basic implementation of a Geant4 physics list action. More...
 
class  Geant4PhysicsListActionSequence
 The implementation of the single Geant4 physics list action sequence. More...
 
class  Geant4PlacementParameterisation
 Class to dump the records of the intrinsic Geant4 event model. More...
 
class  Geant4PrimaryConfig
 Geant4PrimaryConfig to hold configuration for PrimaryHandlers. More...
 
class  Geant4PrimaryEvent
 Class modelling a complete primary event with multiple interactions. More...
 
class  Geant4PrimaryHandler
 Geant4Action to convert the particle information to Geant4. More...
 
class  Geant4PrimaryInteraction
 Class modelling a single interaction with multiple primary vertices and particles. More...
 
class  Geant4PrimaryMap
 Data structure to map primaries to particles. More...
 
class  Geant4PythonAction
 Base class to initialize a multi-threaded or single threaded Geant4 application. More...
 
class  Geant4PythonCall
 Base class to initialize a multi-threaded or single threaded Geant4 application. More...
 
class  Geant4PythonDetectorConstruction
 Base class to initialize a multi-threaded or single threaded Geant4 application. More...
 
class  Geant4PythonDetectorConstructionLast
 Base class to initialize a multi-threaded or single threaded Geant4 application. More...
 
class  Geant4PythonInitialization
 Base class to initialize a multi-threaded or single threaded Geant4 application. More...
 
class  Geant4Random
 Mini interface to THE random generator of the application. More...
 
class  Geant4ReadoutVolumeFilter
 Default base class for all geant 4 tracking actions. More...
 
class  Geant4RegexSensitivesConstruction
 Class to create Geant4 detector geometry from TGeo representation in memory. More...
 
class  Geant4Run
 User run context for DDG4. More...
 
class  Geant4RunAction
 Concrete basic implementation of the Geant4 run action base class. More...
 
class  Geant4RunActionSequence
 Concrete basic implementation of the Geant4 run action sequencer. More...
 
class  Geant4RunManager
 Geant4 run manager plugin class. More...
 
class  Geant4ScintillationPhysics
 Geant4 physics list action to enable Scintillation physics. More...
 
struct  Geant4ScintillatorCalorimeter
 Class to implement the standard sensitive detector for scintillator calorimeters. More...
 
class  Geant4SensDet
 Concrete implementation of the G4VSensitiveDetector calling the registered sequence object. More...
 
class  Geant4SensDetActionSequence
 The sequencer to host Geant4 sensitive actions called if particles interact with sensitive elements. More...
 
class  Geant4SensDetSequences
 Geant4SensDetSequences: class to access groups of sensitive actions. More...
 
class  Geant4Sensitive
 The base class for Geant4 sensitive detector actions implemented by users. More...
 
class  Geant4SensitiveAction
 Template class to ease the construction of sensitive detectors using particle template specialization. More...
 
class  Geant4SharedEventAction
 Implementation of the Geant4 shared event action. More...
 
class  Geant4SharedGeneratorAction
 Implementation of the Geant4 shared generator action. More...
 
class  Geant4SharedRunAction
 Implementation of the Geant4 shared run action. More...
 
class  Geant4SharedStackingAction
 Implementation of the Geant4 shared stacking action. More...
 
class  Geant4SharedSteppingAction
 Implementation of the Geant4 shared stepping action. More...
 
class  Geant4SharedTrackingAction
 Implementation of the Geant4 shared track action. More...
 
class  Geant4ShowerModelWrapper
 Geant4 wrapper for the Geant4 fast simulation shower model. More...
 
class  Geant4StackingAction
 Concrete implementation of the Geant4 stacking action base class. More...
 
class  Geant4StackingActionSequence
 Concrete implementation of the Geant4 stacking action sequence. More...
 
class  Geant4StepHandler
 Helper class to ease the extraction of information from a G4Step object. More...
 
class  Geant4SteppingAction
 Concrete implementation of the Geant4 stepping action sequence. More...
 
class  Geant4SteppingActionSequence
 Concrete implementation of the Geant4 stepping action sequence. More...
 
class  Geant4SurfaceTest
 
class  Geant4TCUserParticleHandler
 Rejects to keep particles, which are created outside a tracking cylinder. More...
 
class  Geant4TouchableHandler
 Helper class to ease the extraction of information from a G4Touchable object. More...
 
class  Geant4Tracker
 Helper class to define structures used by the generic DDG4 tracker sensitive detector. More...
 
class  Geant4TrackHandler
 Helper class to ease the extraction of information from a G4Track object. More...
 
class  Geant4TrackInformation
 Unused. More...
 
class  Geant4TrackingAction
 Default base class for all geant 4 tracking actions used in DDG4. More...
 
class  Geant4TrackingActionSequence
 Concrete implementation of the Geant4 tracking action sequence. More...
 
class  Geant4TrackingPostAction
 Default base class for all geant 4 tracking actions. More...
 
class  Geant4TrackingPreAction
 Default base class for all geant 4 tracking actions. More...
 
class  Geant4TVUserParticleHandler
 Rejects to keep particles, which are created outside a tracking volume. More...
 
class  Geant4UIManager
 Standard UI interface implementation with configuration using property options. More...
 
class  Geant4UIMessenger
 Generic implementation to export properties and actions to the Geant4 command prompt. More...
 
class  Geant4UserActionInitialization
 Concrete implementation of the Geant4 user initialization action sequence. More...
 
class  Geant4UserDetectorConstruction
 Concrete implementation of the Geant4 user detector construction action sequence. More...
 
class  Geant4UserEventAction
 Concrete implementation of the Geant4 event action. More...
 
class  Geant4UserGeneratorAction
 Concrete implementation of the Geant4 generator action. More...
 
class  Geant4UserInitialization
 Base class to initialize a multi-threaded or single threaded Geant4 application. More...
 
class  Geant4UserInitializationSequence
 Class to orchestrate a modular initializion of a multi- or single threaded Geant4 application. More...
 
class  Geant4UserLimits
 Helper to dump Geant4 volume hierarchy. More...
 
class  Geant4UserParticleHandler
 Geant4ParticleHandler user extension action called by the particle handler. More...
 
class  Geant4UserRunAction
 Concrete implementation of the Geant4 run action. More...
 
class  Geant4UserStackingAction
 Concrete implementation of the Geant4 stacking action sequence. More...
 
class  Geant4UserSteppingAction
 Concrete implementation of the Geant4 stepping action. More...
 
class  Geant4UserTrackingAction
 Concrete implementation of the Geant4 tracking action. More...
 
class  Geant4Vertex
 Data structure to store the MC vertex information. More...
 
class  Geant4VolumeManager
 The Geant4VolumeManager to facilitate optimized lookups of cell IDs from touchables. More...
 
struct  GeantinoRejectFilter
 Geant4 sensitive detector filter implementing a Geantino rejector. More...
 
class  HEPMC3EventReader
 
class  HEPMC3FileReader
 Base class to read hepmc3 event files. More...
 
class  KernelHandle
 Handle to Geant4 actions with built-in creation mechanism. More...
 
class  LCIOEventReader
 Base class to read lcio files. More...
 
class  LCIOFileReader
 Base class to read lcio event files. More...
 
class  LCIOStdHepReader
 Base class to read StdHep files with lcio. More...
 
class  par01_em_model
 Configuration structure for the fast simulation shower model Geant4FSShowerModel<par01_em_model> More...
 
class  par01_pion_model
 Configuration structure for the fast simulation shower model Geant4FSShowerModel<par01_pion_model> More...
 
class  ParticleExtension
 Base class to extend the basic particle class used by DDG4 with user information. More...
 
struct  ParticleFilter
 Geant4 sensitive detector filter base class for particle filters. More...
 
struct  ParticleRejectFilter
 Geant4 sensitive detector filter implementing a particle rejector. More...
 
struct  ParticleSelectFilter
 Geant4 sensitive detector filter implementing a particle selector. More...
 
class  PositionCompare
 Specialized hit selector based on the hit's position. More...
 
class  PrimaryExtension
 Base structure to extend primary information with user data. More...
 
class  RefCountedSequence
 Private helper to support sequence reference counting. More...
 
class  RunParameters
 Extension to pass input run data to output run data. More...
 
class  SequenceHdl
 Sequence handler implementing common actions to all sequences. More...
 
class  SimpleEvent
 Simple event description structure. Used in the default I/O mechanism. More...
 
class  SimpleRun
 Simple run description structure. Used in the default I/O mechanism. More...
 
union  TrackClassification
 
struct  TrackerCombine
 Geant4 sensitive detector combining all deposits of one G4Track within one sensitive element. More...
 
struct  TrackerWeighted
 Geant4 sensitive detector combining all deposits of one G4Track within one sensitive element. More...
 
class  TypeName
 Helper class to handle strings of the format "type/name". More...
 
class  VertexExtension
 Base class to extend the basic vertex class used by DDG4 with user information. More...
 

Typedefs

typedef Position Direction
 
typedef Position Momentum
 
typedef Geant4HitData SimpleHit
 Backward compatibility definitions. More...
 
typedef Geant4Tracker SimpleTracker
 
typedef Geant4Calorimeter SimpleCalorimeter
 
typedef VolumeManager VolMgr
 
typedef IDDescriptor IDDescriptor
 
typedef pair< const Geant4Context *, G4VHitsCollection * > RAW_CONVERSION_ARGS
 
typedef pair< const Geant4Context *, Geant4HitCollection * > CONVERSION_ARGS
 
typedef Geant4InputAction LCIOInputAction
 
typedef Geant4FSShowerModel< calo_smear_modelGeant4CaloSmearShowerModel
 
typedef Geant4TestSensitive Geant4TestSensitiveTracker
 
typedef Geant4TestSensitive Geant4TestSensitiveCalorimeter
 
typedef Geant4FSShowerModel< par01_em_modelGeant4Par01EMShowerModel
 
typedef Geant4FSShowerModel< par01_pion_modelGeant4Par01PionShowerModel
 
typedef Geant4RunManager< G4RunManager > Geant4STRunManager
 
typedef Geant4SensitiveAction< Geant4VoidSensitive > Geant4VoidSensitiveAction
 
typedef Geant4SensitiveAction< Geant4TrackerGeant4TrackerAction
 
typedef Geant4SensitiveAction< Geant4OpticalTrackerGeant4OpticalTrackerAction
 
typedef Geant4SensitiveAction< Geant4CalorimeterGeant4CalorimeterAction
 
typedef Geant4SensitiveAction< Geant4OpticalCalorimeterGeant4OpticalCalorimeterAction
 
typedef Geant4SensitiveAction< Geant4ScintillatorCalorimeterGeant4ScintillatorCalorimeterAction
 
typedef Geant4SensitiveAction< TrackerCombineGeant4TrackerCombineAction
 
typedef Geant4TrackerAction Geant4SimpleTrackerAction
 
typedef Geant4CalorimeterAction Geant4SimpleCalorimeterAction
 
typedef Geant4OpticalCalorimeterAction Geant4SimpleOpticalCalorimeterAction
 
typedef Geant4SensitiveAction< TrackerWeightedGeant4TrackerWeightedAction
 

Enumerations

enum  Geant4ParticleProperties {
  G4PARTICLE_CREATED_HIT = 1<<1, G4PARTICLE_PRIMARY = 1<<2, G4PARTICLE_HAS_SECONDARIES = 1<<3, G4PARTICLE_ABOVE_ENERGY_THRESHOLD = 1<<4,
  G4PARTICLE_KEEP_PROCESS = 1<<5, G4PARTICLE_KEEP_PARENT = 1<<6, G4PARTICLE_CREATED_CALORIMETER_HIT = 1<<7, G4PARTICLE_CREATED_TRACKER_HIT = 1<<8,
  G4PARTICLE_KEEP_USER = 1<<9, G4PARTICLE_KEEP_ALWAYS = 1<<10, G4PARTICLE_FORCE_KILL = 1<<11, G4PARTICLE_GEN_EMPTY = 1<<0,
  G4PARTICLE_GEN_STABLE = 1<<1, G4PARTICLE_GEN_DECAYED = 1<<2, G4PARTICLE_GEN_DOCUMENTATION = 1<<3, G4PARTICLE_GEN_BEAM = 1<<4,
  G4PARTICLE_GEN_OTHER = 1<<9, G4PARTICLE_GEN_GENERATOR, G4PARTICLE_GEN_STATUS = 0x3FF, G4PARTICLE_GEN_STATUS_MASK = 0xFFFF,
  G4PARTICLE_SIM_CREATED = 1<<10, G4PARTICLE_SIM_BACKSCATTER = 1<<11, G4PARTICLE_SIM_DECAY_CALO = 1<<12, G4PARTICLE_SIM_DECAY_TRACKER = 1<<13,
  G4PARTICLE_SIM_STOPPED = 1<<14, G4PARTICLE_SIM_LEFT_DETECTOR = 1<<15, G4PARTICLE_SIM_PARENT_RADIATED = 1<<16, G4PARTICLE_SIM_OVERLAY = 1<<17,
  G4PARTICLE_LAST_NOTHING = 1<<31
}
 Track properties. More...
 
enum  Geant4StackingActionTrackClassification { NoTrackClassification = 0xFEED }
 
enum  { SENSITIVE, ACTION, FILTER }
 

Functions

template<typename TO , typename FROM >
TO fast_cast (FROM from)
 Cast operator. More...
 
G4RotationMatrix g4Rotation (const TGeoMatrix *matrix)
 Extract G4 rotation matrix from ROOT matrices. More...
 
G4RotationMatrix g4Rotation (const TGeoMatrix &matrix)
 
G4RotationMatrix g4Rotation (const TGeoRotation *rot)
 
G4RotationMatrix g4Rotation (const TGeoRotation &rot)
 
G4RotationMatrix g4Rotation (const Rotation3D &rot)
 
G4RotationMatrix g4Rotation (const RotationZYX &rot)
 
G4Transform3D generate_placements (const G4Transform3D &start, const G4Transform3D &delta, std::size_t count, const std::function< void(const G4Transform3D &delta)> &callback)
 Generate parameterised placements in 1 dimension according to transformation delta. More...
 
G4Transform3D generate_placements (const G4Transform3D &start, const G4Transform3D &delta1, std::size_t count1, const G4Transform3D &delta2, std::size_t count2, const std::function< void(const G4Transform3D &delta)> &callback)
 Generate parameterised placements in 2 dimensions according to transformation delta. More...
 
G4Transform3D generate_placements (const G4Transform3D &start, const G4Transform3D &delta1, std::size_t count1, const G4Transform3D &delta2, std::size_t count2, const G4Transform3D &delta3, std::size_t count3, const std::function< void(const G4Transform3D &delta)> &callback)
 Generate parameterised placements in 3 dimensions according to transformation delta. More...
 
void g4Transform (const double *translation, const double *rotation, G4Transform3D &transform)
 These conversions automatically apply the conversion from CM to MM! More...
 
void g4Transform (const Position &pos, const Rotation3D &rot, G4Transform3D &transform)
 
void g4Transform (const double *translation, G4Transform3D &transform)
 
void g4Transform (const Transform3D &matrix, G4Transform3D &transform)
 
void g4Transform (const TGeoMatrix *matrix, G4Transform3D &transform)
 
void g4Transform (const TGeoMatrix &matrix, G4Transform3D &transform)
 
G4Transform3D g4Transform (const double *translation)
 
G4Transform3D g4Transform (const double *translation, const double *rotation)
 
G4Transform3D g4Transform (const Transform3D &matrix)
 
G4Transform3D g4Transform (const Position &pos, const Rotation3D &rot)
 
G4Transform3D g4Transform (const Position &pos, const RotationZYX &rot)
 
G4Transform3D g4Transform (const TGeoMatrix *matrix)
 
G4Transform3D g4Transform (const TGeoMatrix &matrix)
 
G4Transform3D g4Transform (const TGeoTranslation *translation, const TGeoRotation *rotation)
 
G4Transform3D g4Transform (const TGeoTranslation &translation, const TGeoRotation &rotation)
 
std::pair< double, EAxis > extract_axis (const Transform3D &trafo)
 
Geant4VertexcreatePrimary (const G4PrimaryVertex *g4)
 Create a vertex object from its G4 counterpart. More...
 
Geant4ParticlecreatePrimary (int particle_id, const Geant4Vertex *v, const G4PrimaryParticle *g4p)
 Create a particle object from its G4 counterpart. More...
 
Geant4PrimaryInteractioncreatePrimary (int mask, Geant4PrimaryMap *pm, std::set< G4PrimaryVertex * >const &primaries)
 Create a DDG4 interaction record from a Geant4 interaction defined by a primary vertex. More...
 
int generationInitialization (const Geant4Action *caller, const Geant4Context *context)
 Initialize the generation of one event. More...
 
int mergeInteractions (const Geant4Action *caller, const Geant4Context *context)
 Merge all interactions present in the context. More...
 
int boostInteraction (const Geant4Action *caller, Geant4PrimaryEvent::Interaction *inter, double alpha)
 Boost particles of one interaction identified by its mask. More...
 
int smearInteraction (const Geant4Action *caller, Geant4PrimaryEvent::Interaction *inter, double dx, double dy, double dz, double dt)
 Smear the primary vertex of an interaction. More...
 
int generatePrimaries (const Geant4Action *caller, const Geant4Context *context, G4Event *event)
 Generate all primary vertices corresponding to the merged interaction. More...
 
template<>
void Geant4Output2LCIO::saveEventParameters< std::string > (lcio::LCEventImpl *event, const std::map< std::string, std::string > &parameters)
 Fill event parameters in LCIO event - std::string specialization. More...
 
template<typename T >
lcio::LCCollectionVec * moveEntries (Geant4HitCollection *coll, lcio::LCCollectionVec *lc_coll)
 
unsigned jenkins_hash (unsigned char *k, unsigned length, unsigned initval)
 
unsigned int hash (unsigned int initialSeed, unsigned int eventNumber, unsigned int runNumber)
 calculate hash from initialSeed, eventID and runID More...
 
void setReason (Geant4Particle &p, bool starts_in_trk_volume, bool ends_in_trk_volume)
 determines if particle should be kept and sets p.reason = 0 otherwise More...
 
void setSimulatorStatus (Geant4Particle &p, bool starts_in_trk_volume, bool ends_in_trk_volume)
 determines if particle has ended in the tracker, calorimeter or if it is backscatter and sets simulator status accordingly More...
 
template<typename TYPE , typename PTR >
TYPE * _action (PTR *in)
 Action cast. More...
 
Action _createAction (Detector &description, xml_h a, const std::string &seqType, int what)
 Create/Configure Action object from XML. More...
 
template<typename TYPE >
TYPE * _create_object (Geant4Kernel &kernel, const TypeName &typ)
 
template<typename TYPE , typename CONT >
TYPE * _create_share (Geant4Kernel &kernel, CONT &(Geant4ActionContainer::*pmf)(), const std::string &type_name, const std::string &shared_typ, bool shared, TYPE *)
 
template<typename T >
G4VSolid * convertShape (const TGeoShape *shape)
 Convert a specific TGeo shape into the geant4 equivalent. More...
 
template<>
G4VSolid * convertShape< TGeoShapeAssembly > (const TGeoShape *)
 
template<>
G4VSolid * convertShape< TGeoBBox > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTube > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTubeSeg > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoCtub > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoEltu > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TwistedTubeObject > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTrd1 > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTrd2 > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoHype > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoArb8 > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoPara > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoXtru > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoPgon > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoPcon > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoCone > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoConeSeg > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoParaboloid > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoSphere > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTorus > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTrap > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< G4GenericTrap > (const TGeoShape *shape)
 
template<>
G4VSolid * convertShape< TGeoTessellated > (const TGeoShape *shape)
 
 INSTANTIATE (char)
 
 INSTANTIATE (short)
 
 INSTANTIATE (int)
 
 INSTANTIATE (long)
 
 INSTANTIATE (unsigned short)
 
 INSTANTIATE (unsigned int)
 
 INSTANTIATE (unsigned long)
 
 INSTANTIATE (float)
 
 INSTANTIATE (double)
 
 INSTANTIATE (char *)
 
 INSTANTIATE (const char *)
 
 INSTANTIATE (PyObject *)
 
 INSTANTIATE (void *)
 

Detailed Description

Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.

Typedef Documentation

◆ CONVERSION_ARGS

Definition at line 335 of file LCIOConversions.cpp.

◆ Direction

Definition at line 26 of file Defs.h.

◆ Geant4CalorimeterAction

Definition at line 319 of file Geant4SDActions.cpp.

◆ Geant4CaloSmearShowerModel

Definition at line 123 of file Geant4CaloSmearShowerModel.cpp.

◆ Geant4OpticalCalorimeterAction

Definition at line 414 of file Geant4SDActions.cpp.

◆ Geant4OpticalTrackerAction

Definition at line 206 of file Geant4SDActions.cpp.

◆ Geant4Par01EMShowerModel

Definition at line 204 of file Geant4P1ShowerModel.cpp.

◆ Geant4Par01PionShowerModel

Definition at line 205 of file Geant4P1ShowerModel.cpp.

◆ Geant4ScintillatorCalorimeterAction

Definition at line 529 of file Geant4SDActions.cpp.

◆ Geant4SimpleCalorimeterAction

Definition at line 767 of file Geant4SDActions.cpp.

◆ Geant4SimpleOpticalCalorimeterAction

Definition at line 768 of file Geant4SDActions.cpp.

◆ Geant4SimpleTrackerAction

Definition at line 766 of file Geant4SDActions.cpp.

◆ Geant4STRunManager

Definition at line 69 of file Geant4RunManagers.cpp.

◆ Geant4TestSensitiveCalorimeter

Definition at line 135 of file Geant4Factories.cpp.

◆ Geant4TestSensitiveTracker

Definition at line 134 of file Geant4Factories.cpp.

◆ Geant4TrackerAction

Definition at line 131 of file Geant4SDActions.cpp.

◆ Geant4TrackerCombineAction

Definition at line 765 of file Geant4SDActions.cpp.

◆ Geant4TrackerWeightedAction

Definition at line 472 of file Geant4TrackerWeightedSD.cpp.

◆ Geant4VoidSensitiveAction

Definition at line 62 of file Geant4SDActions.cpp.

◆ IDDescriptor

Definition at line 69 of file LCIOConversions.cpp.

◆ LCIOInputAction

Definition at line 34 of file LCIOEventReader.cpp.

◆ Momentum

Definition at line 27 of file Defs.h.

◆ RAW_CONVERSION_ARGS

Definition at line 334 of file LCIOConversions.cpp.

◆ SimpleCalorimeter

Definition at line 354 of file Geant4Data.h.

◆ SimpleHit

Backward compatibility definitions.

Definition at line 352 of file Geant4Data.h.

◆ SimpleTracker

Definition at line 353 of file Geant4Data.h.

◆ VolMgr

Definition at line 68 of file LCIOConversions.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SENSITIVE 
ACTION 
FILTER 

Definition at line 110 of file Geant4XMLSetup.cpp.

◆ Geant4ParticleProperties

Track properties.

Enumerator
G4PARTICLE_CREATED_HIT 
G4PARTICLE_PRIMARY 
G4PARTICLE_HAS_SECONDARIES 
G4PARTICLE_ABOVE_ENERGY_THRESHOLD 
G4PARTICLE_KEEP_PROCESS 
G4PARTICLE_KEEP_PARENT 
G4PARTICLE_CREATED_CALORIMETER_HIT 
G4PARTICLE_CREATED_TRACKER_HIT 
G4PARTICLE_KEEP_USER 
G4PARTICLE_KEEP_ALWAYS 
G4PARTICLE_FORCE_KILL 
G4PARTICLE_GEN_EMPTY 
G4PARTICLE_GEN_STABLE 
G4PARTICLE_GEN_DECAYED 
G4PARTICLE_GEN_DOCUMENTATION 
G4PARTICLE_GEN_BEAM 
G4PARTICLE_GEN_OTHER 
G4PARTICLE_GEN_GENERATOR 
G4PARTICLE_GEN_STATUS 
G4PARTICLE_GEN_STATUS_MASK 
G4PARTICLE_SIM_CREATED 
G4PARTICLE_SIM_BACKSCATTER 
G4PARTICLE_SIM_DECAY_CALO 
G4PARTICLE_SIM_DECAY_TRACKER 
G4PARTICLE_SIM_STOPPED 
G4PARTICLE_SIM_LEFT_DETECTOR 
G4PARTICLE_SIM_PARENT_RADIATED 
G4PARTICLE_SIM_OVERLAY 
G4PARTICLE_LAST_NOTHING 

Definition at line 56 of file Geant4Particle.h.

◆ Geant4StackingActionTrackClassification

Enumerator
NoTrackClassification 

Definition at line 36 of file Geant4StackingAction.h.

Function Documentation

◆ _action()

template<typename TYPE , typename PTR >
TYPE* dd4hep::sim::_action ( PTR *  in)

Action cast.

Definition at line 36 of file Geant4XMLSetup.cpp.

◆ _create_object()

template<typename TYPE >
TYPE* dd4hep::sim::_create_object ( Geant4Kernel kernel,
const TypeName typ 
)

Definition at line 70 of file Geant4Handle.cpp.

◆ _create_share()

template<typename TYPE , typename CONT >
TYPE* dd4hep::sim::_create_share ( Geant4Kernel kernel,
CONT &(Geant4ActionContainer::*)()  pmf,
const std::string &  type_name,
const std::string &  shared_typ,
bool  shared,
TYPE *   
)

Definition at line 100 of file Geant4Handle.cpp.

◆ _createAction()

Action dd4hep::sim::_createAction ( Detector description,
xml_h  a,
const std::string &  seqType,
int  what 
)

Create/Configure Action object from XML.

: (what==FILTER) ? kernel.globalAction(typ.second,false)

Definition at line 112 of file Geant4XMLSetup.cpp.

◆ boostInteraction()

int dd4hep::sim::boostInteraction ( const Geant4Action caller,
Geant4PrimaryEvent::Interaction inter,
double  alpha 
)

Boost particles of one interaction identified by its mask.

Definition at line 257 of file Geant4InputHandling.cpp.

◆ convertShape()

template<typename T >
G4VSolid * dd4hep::sim::convertShape ( const TGeoShape *  shape)

Convert a specific TGeo shape into the geant4 equivalent.

Definition at line 63 of file Geant4ShapeConverter.cpp.

◆ convertShape< G4GenericTrap >()

template<>
G4VSolid* dd4hep::sim::convertShape< G4GenericTrap > ( const TGeoShape *  shape)

Definition at line 244 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoArb8 >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoArb8 > ( const TGeoShape *  shape)

Definition at line 147 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoBBox >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoBBox > ( const TGeoShape *  shape)

Definition at line 75 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoCone >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoCone > ( const TGeoShape *  shape)

Definition at line 205 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoConeSeg >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoConeSeg > ( const TGeoShape *  shape)

Definition at line 211 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoCtub >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoCtub > ( const TGeoShape *  shape)

Definition at line 91 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoEltu >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoEltu > ( const TGeoShape *  shape)

Definition at line 103 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoHype >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoHype > ( const TGeoShape *  shape)

Definition at line 140 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoPara >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoPara > ( const TGeoShape *  shape)

Definition at line 156 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoParaboloid >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoParaboloid > ( const TGeoShape *  shape)

Definition at line 219 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoPcon >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoPcon > ( const TGeoShape *  shape)

Definition at line 193 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoPgon >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoPgon > ( const TGeoShape *  shape)

Definition at line 181 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoShapeAssembly >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoShapeAssembly > ( const TGeoShape *  )

Definition at line 71 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoSphere >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoSphere > ( const TGeoShape *  shape)

Definition at line 224 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTessellated >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTessellated > ( const TGeoShape *  shape)

Definition at line 253 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTorus >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTorus > ( const TGeoShape *  shape)

Definition at line 231 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTrap >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTrap > ( const TGeoShape *  shape)

Definition at line 237 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTrd1 >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTrd1 > ( const TGeoShape *  shape)

Definition at line 124 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTrd2 >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTrd2 > ( const TGeoShape *  shape)

Definition at line 132 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTube >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTube > ( const TGeoShape *  shape)

Definition at line 80 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoTubeSeg >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoTubeSeg > ( const TGeoShape *  shape)

Definition at line 85 of file Geant4ShapeConverter.cpp.

◆ convertShape< TGeoXtru >()

template<>
G4VSolid* dd4hep::sim::convertShape< TGeoXtru > ( const TGeoShape *  shape)

Definition at line 164 of file Geant4ShapeConverter.cpp.

◆ convertShape< TwistedTubeObject >()

template<>
G4VSolid* dd4hep::sim::convertShape< TwistedTubeObject > ( const TGeoShape *  shape)

Definition at line 108 of file Geant4ShapeConverter.cpp.

◆ createPrimary() [1/3]

Geant4Vertex * dd4hep::sim::createPrimary ( const G4PrimaryVertex *  g4)

Create a vertex object from its G4 counterpart.

Create a vertex object from the Geant4 primary vertex.

Helpers to import and export G4 records

Definition at line 39 of file Geant4InputHandling.cpp.

◆ createPrimary() [2/3]

Geant4PrimaryInteraction * dd4hep::sim::createPrimary ( int  mask,
Geant4PrimaryMap pm,
std::set< G4PrimaryVertex * >const &  primaries 
)

Create a DDG4 interaction record from a Geant4 interaction defined by a primary vertex.

Import a Geant4 interaction defined by a primary vertex into a DDG4 interaction record.

Definition at line 124 of file Geant4InputHandling.cpp.

◆ createPrimary() [3/3]

Geant4Particle * dd4hep::sim::createPrimary ( int  particle_id,
const Geant4Vertex v,
const G4PrimaryParticle *  g4p 
)

Create a particle object from its G4 counterpart.

Create a particle object from the Geant4 primary particle.

Definition at line 50 of file Geant4InputHandling.cpp.

◆ extract_axis()

std::pair< double, EAxis > dd4hep::sim::extract_axis ( const Transform3D trafo)

Definition at line 208 of file Geant4Helpers.cpp.

◆ fast_cast()

template<typename TO , typename FROM >
TO dd4hep::sim::fast_cast ( FROM  from)

Cast operator.

Definition at line 68 of file Geant4Action.h.

◆ g4Rotation() [1/6]

G4RotationMatrix dd4hep::sim::g4Rotation ( const Rotation3D rot)

Definition at line 69 of file Geant4Helpers.cpp.

◆ g4Rotation() [2/6]

G4RotationMatrix dd4hep::sim::g4Rotation ( const RotationZYX rot)

Definition at line 75 of file Geant4Helpers.cpp.

◆ g4Rotation() [3/6]

G4RotationMatrix dd4hep::sim::g4Rotation ( const TGeoMatrix &  matrix)

Definition at line 57 of file Geant4Helpers.cpp.

◆ g4Rotation() [4/6]

G4RotationMatrix dd4hep::sim::g4Rotation ( const TGeoMatrix *  matrix)

Extract G4 rotation matrix from ROOT matrices.

Definition at line 53 of file Geant4Helpers.cpp.

◆ g4Rotation() [5/6]

G4RotationMatrix dd4hep::sim::g4Rotation ( const TGeoRotation &  rot)

Definition at line 65 of file Geant4Helpers.cpp.

◆ g4Rotation() [6/6]

G4RotationMatrix dd4hep::sim::g4Rotation ( const TGeoRotation *  rot)

Definition at line 61 of file Geant4Helpers.cpp.

◆ g4Transform() [1/15]

G4Transform3D dd4hep::sim::g4Transform ( const double *  translation)

◆ g4Transform() [2/15]

G4Transform3D dd4hep::sim::g4Transform ( const double *  translation,
const double *  rotation 
)

Definition at line 83 of file Geant4Helpers.cpp.

◆ g4Transform() [3/15]

void dd4hep::sim::g4Transform ( const double *  translation,
const double *  rotation,
G4Transform3D &  transform 
)

These conversions automatically apply the conversion from CM to MM!

Definition at line 91 of file Geant4Helpers.cpp.

◆ g4Transform() [4/15]

void dd4hep::sim::g4Transform ( const double *  translation,
G4Transform3D &  transform 
)

◆ g4Transform() [5/15]

G4Transform3D dd4hep::sim::g4Transform ( const Position pos,
const Rotation3D rot 
)

Definition at line 125 of file Geant4Helpers.cpp.

◆ g4Transform() [6/15]

void dd4hep::sim::g4Transform ( const Position pos,
const Rotation3D rot,
G4Transform3D &  transform 
)

Definition at line 131 of file Geant4Helpers.cpp.

◆ g4Transform() [7/15]

G4Transform3D dd4hep::sim::g4Transform ( const Position pos,
const RotationZYX rot 
)

Definition at line 137 of file Geant4Helpers.cpp.

◆ g4Transform() [8/15]

G4Transform3D dd4hep::sim::g4Transform ( const TGeoMatrix &  matrix)

Definition at line 95 of file Geant4Helpers.cpp.

◆ g4Transform() [9/15]

void dd4hep::sim::g4Transform ( const TGeoMatrix &  matrix,
G4Transform3D &  transform 
)

Definition at line 111 of file Geant4Helpers.cpp.

◆ g4Transform() [10/15]

G4Transform3D dd4hep::sim::g4Transform ( const TGeoMatrix *  matrix)

Definition at line 99 of file Geant4Helpers.cpp.

◆ g4Transform() [11/15]

void dd4hep::sim::g4Transform ( const TGeoMatrix *  matrix,
G4Transform3D &  transform 
)

Definition at line 105 of file Geant4Helpers.cpp.

◆ g4Transform() [12/15]

G4Transform3D dd4hep::sim::g4Transform ( const TGeoTranslation &  translation,
const TGeoRotation &  rotation 
)

Definition at line 115 of file Geant4Helpers.cpp.

◆ g4Transform() [13/15]

G4Transform3D dd4hep::sim::g4Transform ( const TGeoTranslation *  translation,
const TGeoRotation *  rotation 
)

Definition at line 119 of file Geant4Helpers.cpp.

◆ g4Transform() [14/15]

G4Transform3D dd4hep::sim::g4Transform ( const Transform3D matrix)

Definition at line 141 of file Geant4Helpers.cpp.

◆ g4Transform() [15/15]

void dd4hep::sim::g4Transform ( const Transform3D matrix,
G4Transform3D &  transform 
)

Definition at line 148 of file Geant4Helpers.cpp.

◆ Geant4Output2LCIO::saveEventParameters< std::string >()

template<>
void dd4hep::sim::Geant4Output2LCIO::saveEventParameters< std::string > ( lcio::LCEventImpl *  event,
const std::map< std::string, std::string > &  parameters 
)
inline

Fill event parameters in LCIO event - std::string specialization.

Definition at line 149 of file Geant4Output2LCIO.cpp.

◆ generate_placements() [1/3]

G4Transform3D dd4hep::sim::generate_placements ( const G4Transform3D &  start,
const G4Transform3D &  delta,
std::size_t  count,
const std::function< void(const G4Transform3D &delta)> &  callback 
)

Generate parameterised placements in 1 dimension according to transformation delta.

Generate parameterised placements in 2 dimension according to transformation delta.

Definition at line 157 of file Geant4Helpers.cpp.

◆ generate_placements() [2/3]

G4Transform3D dd4hep::sim::generate_placements ( const G4Transform3D &  start,
const G4Transform3D &  delta1,
std::size_t  count1,
const G4Transform3D &  delta2,
std::size_t  count2,
const G4Transform3D &  delta3,
std::size_t  count3,
const std::function< void(const G4Transform3D &delta)> &  callback 
)

Generate parameterised placements in 3 dimensions according to transformation delta.

Definition at line 190 of file Geant4Helpers.cpp.

◆ generate_placements() [3/3]

G4Transform3D dd4hep::sim::generate_placements ( const G4Transform3D &  start,
const G4Transform3D &  delta1,
std::size_t  count1,
const G4Transform3D &  delta2,
std::size_t  count2,
const std::function< void(const G4Transform3D &delta)> &  callback 
)

Generate parameterised placements in 2 dimensions according to transformation delta.

Definition at line 172 of file Geant4Helpers.cpp.

◆ generatePrimaries()

int dd4hep::sim::generatePrimaries ( const Geant4Action caller,
const Geant4Context context,
G4Event *  event 
)

Generate all primary vertices corresponding to the merged interaction.

Definition at line 476 of file Geant4InputHandling.cpp.

◆ generationInitialization()

int dd4hep::sim::generationInitialization ( const Geant4Action caller,
const Geant4Context context 
)

Initialize the generation of one event.

This action should register all event extension required for the further processing. We want to avoid that every client has to check if a given object is present or not and then later install the required data structures.

Definition at line 143 of file Geant4InputHandling.cpp.

◆ hash()

unsigned int dd4hep::sim::hash ( unsigned int  initialSeed,
unsigned int  eventNumber,
unsigned int  runNumber 
)

calculate hash from initialSeed, eventID and runID

Definition at line 201 of file Geant4EventSeed.h.

◆ INSTANTIATE() [1/13]

dd4hep::sim::INSTANTIATE ( char *  )

◆ INSTANTIATE() [2/13]

dd4hep::sim::INSTANTIATE ( char  )

◆ INSTANTIATE() [3/13]

dd4hep::sim::INSTANTIATE ( const char *  )

◆ INSTANTIATE() [4/13]

dd4hep::sim::INSTANTIATE ( double  )

◆ INSTANTIATE() [5/13]

dd4hep::sim::INSTANTIATE ( float  )

◆ INSTANTIATE() [6/13]

dd4hep::sim::INSTANTIATE ( int  )

◆ INSTANTIATE() [7/13]

dd4hep::sim::INSTANTIATE ( long  )

◆ INSTANTIATE() [8/13]

dd4hep::sim::INSTANTIATE ( PyObject *  )

◆ INSTANTIATE() [9/13]

dd4hep::sim::INSTANTIATE ( short  )

◆ INSTANTIATE() [10/13]

dd4hep::sim::INSTANTIATE ( unsigned int  )

◆ INSTANTIATE() [11/13]

dd4hep::sim::INSTANTIATE ( unsigned long  )

◆ INSTANTIATE() [12/13]

dd4hep::sim::INSTANTIATE ( unsigned short  )

◆ INSTANTIATE() [13/13]

dd4hep::sim::INSTANTIATE ( void *  )

◆ jenkins_hash()

unsigned dd4hep::sim::jenkins_hash ( unsigned char *  k,
unsigned  length,
unsigned  initval 
)

Definition at line 153 of file Geant4EventSeed.h.

◆ mergeInteractions()

int dd4hep::sim::mergeInteractions ( const Geant4Action caller,
const Geant4Context context 
)

Merge all interactions present in the context.

Definition at line 226 of file Geant4InputHandling.cpp.

◆ moveEntries()

template<typename T >
lcio::LCCollectionVec* dd4hep::sim::moveEntries ( Geant4HitCollection coll,
lcio::LCCollectionVec *  lc_coll 
)

Definition at line 243 of file LCIOConversions.cpp.

◆ setReason()

void dd4hep::sim::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 at line 23 of file Geant4UserParticleHandlerHelper.cpp.

◆ setSimulatorStatus()

void dd4hep::sim::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 simulator status accordingly

Definition at line 53 of file Geant4UserParticleHandlerHelper.cpp.

◆ smearInteraction()

int dd4hep::sim::smearInteraction ( const Geant4Action caller,
Geant4PrimaryEvent::Interaction inter,
double  dx,
double  dy,
double  dz,
double  dt 
)

Smear the primary vertex of an interaction.

Definition at line 313 of file Geant4InputHandling.cpp.