CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EnergyDepositUnit Class Reference

#include <EnergyDepositUnit.h>

Public Member Functions

float energy () const
 
 EnergyDepositUnit ()
 
 EnergyDepositUnit (float energy, const Local3DPoint &position)
 
 EnergyDepositUnit (float energy, float x, float y, float z)
 
float x () const
 
float y () const
 
float z () const
 

Private Attributes

float _energy
 
Local3DPoint _position
 

Detailed Description

Class which allows to "follow" an elementary charge in the silicon. It basically defines a quantum of energy in the bulk, with a 3D position.

Definition at line 10 of file EnergyDepositUnit.h.

Constructor & Destructor Documentation

◆ EnergyDepositUnit() [1/3]

EnergyDepositUnit::EnergyDepositUnit ( )
inline

Definition at line 12 of file EnergyDepositUnit.h.

12 : _energy(0), _position(0, 0, 0) {}

◆ EnergyDepositUnit() [2/3]

EnergyDepositUnit::EnergyDepositUnit ( float  energy,
float  x,
float  y,
float  z 
)
inline

Definition at line 13 of file EnergyDepositUnit.h.

13 : _energy(energy), _position(x, y, z) {}

◆ EnergyDepositUnit() [3/3]

EnergyDepositUnit::EnergyDepositUnit ( float  energy,
const Local3DPoint position 
)
inline

Definition at line 14 of file EnergyDepositUnit.h.

Member Function Documentation

◆ energy()

float EnergyDepositUnit::energy ( void  ) const
inline

Definition at line 18 of file EnergyDepositUnit.h.

18 { return _energy; }

References _energy.

Referenced by SiLinearChargeCollectionDrifter::drift(), and Jet.Jet::rawEnergy().

◆ x()

float EnergyDepositUnit::x ( ) const
inline

◆ y()

float EnergyDepositUnit::y ( ) const
inline

◆ z()

float EnergyDepositUnit::z ( ) const
inline

Member Data Documentation

◆ _energy

float EnergyDepositUnit::_energy
private

Definition at line 21 of file EnergyDepositUnit.h.

Referenced by energy().

◆ _position

Local3DPoint EnergyDepositUnit::_position
private

Definition at line 22 of file EnergyDepositUnit.h.

Referenced by x(), y(), and z().

PV3DBase::x
T x() const
Definition: PV3DBase.h:59
EnergyDepositUnit::_position
Local3DPoint _position
Definition: EnergyDepositUnit.h:22
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
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
EnergyDepositUnit::energy
float energy() const
Definition: EnergyDepositUnit.h:18
EnergyDepositUnit::y
float y() const
Definition: EnergyDepositUnit.h:16