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) {}

◆ GflashHit() [2/2]

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

Definition at line 5 of file GflashHit.cc.

5  {
6  theTime = time;
9 }

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

◆ ~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.

13 { return theEnergy; }

References theEnergy.

◆ getPosition()

const Gflash3Vector& GflashHit::getPosition ( ) const
inline

Definition at line 14 of file GflashHit.h.

14 { return thePosition; }

References thePosition.

◆ getTime()

double GflashHit::getTime ( void  ) const
inline

Definition at line 12 of file GflashHit.h.

12 { return theTime; }

References theTime.

◆ setEnergy()

void GflashHit::setEnergy ( const double  energy)
inline

◆ setPosition()

void GflashHit::setPosition ( const Gflash3Vector pos)
inline

Definition at line 18 of file GflashHit.h.

18 { thePosition = pos; }

References thePosition.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

◆ setTime()

void GflashHit::setTime ( const double  time)
inline

Definition at line 16 of file GflashHit.h.

16 { theTime = time; }

References theTime, and protons_cff::time.

Referenced by GflashHadronShowerProfile::hadronicParameterization().

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

GflashHit::thePosition
Gflash3Vector thePosition
Definition: GflashHit.h:23
pos
Definition: PixelAliasList.h:18
protons_cff.time
time
Definition: protons_cff.py:35
GflashHit::theTime
double theTime
Definition: GflashHit.h:21
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
GflashHit::theEnergy
double theEnergy
Definition: GflashHit.h:22