CMS 3D CMS Logo

GflashEnergySpot Class Reference

#include <SimG4Core/GFlash/interface/GflashEnergySpot.h>

List of all members.

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


Detailed Description

Definition at line 6 of file GflashEnergySpot.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 15 of file GflashEnergySpot.cc.

00016 {
00017 }


Member Function Documentation

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().

00017 { theEnergy = energy; }

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


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:21:24 2009 for CMSSW by  doxygen 1.5.4