CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
RPEnergyDepositUnit Class Reference

#include <RPEnergyDepositUnit.h>

Public Member Functions

double Energy () const
 
const Local3DPointPosition () const
 
 RPEnergyDepositUnit ()
 
 RPEnergyDepositUnit (double energy, double x, double y, double z)
 
 RPEnergyDepositUnit (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 RPEnergyDepositUnit.h.

Constructor & Destructor Documentation

RPEnergyDepositUnit::RPEnergyDepositUnit ( )
inline

Definition at line 13 of file RPEnergyDepositUnit.h.

13 : energy_(0), position_(0, 0, 0) {}
RPEnergyDepositUnit::RPEnergyDepositUnit ( double  energy,
double  x,
double  y,
double  z 
)
inline
RPEnergyDepositUnit::RPEnergyDepositUnit ( double  energy,
const Local3DPoint position 
)
inline

Definition at line 15 of file RPEnergyDepositUnit.h.

Member Function Documentation

double RPEnergyDepositUnit::Energy ( ) const
inline

Definition at line 16 of file RPEnergyDepositUnit.h.

References energy_.

16 { return energy_; }
const Local3DPoint& RPEnergyDepositUnit::Position ( ) const
inline

Definition at line 17 of file RPEnergyDepositUnit.h.

References position_.

17 { return position_; }
void RPEnergyDepositUnit::setEnergy ( double  e)
inline

Definition at line 19 of file RPEnergyDepositUnit.h.

References alignCSCRings::e, and energy_.

void RPEnergyDepositUnit::setPosition ( Local3DPoint  p)
inline

Member Data Documentation

double RPEnergyDepositUnit::energy_
private

Definition at line 23 of file RPEnergyDepositUnit.h.

Referenced by Energy(), and setEnergy().

Local3DPoint RPEnergyDepositUnit::position_
private

Definition at line 24 of file RPEnergyDepositUnit.h.

Referenced by Position(), and setPosition().