Geant4 9.6.0
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 47 of file GFlashEnergySpot.hh.

Constructor & Destructor Documentation

◆ GFlashEnergySpot() [1/2]

GFlashEnergySpot::GFlashEnergySpot ( )

Definition at line 44 of file GFlashEnergySpot.cc.

44: Energy (0.) {}

◆ GFlashEnergySpot() [2/2]

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

Definition at line 46 of file GFlashEnergySpot.cc.

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

◆ ~GFlashEnergySpot()

GFlashEnergySpot::~GFlashEnergySpot ( )

Definition at line 53 of file GFlashEnergySpot.cc.

53{}

Member Function Documentation

◆ GetEnergy()

G4double GFlashEnergySpot::GetEnergy ( ) const
inline

Definition at line 56 of file GFlashEnergySpot.hh.

56{return Energy;}

◆ GetPosition()

G4ThreeVector GFlashEnergySpot::GetPosition ( ) const
inline

Definition at line 59 of file GFlashEnergySpot.hh.

59{return Point;}

Referenced by GFlashHitMaker::make().

◆ SetEnergy()

void GFlashEnergySpot::SetEnergy ( const G4double E)
inline

Definition at line 55 of file GFlashEnergySpot.hh.

55{Energy = E;}

◆ SetPosition()

void GFlashEnergySpot::SetPosition ( const G4ThreeVector point)
inline

Definition at line 58 of file GFlashEnergySpot.hh.

58{Point = point;}

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