Geant4  10.02.p02
Par01EnergySpot Class Reference

#include <Par01EnergySpot.hh>

Public Member Functions

 Par01EnergySpot ()
 
 Par01EnergySpot (const G4ThreeVector &point, G4double E)
 
 ~Par01EnergySpot ()
 
void SetEnergy (const G4double &E)
 
G4double GetEnergy () const
 
void SetPosition (const G4ThreeVector &point)
 
G4ThreeVector GetPosition () const
 
G4int operator== (const Par01EnergySpot &eSpot) const
 
void Draw (G4Colour *color=0)
 
void Print ()
 

Private Attributes

G4double fEnergy
 
G4ThreeVector fPoint
 

Detailed Description

Definition at line 35 of file Par01EnergySpot.hh.

Constructor & Destructor Documentation

Par01EnergySpot::Par01EnergySpot ( )

Definition at line 38 of file Par01EnergySpot.cc.

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

Definition at line 41 of file Par01EnergySpot.cc.

References fEnergy, and fPoint.

Par01EnergySpot::~Par01EnergySpot ( )

Definition at line 47 of file Par01EnergySpot.cc.

Member Function Documentation

void Par01EnergySpot::Draw ( G4Colour color = 0)

Definition at line 51 of file Par01EnergySpot.cc.

References cm, fPoint, G4VVisManager::GetConcreteInstance(), G4InuclParticleNames::pp, and G4Visible::SetVisAttributes().

+ Here is the call graph for this function:

G4double Par01EnergySpot::GetEnergy ( ) const
inline

Definition at line 43 of file Par01EnergySpot.hh.

References fEnergy.

Referenced by Par01PionShowerModel::FillFakeStep(), and Par01EMShowerModel::FillFakeStep().

+ Here is the caller graph for this function:

G4ThreeVector Par01EnergySpot::GetPosition ( ) const
inline

Definition at line 46 of file Par01EnergySpot.hh.

References fPoint.

Referenced by Par01PionShowerModel::FillFakeStep(), and Par01EMShowerModel::FillFakeStep().

+ Here is the caller graph for this function:

G4int Par01EnergySpot::operator== ( const Par01EnergySpot eSpot) const
inline

Definition at line 48 of file Par01EnergySpot.hh.

References fEnergy, and fPoint.

void Par01EnergySpot::Print ( void  )

Definition at line 83 of file Par01EnergySpot.cc.

References fEnergy, fPoint, G4cout, and G4endl.

void Par01EnergySpot::SetEnergy ( const G4double E)
inline

Definition at line 42 of file Par01EnergySpot.hh.

References fEnergy.

Referenced by Par01PionShowerModel::Explode(), and Par01EMShowerModel::Explode().

+ Here is the caller graph for this function:

void Par01EnergySpot::SetPosition ( const G4ThreeVector point)
inline

Definition at line 45 of file Par01EnergySpot.hh.

References fPoint.

Referenced by Par01PionShowerModel::Explode(), and Par01EMShowerModel::Explode().

+ Here is the caller graph for this function:

Member Data Documentation

G4double Par01EnergySpot::fEnergy
private

Definition at line 60 of file Par01EnergySpot.hh.

Referenced by GetEnergy(), operator==(), Par01EnergySpot(), Print(), and SetEnergy().

G4ThreeVector Par01EnergySpot::fPoint
private

Definition at line 61 of file Par01EnergySpot.hh.

Referenced by Draw(), GetPosition(), operator==(), Par01EnergySpot(), Print(), and SetPosition().


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