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() [1/3]

RPixEnergyDepositUnit::RPixEnergyDepositUnit ( )
inline

Definition at line 13 of file RPixEnergyDepositUnit.h.

◆ RPixEnergyDepositUnit() [2/3]

RPixEnergyDepositUnit::RPixEnergyDepositUnit ( double  energy,
double  x,
double  y,
double  z 
)
inline

◆ RPixEnergyDepositUnit() [3/3]

RPixEnergyDepositUnit::RPixEnergyDepositUnit ( double  energy,
const Local3DPoint position 
)
inline

Member Function Documentation

◆ Energy()

double RPixEnergyDepositUnit::Energy ( ) const
inline

Definition at line 19 of file RPixEnergyDepositUnit.h.

References energy_.

19 { return energy_; }

◆ Position()

const Local3DPoint& RPixEnergyDepositUnit::Position ( ) const
inline

Definition at line 20 of file RPixEnergyDepositUnit.h.

References position_.

20 { return position_; }

◆ setEnergy()

void RPixEnergyDepositUnit::setEnergy ( double  e)
inline

◆ setPosition()

void RPixEnergyDepositUnit::setPosition ( Local3DPoint  p)
inline

Member Data Documentation

◆ energy_

double RPixEnergyDepositUnit::energy_
private

Definition at line 26 of file RPixEnergyDepositUnit.h.

Referenced by Energy(), and setEnergy().

◆ position_

Local3DPoint RPixEnergyDepositUnit::position_
private

Definition at line 27 of file RPixEnergyDepositUnit.h.

Referenced by Position(), and setPosition().