DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
G4FastHit Class Reference

#include <Geant4FastSimSpot.h>

Public Member Functions

 G4FastHit ()=default
 
 G4FastHit (const G4ThreeVector &aPosition, G4double aEnergy)
 
 G4FastHit (const G4ThreeVector &aPosition, G4double aEnergy, G4bool)
 
virtual ~G4FastHit ()=default
 
void SetEnergy (const G4double &aEnergy)
 Set energy. More...
 
G4double GetEnergy () const
 Get energy. More...
 
void SetPosition (const G4ThreeVector &aPosition)
 Set position. More...
 
G4ThreeVector GetPosition () const
 Get position. More...
 

Private Attributes

G4double fEnergy {0e0}
 energy More...
 
G4ThreeVector fPosition { }
 position More...
 

Detailed Description

Definition at line 26 of file Geant4FastSimSpot.h.

Constructor & Destructor Documentation

◆ G4FastHit() [1/3]

G4FastHit::G4FastHit ( )
default

◆ G4FastHit() [2/3]

G4FastHit::G4FastHit ( const G4ThreeVector &  aPosition,
G4double  aEnergy 
)
inline

Definition at line 30 of file Geant4FastSimSpot.h.

◆ G4FastHit() [3/3]

G4FastHit::G4FastHit ( const G4ThreeVector &  aPosition,
G4double  aEnergy,
G4bool   
)
inline

Definition at line 32 of file Geant4FastSimSpot.h.

◆ ~G4FastHit()

virtual G4FastHit::~G4FastHit ( )
virtualdefault

Member Function Documentation

◆ GetEnergy()

G4double G4FastHit::GetEnergy ( ) const
inline

Get energy.

Definition at line 39 of file Geant4FastSimSpot.h.

◆ GetPosition()

G4ThreeVector G4FastHit::GetPosition ( ) const
inline

Get position.

Definition at line 43 of file Geant4FastSimSpot.h.

◆ SetEnergy()

void G4FastHit::SetEnergy ( const G4double &  aEnergy)
inline

Set energy.

Definition at line 37 of file Geant4FastSimSpot.h.

◆ SetPosition()

void G4FastHit::SetPosition ( const G4ThreeVector &  aPosition)
inline

Set position.

Definition at line 41 of file Geant4FastSimSpot.h.

Member Data Documentation

◆ fEnergy

G4double G4FastHit::fEnergy {0e0}
private

energy

Definition at line 46 of file Geant4FastSimSpot.h.

◆ fPosition

G4ThreeVector G4FastHit::fPosition { }
private

position

Definition at line 48 of file Geant4FastSimSpot.h.


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