Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimTracker
SiStripDigitizer
interface
EnergyDepositUnit.h
Go to the documentation of this file.
1
#ifndef _TRACKER_EnergyDepositUnit_H
2
#define _TRACKER_EnergyDepositUnit_H
3
4
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
5
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
10
class
EnergyDepositUnit
{
11
public
:
12
EnergyDepositUnit
():
_energy
(0),
_position
(0,0,0){}
13
EnergyDepositUnit
(
float
energy
,
float
x
,
float
y
,
float
z
):
14
_energy
(energy),
_position
(x,y,z){}
15
EnergyDepositUnit
(
float
energy
,
Local3DPoint
position
):
16
_energy
(energy),
_position
(position){}
17
float
x
()
const
{
return
_position
.
x
();}
18
float
y
()
const
{
return
_position
.
y
();}
19
float
z
()
const
{
return
_position
.
z
();}
20
float
energy
()
const
{
return
_energy
;}
21
private
:
22
float
_energy
;
23
Local3DPoint
_position
;
24
};
25
26
27
#endif
EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit()
Definition:
EnergyDepositUnit.h:12
EnergyDepositUnit::x
float x() const
Definition:
EnergyDepositUnit.h:17
LocalPoint.h
EnergyDepositUnit::y
float y() const
Definition:
EnergyDepositUnit.h:18
EnergyDepositUnit::_energy
float _energy
Definition:
EnergyDepositUnit.h:22
PV3DBase::y
T y() const
Definition:
PV3DBase.h:62
EnergyDepositUnit::_position
Local3DPoint _position
Definition:
EnergyDepositUnit.h:23
EnergyDepositUnit::z
float z() const
Definition:
EnergyDepositUnit.h:19
PV3DBase::z
T z() const
Definition:
PV3DBase.h:63
EnergyDepositUnit
Definition:
EnergyDepositUnit.h:10
EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit(float energy, Local3DPoint position)
Definition:
EnergyDepositUnit.h:15
EnergyDepositUnit::energy
float energy() const
Definition:
EnergyDepositUnit.h:20
Point3DBase< float, LocalTag >
position
static int position[264][3]
Definition:
ReadPGInfo.cc:509
PV3DBase::x
T x() const
Definition:
PV3DBase.h:61
LocalVector.h
EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit(float energy, float x, float y, float z)
Definition:
EnergyDepositUnit.h:13
Generated for CMSSW Reference Manual by
1.8.5