src
SimGeneral
GFlash
interface
GflashHit.h
Go to the documentation of this file.
1
#ifndef GflashHit_H
2
#define GflashHit_H
3
4
#include "
SimGeneral/GFlash/interface/Gflash3Vector.h
"
5
6
class
GflashHit
{
7
public
:
8
GflashHit
();
9
GflashHit
(
double
time
,
double
energy
,
Gflash3Vector
&
pos
);
10
~GflashHit
();
11
12
inline
double
getTime
()
const
{
return
theTime
; }
13
inline
double
getEnergy
()
const
{
return
theEnergy
; }
14
inline
const
Gflash3Vector
&
getPosition
()
const
{
return
thePosition
; }
15
16
inline
void
setTime
(
const
double
time
) {
theTime
=
time
; }
17
inline
void
setEnergy
(
const
double
energy
) {
theEnergy
=
energy
; }
18
inline
void
setPosition
(
const
Gflash3Vector
&
pos
) {
thePosition
=
pos
; }
19
20
private
:
21
double
theTime
;
22
double
theEnergy
;
23
Gflash3Vector
thePosition
;
24
};
25
26
#endif
GflashHit::setEnergy
void setEnergy(const double energy)
Definition:
GflashHit.h:17
GflashHit::~GflashHit
~GflashHit()
Definition:
GflashHit.cc:11
GflashHit::GflashHit
GflashHit()
Definition:
GflashHit.cc:3
GflashHit::setPosition
void setPosition(const Gflash3Vector &pos)
Definition:
GflashHit.h:18
hcalRecHitTable_cff.time
time
Definition:
hcalRecHitTable_cff.py:14
HBHEDarkening_cff.energy
energy
Definition:
HBHEDarkening_cff.py:10
GflashHit
Definition:
GflashHit.h:6
GflashHit::setTime
void setTime(const double time)
Definition:
GflashHit.h:16
GflashHit::getPosition
const Gflash3Vector & getPosition() const
Definition:
GflashHit.h:14
GflashHit::thePosition
Gflash3Vector thePosition
Definition:
GflashHit.h:23
GflashHit::theEnergy
double theEnergy
Definition:
GflashHit.h:22
GflashHit::getTime
double getTime() const
Definition:
GflashHit.h:12
pos
Definition:
PixelCalibBase.h:13
GflashHit::getEnergy
double getEnergy() const
Definition:
GflashHit.h:13
Gflash3Vector.h
Gflash3Vector
CLHEP::Hep3Vector Gflash3Vector
Definition:
Gflash3Vector.h:6
GflashHit::theTime
double theTime
Definition:
GflashHit.h:21
Generated for CMSSW Reference Manual by
1.8.14