CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  :
4  theTime(0),
5  theEnergy(0),
6  thePosition(0)
7 {
8 }
Gflash3Vector thePosition
Definition: GflashHit.h:25
double theEnergy
Definition: GflashHit.h:24
double theTime
Definition: GflashHit.h:23
GflashHit::GflashHit ( double  time,
double  energy,
Gflash3Vector pos 
)

Definition at line 10 of file GflashHit.cc.

References relval_parameters_module::energy, theEnergy, thePosition, theTime, and cond::rpcobgas::time.

11 {
12  theTime = time;
13  theEnergy = energy;
14  thePosition = pos;
15 }
Gflash3Vector thePosition
Definition: GflashHit.h:25
double theEnergy
Definition: GflashHit.h:24
double theTime
Definition: GflashHit.h:23
GflashHit::~GflashHit ( )

Definition at line 17 of file GflashHit.cc.

18 {
19 }

Member Function Documentation

double GflashHit::getEnergy ( ) const
inline

Definition at line 15 of file GflashHit.h.

References theEnergy.

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

Definition at line 16 of file GflashHit.h.

References thePosition.

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

Definition at line 14 of file GflashHit.h.

References theTime.

14 { return theTime; }
double theTime
Definition: GflashHit.h:23
void GflashHit::setEnergy ( const double  energy)
inline
void GflashHit::setPosition ( const Gflash3Vector pos)
inline

Definition at line 20 of file GflashHit.h.

References thePosition.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

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

Member Data Documentation

double GflashHit::theEnergy
private

Definition at line 24 of file GflashHit.h.

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

Gflash3Vector GflashHit::thePosition
private

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