CMS 3D CMS Logo

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

#include <RPixEnergyDepositUnit.h>

Public Member Functions

double Energy () const
 
const Local3DPointPosition () const
 
 RPixEnergyDepositUnit ()
 
 RPixEnergyDepositUnit (double energy, double x, double y, double z)
 
 RPixEnergyDepositUnit (double energy, const Local3DPoint &position)
 
void setEnergy (double e)
 
void setPosition (Local3DPoint p)
 

Private Attributes

double energy_
 
Local3DPoint position_
 

Detailed Description

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

Definition at line 11 of file RPixEnergyDepositUnit.h.

Constructor & Destructor Documentation

RPixEnergyDepositUnit::RPixEnergyDepositUnit ( )
inline

Definition at line 13 of file RPixEnergyDepositUnit.h.

RPixEnergyDepositUnit::RPixEnergyDepositUnit ( double  energy,
double  x,
double  y,
double  z 
)
inline
RPixEnergyDepositUnit::RPixEnergyDepositUnit ( double  energy,
const Local3DPoint position 
)
inline

Member Function Documentation

double RPixEnergyDepositUnit::Energy ( ) const
inline

Definition at line 19 of file RPixEnergyDepositUnit.h.

References energy_.

19 { return energy_; }
const Local3DPoint& RPixEnergyDepositUnit::Position ( ) const
inline

Definition at line 20 of file RPixEnergyDepositUnit.h.

References position_.

20 { return position_; }
void RPixEnergyDepositUnit::setEnergy ( double  e)
inline
void RPixEnergyDepositUnit::setPosition ( Local3DPoint  p)
inline

Member Data Documentation

double RPixEnergyDepositUnit::energy_
private

Definition at line 26 of file RPixEnergyDepositUnit.h.

Referenced by Energy(), and setEnergy().

Local3DPoint RPixEnergyDepositUnit::position_
private

Definition at line 27 of file RPixEnergyDepositUnit.h.

Referenced by Position(), and setPosition().