CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GflashHit Class Reference

#include <GflashHit.h>

Public Member Functions

double getEnergy () const
 
const Gflash3VectorgetPosition () const
 
double getTime () const
 
 GflashHit ()
 
 GflashHit (double time, double energy, Gflash3Vector &pos)
 
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.

3 : theTime(0), theEnergy(0), thePosition(0) {}
Gflash3Vector thePosition
Definition: GflashHit.h:23
double theEnergy
Definition: GflashHit.h:22
double theTime
Definition: GflashHit.h:21
GflashHit::GflashHit ( double  time,
double  energy,
Gflash3Vector pos 
)

Definition at line 5 of file GflashHit.cc.

References theEnergy, thePosition, theTime, and protons_cff::time.

5  {
6  theTime = time;
7  theEnergy = energy;
9 }
Gflash3Vector thePosition
Definition: GflashHit.h:23
double theEnergy
Definition: GflashHit.h:22
double theTime
Definition: GflashHit.h:21
GflashHit::~GflashHit ( )

Definition at line 11 of file GflashHit.cc.

11 {}

Member Function Documentation

double GflashHit::getEnergy ( ) const
inline

Definition at line 13 of file GflashHit.h.

References theEnergy.

13 { return theEnergy; }
double theEnergy
Definition: GflashHit.h:22
const Gflash3Vector& GflashHit::getPosition ( ) const
inline

Definition at line 14 of file GflashHit.h.

References thePosition.

14 { return thePosition; }
Gflash3Vector thePosition
Definition: GflashHit.h:23
double GflashHit::getTime ( void  ) const
inline

Definition at line 12 of file GflashHit.h.

References theTime.

12 { return theTime; }
double theTime
Definition: GflashHit.h:21
void GflashHit::setEnergy ( const double  energy)
inline

Definition at line 17 of file GflashHit.h.

References theEnergy.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

17 { theEnergy = energy; }
double theEnergy
Definition: GflashHit.h:22
void GflashHit::setPosition ( const Gflash3Vector pos)
inline

Definition at line 18 of file GflashHit.h.

References thePosition.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

18 { thePosition = pos; }
Gflash3Vector thePosition
Definition: GflashHit.h:23
void GflashHit::setTime ( const double  time)
inline

Definition at line 16 of file GflashHit.h.

References theTime, and protons_cff::time.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

16 { theTime = time; }
double theTime
Definition: GflashHit.h:21

Member Data Documentation

double GflashHit::theEnergy
private

Definition at line 22 of file GflashHit.h.

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

Gflash3Vector GflashHit::thePosition
private

Definition at line 23 of file GflashHit.h.

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

double GflashHit::theTime
private

Definition at line 21 of file GflashHit.h.

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