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, float x, float y, float z)
 
 EnergyDepositUnit (float energy, const Local3DPoint &position)
 
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) {}
Local3DPoint _position

◆ 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) {}
Local3DPoint _position
float energy() const

◆ EnergyDepositUnit() [3/3]

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

Definition at line 14 of file EnergyDepositUnit.h.

Local3DPoint _position
float energy() const
static int position[264][3]
Definition: ReadPGInfo.cc:289

Member Function Documentation

◆ energy()

float EnergyDepositUnit::energy ( void  ) const
inline

Definition at line 18 of file EnergyDepositUnit.h.

References _energy.

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

18 { return _energy; }

◆ 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().