CMS 3D CMS Logo

EnergyDepositUnit.h
Go to the documentation of this file.
1 #ifndef _TRACKER_EnergyDepositUnit_H
2 #define _TRACKER_EnergyDepositUnit_H
3 
11 public:
12  EnergyDepositUnit() : _energy(0), _position(0, 0, 0) {}
13  EnergyDepositUnit(float energy, float x, float y, float z) : _energy(energy), _position(x, y, z) {}
15  float x() const { return _position.x(); }
16  float y() const { return _position.y(); }
17  float z() const { return _position.z(); }
18  float energy() const { return _energy; }
19 
20 private:
21  float _energy;
23 };
24 
25 #endif
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
EnergyDepositUnit::_position
Local3DPoint _position
Definition: EnergyDepositUnit.h:22
EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit()
Definition: EnergyDepositUnit.h:12
EnergyDepositUnit::z
float z() const
Definition: EnergyDepositUnit.h:17
EnergyDepositUnit::_energy
float _energy
Definition: EnergyDepositUnit.h:21
EnergyDepositUnit::x
float x() const
Definition: EnergyDepositUnit.h:15
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
Point3DBase< float, LocalTag >
EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit(float energy, const Local3DPoint &position)
Definition: EnergyDepositUnit.h:14
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
LocalPoint.h
EnergyDepositUnit::energy
float energy() const
Definition: EnergyDepositUnit.h:18
EnergyDepositUnit::EnergyDepositUnit
EnergyDepositUnit(float energy, float x, float y, float z)
Definition: EnergyDepositUnit.h:13
LocalVector.h
EnergyDepositUnit
Definition: EnergyDepositUnit.h:10
EnergyDepositUnit::y
float y() const
Definition: EnergyDepositUnit.h:16