#include <SimG4Core/GFlash/interface/GflashEnergySpot.h>
Public Member Functions | |
G4double | getEnergy () const |
const G4ThreeVector & | getPosition () const |
GflashEnergySpot (G4double energy, G4ThreeVector &pos) | |
GflashEnergySpot () | |
void | setEnergy (const G4double energy) |
void | setPosition (const G4ThreeVector &pos) |
~GflashEnergySpot () | |
Private Attributes | |
G4double | theEnergy |
G4ThreeVector | thePosition |
Definition at line 6 of file GflashEnergySpot.h.
GflashEnergySpot::GflashEnergySpot | ( | ) |
Definition at line 3 of file GflashEnergySpot.cc.
00003 : 00004 theEnergy(0), 00005 thePosition(0) 00006 { 00007 }
GflashEnergySpot::GflashEnergySpot | ( | G4double | energy, | |
G4ThreeVector & | pos | |||
) |
Definition at line 9 of file GflashEnergySpot.cc.
References theEnergy, and thePosition.
00010 { 00011 theEnergy = energy; 00012 thePosition = pos; 00013 }
GflashEnergySpot::~GflashEnergySpot | ( | ) |
G4double GflashEnergySpot::getEnergy | ( | ) | const [inline] |
Definition at line 14 of file GflashEnergySpot.h.
References theEnergy.
Referenced by GflashHadronShowerProfile::hadronicParameterization().
00014 { return theEnergy; }
const G4ThreeVector& GflashEnergySpot::getPosition | ( | ) | const [inline] |
Definition at line 15 of file GflashEnergySpot.h.
References thePosition.
00015 { return thePosition; }
void GflashEnergySpot::setEnergy | ( | const G4double | energy | ) | [inline] |
Definition at line 17 of file GflashEnergySpot.h.
References theEnergy.
Referenced by GflashHadronShowerProfile::hadronicParameterization(), and GflashEMShowerProfile::parameterization().
void GflashEnergySpot::setPosition | ( | const G4ThreeVector & | pos | ) | [inline] |
Definition at line 18 of file GflashEnergySpot.h.
References thePosition.
Referenced by GflashHadronShowerProfile::hadronicParameterization(), and GflashEMShowerProfile::parameterization().
00018 { thePosition = pos; }
G4double GflashEnergySpot::theEnergy [private] |
Definition at line 21 of file GflashEnergySpot.h.
Referenced by getEnergy(), GflashEnergySpot(), and setEnergy().
G4ThreeVector GflashEnergySpot::thePosition [private] |
Definition at line 22 of file GflashEnergySpot.h.
Referenced by getPosition(), GflashEnergySpot(), and setPosition().