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::EnergyDepositUnit ( )
inline

Definition at line 12 of file EnergyDepositUnit.h.

12 : _energy(0), _position(0, 0, 0) {}
Local3DPoint _position
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) {}
float x() const
float y() const
Local3DPoint _position
float z() const
float energy() const
EnergyDepositUnit::EnergyDepositUnit ( float  energy,
const Local3DPoint position 
)
inline

Definition at line 14 of file EnergyDepositUnit.h.

14 : _energy(energy), _position(position) {}
Local3DPoint _position
float energy() const

Member Function Documentation

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; }
float EnergyDepositUnit::x ( ) const
inline
float EnergyDepositUnit::y ( ) const
inline
float EnergyDepositUnit::z ( ) const
inline

Member Data Documentation

float EnergyDepositUnit::_energy
private

Definition at line 21 of file EnergyDepositUnit.h.

Referenced by energy().

Local3DPoint EnergyDepositUnit::_position
private

Definition at line 22 of file EnergyDepositUnit.h.

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