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::thePosition
Gflash3Vector thePosition
Definition:
GflashHit.h:23
GflashHit::setEnergy
void setEnergy(const double energy)
Definition:
GflashHit.h:17
GflashHit::setTime
void setTime(const double time)
Definition:
GflashHit.h:16
Gflash3Vector.h
pos
Definition:
PixelAliasList.h:18
GflashHit::theTime
double theTime
Definition:
GflashHit.h:21
GflashHit::getEnergy
double getEnergy() const
Definition:
GflashHit.h:13
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition:
HCALHighEnergyHPDFilter_cfi.py:5
GflashHit
Definition:
GflashHit.h:6
Gflash3Vector
CLHEP::Hep3Vector Gflash3Vector
Definition:
Gflash3Vector.h:6
GflashHit::getPosition
const Gflash3Vector & getPosition() const
Definition:
GflashHit.h:14
GflashHit::GflashHit
GflashHit()
Definition:
GflashHit.cc:3
GflashHit::getTime
double getTime() const
Definition:
GflashHit.h:12
GflashHit::~GflashHit
~GflashHit()
Definition:
GflashHit.cc:11
GflashHit::theEnergy
double theEnergy
Definition:
GflashHit.h:22
ntuplemaker.time
time
Definition:
ntuplemaker.py:310
GflashHit::setPosition
void setPosition(const Gflash3Vector &pos)
Definition:
GflashHit.h:18
Generated for CMSSW Reference Manual by
1.8.16