CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, 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  :
float x() const
float y() const
Local3DPoint _position
float z() const
float energy() const
EnergyDepositUnit::EnergyDepositUnit ( float  energy,
Local3DPoint  position 
)
inline

Definition at line 15 of file EnergyDepositUnit.h.

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

Member Function Documentation

float EnergyDepositUnit::energy ( void  ) const
inline

Definition at line 20 of file EnergyDepositUnit.h.

References _energy.

Referenced by SiLinearChargeCollectionDrifter::drift().

20 { return _energy;}
float EnergyDepositUnit::x ( ) const
inline
float EnergyDepositUnit::y ( ) const
inline
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(), and geometryXMLparser.Alignable::pos().

19 {return _position.z();}
Local3DPoint _position
T z() const
Definition: PV3DBase.h:63

Member Data Documentation

float EnergyDepositUnit::_energy
private

Definition at line 22 of file EnergyDepositUnit.h.

Referenced by energy().

Local3DPoint EnergyDepositUnit::_position
private

Definition at line 23 of file EnergyDepositUnit.h.

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