CMS 3D CMS Logo

Public Member Functions | Private Attributes

EnergyDepositUnit Class Reference

#include <EnergyDepositUnit.h>

List of all members.

Public Member Functions

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

: _energy(0),_position(0,0,0){}
EnergyDepositUnit::EnergyDepositUnit ( float  energy,
float  x,
float  y,
float  z 
) [inline]

Definition at line 13 of file EnergyDepositUnit.h.

EnergyDepositUnit::EnergyDepositUnit ( float  energy,
Local3DPoint  position 
) [inline]

Definition at line 15 of file EnergyDepositUnit.h.

                                                        :
    _energy(energy),_position(position){}

Member Function Documentation

float EnergyDepositUnit::energy ( void  ) const [inline]

Definition at line 20 of file EnergyDepositUnit.h.

References _energy.

Referenced by SiLinearChargeCollectionDrifter::drift().

{ return _energy;}
float EnergyDepositUnit::x ( ) const [inline]

Definition at line 17 of file EnergyDepositUnit.h.

References _position, and PV3DBase< T, PVType, FrameType >::x().

Referenced by SiLinearChargeCollectionDrifter::drift().

{return _position.x();}
float EnergyDepositUnit::y ( ) const [inline]

Definition at line 18 of file EnergyDepositUnit.h.

References _position, and PV3DBase< T, PVType, FrameType >::y().

Referenced by SiLinearChargeCollectionDrifter::drift().

{return _position.y();}
float EnergyDepositUnit::z ( ) const [inline]

Definition at line 19 of file EnergyDepositUnit.h.

References _position, and PV3DBase< T, PVType, FrameType >::z().

Referenced by SiLinearChargeCollectionDrifter::drift().

{return _position.z();}

Member Data Documentation

float EnergyDepositUnit::_energy [private]

Definition at line 22 of file EnergyDepositUnit.h.

Referenced by energy().

Definition at line 23 of file EnergyDepositUnit.h.

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