CMS 3D CMS Logo

Public Member Functions | Private Attributes

GflashHit Class Reference

#include <GflashHit.h>

List of all members.

Public Member Functions

double getEnergy () const
const Gflash3VectorgetPosition () const
double getTime () const
 GflashHit (double time, double energy, Gflash3Vector &pos)
 GflashHit ()
void setEnergy (const double energy)
void setPosition (const Gflash3Vector &pos)
void setTime (const double time)
 ~GflashHit ()

Private Attributes

double theEnergy
Gflash3Vector thePosition
double theTime

Detailed Description

Definition at line 6 of file GflashHit.h.


Constructor & Destructor Documentation

GflashHit::GflashHit ( )

Definition at line 3 of file GflashHit.cc.

                     :
  theTime(0),
  theEnergy(0),
  thePosition(0)
{
}
GflashHit::GflashHit ( double  time,
double  energy,
Gflash3Vector pos 
)
GflashHit::~GflashHit ( )

Definition at line 17 of file GflashHit.cc.

{
}

Member Function Documentation

double GflashHit::getEnergy ( ) const [inline]

Definition at line 15 of file GflashHit.h.

References theEnergy.

{ return theEnergy; }
const Gflash3Vector& GflashHit::getPosition ( ) const [inline]

Definition at line 16 of file GflashHit.h.

References thePosition.

{ return thePosition; }
double GflashHit::getTime ( void  ) const [inline]

Definition at line 14 of file GflashHit.h.

References theTime.

{ return theTime; }
void GflashHit::setEnergy ( const double  energy) [inline]
void GflashHit::setPosition ( const Gflash3Vector pos) [inline]

Definition at line 20 of file GflashHit.h.

References pos, and thePosition.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

void GflashHit::setTime ( const double  time) [inline]

Definition at line 18 of file GflashHit.h.

References theTime, and cond::rpcobgas::time.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

{ theTime = time; }

Member Data Documentation

double GflashHit::theEnergy [private]

Definition at line 24 of file GflashHit.h.

Referenced by getEnergy(), GflashHit(), and setEnergy().

Definition at line 25 of file GflashHit.h.

Referenced by getPosition(), GflashHit(), and setPosition().

double GflashHit::theTime [private]

Definition at line 23 of file GflashHit.h.

Referenced by getTime(), GflashHit(), and setTime().