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, const Local3DPoint &position)
 
 RPixEnergyDepositUnit (double energy, double x, double y, double z)
 
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.

13 : energy_(0), position_(0, 0, 0){};

◆ RPixEnergyDepositUnit() [2/3]

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

Definition at line 15 of file RPixEnergyDepositUnit.h.

15 : energy_(energy), position_(x, y, z){};

◆ RPixEnergyDepositUnit() [3/3]

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

Definition at line 17 of file RPixEnergyDepositUnit.h.

Member Function Documentation

◆ Energy()

double RPixEnergyDepositUnit::Energy ( ) const
inline

Definition at line 19 of file RPixEnergyDepositUnit.h.

19 { return energy_; }

References energy_.

◆ Position()

const Local3DPoint& RPixEnergyDepositUnit::Position ( ) const
inline

Definition at line 20 of file RPixEnergyDepositUnit.h.

20 { return position_; }

References position_.

◆ setEnergy()

void RPixEnergyDepositUnit::setEnergy ( double  e)
inline

Definition at line 22 of file RPixEnergyDepositUnit.h.

22 { energy_ = e; }

References MillePedeFileConverter_cfg::e, and energy_.

◆ setPosition()

void RPixEnergyDepositUnit::setPosition ( Local3DPoint  p)
inline

Definition at line 23 of file RPixEnergyDepositUnit.h.

23 { position_ = p; }

References AlCaHLTBitMon_ParallelJobs::p, and position_.

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().

DDAxes::y
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
DDAxes::x
DDAxes::z
RPixEnergyDepositUnit::position_
Local3DPoint position_
Definition: RPixEnergyDepositUnit.h:27
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
RPixEnergyDepositUnit::energy_
double energy_
Definition: RPixEnergyDepositUnit.h:26
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37