Geant4-11
Public Member Functions | Private Attributes
GFlashEnergySpot Class Reference

#include <GFlashEnergySpot.hh>

Public Member Functions

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

Private Attributes

G4double Energy
 
G4ThreeVector Point
 

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}
G4ThreeVector Point

References Energy, and Point.

◆ ~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;}

References Energy.

◆ GetPosition()

G4ThreeVector GFlashEnergySpot::GetPosition ( ) const
inline

Definition at line 58 of file GFlashEnergySpot.hh.

58{return Point;}

References Point.

Referenced by GFlashHitMaker::make().

◆ SetEnergy()

void GFlashEnergySpot::SetEnergy ( const G4double E)
inline

Definition at line 54 of file GFlashEnergySpot.hh.

54{Energy = E;}

References Energy.

Referenced by GFlashShowerModel::ElectronDoIt().

◆ SetPosition()

void GFlashEnergySpot::SetPosition ( const G4ThreeVector point)
inline

Definition at line 57 of file GFlashEnergySpot.hh.

57{Point = point;}

References Point.

Referenced by GFlashShowerModel::ElectronDoIt().

Field Documentation

◆ Energy

G4double GFlashEnergySpot::Energy
private

Definition at line 62 of file GFlashEnergySpot.hh.

Referenced by GetEnergy(), GFlashEnergySpot(), and SetEnergy().

◆ Point

G4ThreeVector GFlashEnergySpot::Point
private

Definition at line 63 of file GFlashEnergySpot.hh.

Referenced by GetPosition(), GFlashEnergySpot(), and SetPosition().


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