DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::sim::Geant4FastSimSpot Class Reference

Spot definition for fast simulation and GFlash. More...

#include <Geant4FastSimSpot.h>

Public Member Functions

 Geant4FastSimSpot ()=delete
 Default constructor disabled. More...
 
 Geant4FastSimSpot (const G4FastHit *h, const G4FastTrack *trk)
 Initializing constructor. More...
 
 Geant4FastSimSpot (const G4FastHit *h, const G4FastTrack *trk, G4VTouchable *t)
 Initializing constructor. More...
 
 ~Geant4FastSimSpot ()=default
 Default destructor. More...
 
G4ThreeVector hitPosition () const
 Spot's hit position. More...
 
double energy () const
 Energy deposit of the spot. More...
 
G4VPhysicalVolume * volume () const
 Access the physical volume of the hit. More...
 
G4ThreeVector trackPosition () const
 Primary track position. More...
 
G4ThreeVector trackMomentum () const
 Primary track momentum. More...
 
double kineticEnergy () const
 Primary track kinetic energy. More...
 
const G4ParticleDefinition * trackDefinition () const
 Primary track particle definition. More...
 
G4ThreeVector particleLocalDirection () const
 Particle's local direction in the region's envelope solid. More...
 
G4ThreeVector particleLocalMomentum () const
 Particle's local momentum in the region's envelope solid. More...
 
G4ThreeVector particleLocalPosition () const
 Particle's local position in the region's envelope solid. More...
 
double distanceToOut () const
 Distance to exit point from the region's envelope solid. More...
 
G4ThreeVector particleDirection () const
 Particle's global direction in the region's envelope solid. More...
 
G4ThreeVector particleMomentum () const
 Particle's global momentum in the region's envelope solid. More...
 
G4ThreeVector particlePosition () const
 Particle's global position in the region's envelope solid. More...
 

Public Attributes

const G4FastHithit { nullptr }
 
const G4FastTrack * track { nullptr }
 
const G4Track * primary { nullptr }
 
G4VTouchable * touchable { nullptr }
 

Detailed Description

Spot definition for fast simulation and GFlash.

Author
M.Frank
Version
1.0

Definition at line 71 of file Geant4FastSimSpot.h.

Constructor & Destructor Documentation

◆ Geant4FastSimSpot() [1/3]

dd4hep::sim::Geant4FastSimSpot::Geant4FastSimSpot ( )
delete

Default constructor disabled.

◆ Geant4FastSimSpot() [2/3]

dd4hep::sim::Geant4FastSimSpot::Geant4FastSimSpot ( const G4FastHit h,
const G4FastTrack *  trk 
)
inline

Initializing constructor.

Definition at line 133 of file Geant4FastSimSpot.h.

◆ Geant4FastSimSpot() [3/3]

dd4hep::sim::Geant4FastSimSpot::Geant4FastSimSpot ( const G4FastHit h,
const G4FastTrack *  trk,
G4VTouchable *  t 
)
inline

Initializing constructor.

Definition at line 125 of file Geant4FastSimSpot.h.

◆ ~Geant4FastSimSpot()

dd4hep::sim::Geant4FastSimSpot::~Geant4FastSimSpot ( )
default

Default destructor.

Member Function Documentation

◆ distanceToOut()

double dd4hep::sim::Geant4FastSimSpot::distanceToOut ( ) const
inline

Distance to exit point from the region's envelope solid.

Definition at line 158 of file Geant4FastSimSpot.h.

◆ energy()

double dd4hep::sim::Geant4FastSimSpot::energy ( ) const
inline

Energy deposit of the spot.

Definition at line 85 of file Geant4FastSimSpot.h.

◆ hitPosition()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::hitPosition ( ) const
inline

Spot's hit position.

Definition at line 83 of file Geant4FastSimSpot.h.

◆ kineticEnergy()

double dd4hep::sim::Geant4FastSimSpot::kineticEnergy ( ) const
inline

Primary track kinetic energy.

Definition at line 94 of file Geant4FastSimSpot.h.

◆ particleDirection()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::particleDirection ( ) const
inline

Particle's global direction in the region's envelope solid.

Definition at line 146 of file Geant4FastSimSpot.h.

◆ particleLocalDirection()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::particleLocalDirection ( ) const
inline

Particle's local direction in the region's envelope solid.

Definition at line 99 of file Geant4FastSimSpot.h.

◆ particleLocalMomentum()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::particleLocalMomentum ( ) const
inline

Particle's local momentum in the region's envelope solid.

Definition at line 102 of file Geant4FastSimSpot.h.

◆ particleLocalPosition()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::particleLocalPosition ( ) const
inline

Particle's local position in the region's envelope solid.

Definition at line 105 of file Geant4FastSimSpot.h.

◆ particleMomentum()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::particleMomentum ( ) const
inline

Particle's global momentum in the region's envelope solid.

Definition at line 140 of file Geant4FastSimSpot.h.

◆ particlePosition()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::particlePosition ( ) const
inline

Particle's global position in the region's envelope solid.

Definition at line 152 of file Geant4FastSimSpot.h.

◆ trackDefinition()

const G4ParticleDefinition* dd4hep::sim::Geant4FastSimSpot::trackDefinition ( ) const
inline

Primary track particle definition.

Definition at line 96 of file Geant4FastSimSpot.h.

◆ trackMomentum()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::trackMomentum ( ) const
inline

Primary track momentum.

Definition at line 92 of file Geant4FastSimSpot.h.

◆ trackPosition()

G4ThreeVector dd4hep::sim::Geant4FastSimSpot::trackPosition ( ) const
inline

Primary track position.

Definition at line 90 of file Geant4FastSimSpot.h.

◆ volume()

G4VPhysicalVolume* dd4hep::sim::Geant4FastSimSpot::volume ( ) const
inline

Access the physical volume of the hit.

Definition at line 87 of file Geant4FastSimSpot.h.

Member Data Documentation

◆ hit

const G4FastHit* dd4hep::sim::Geant4FastSimSpot::hit { nullptr }

Definition at line 118 of file Geant4FastSimSpot.h.

◆ primary

const G4Track* dd4hep::sim::Geant4FastSimSpot::primary { nullptr }

Definition at line 120 of file Geant4FastSimSpot.h.

◆ touchable

G4VTouchable* dd4hep::sim::Geant4FastSimSpot::touchable { nullptr }

Definition at line 121 of file Geant4FastSimSpot.h.

◆ track

const G4FastTrack* dd4hep::sim::Geant4FastSimSpot::track { nullptr }

Definition at line 119 of file Geant4FastSimSpot.h.


The documentation for this class was generated from the following file: