Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GFlashEnergySpot Class Reference

#include <GFlashEnergySpot.hh>

Public Member Functions

 GFlashEnergySpot ()
 
 GFlashEnergySpot (const G4ThreeVector &point, G4double E)
 
 ~GFlashEnergySpot ()
 
void SetEnergy (const G4double &E)
 
G4double GetEnergy () const
 
void SetPosition (const G4ThreeVector &point)
 
G4ThreeVector GetPosition () const
 

Detailed Description

Definition at line 46 of file GFlashEnergySpot.hh.

Constructor & Destructor Documentation

◆ GFlashEnergySpot() [1/2]

GFlashEnergySpot::GFlashEnergySpot ( )

Definition at line 43 of file GFlashEnergySpot.cc.

43: Energy (0.) {}

◆ GFlashEnergySpot() [2/2]

GFlashEnergySpot::GFlashEnergySpot ( const G4ThreeVector point,
G4double  E 
)

Definition at line 45 of file GFlashEnergySpot.cc.

46{
47 Point = point;
48 Energy = E;
49 // initialize shower start @@@@@
50}

◆ ~GFlashEnergySpot()

GFlashEnergySpot::~GFlashEnergySpot ( )

Definition at line 52 of file GFlashEnergySpot.cc.

52{}

Member Function Documentation

◆ GetEnergy()

G4double GFlashEnergySpot::GetEnergy ( ) const
inline

Definition at line 55 of file GFlashEnergySpot.hh.

55{return Energy;}

Referenced by GFlashHitMaker::make().

◆ GetPosition()

G4ThreeVector GFlashEnergySpot::GetPosition ( ) const
inline

Definition at line 58 of file GFlashEnergySpot.hh.

58{return Point;}

Referenced by GFlashHitMaker::make().

◆ SetEnergy()

void GFlashEnergySpot::SetEnergy ( const G4double E)
inline

Definition at line 54 of file GFlashEnergySpot.hh.

54{Energy = E;}

◆ SetPosition()

void GFlashEnergySpot::SetPosition ( const G4ThreeVector point)
inline

Definition at line 57 of file GFlashEnergySpot.hh.

57{Point = point;}

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