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() [1/2]

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() [2/2]

GflashHit::GflashHit ( double  time,
double  energy,
Gflash3Vector pos 
)

◆ ~GflashHit()

GflashHit::~GflashHit ( )

Definition at line 11 of file GflashHit.cc.

11 {}

Member Function Documentation

◆ getEnergy()

double GflashHit::getEnergy ( ) const
inline

Definition at line 13 of file GflashHit.h.

References theEnergy.

13 { return theEnergy; }
double theEnergy
Definition: GflashHit.h:22

◆ getPosition()

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

◆ getTime()

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

◆ setEnergy()

void GflashHit::setEnergy ( const double  energy)
inline

◆ setPosition()

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

◆ setTime()

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

◆ theEnergy

double GflashHit::theEnergy
private

Definition at line 22 of file GflashHit.h.

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

◆ thePosition

Gflash3Vector GflashHit::thePosition
private

Definition at line 23 of file GflashHit.h.

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

◆ theTime

double GflashHit::theTime
private

Definition at line 21 of file GflashHit.h.

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