CMS 3D CMS Logo

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, const Local3DPoint &position)
 
 RPEnergyDepositUnit (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 RPEnergyDepositUnit.h.

Constructor & Destructor Documentation

◆ RPEnergyDepositUnit() [1/3]

RPEnergyDepositUnit::RPEnergyDepositUnit ( )
inline

Definition at line 13 of file RPEnergyDepositUnit.h.

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

◆ RPEnergyDepositUnit() [2/3]

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

Definition at line 14 of file RPEnergyDepositUnit.h.

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

◆ RPEnergyDepositUnit() [3/3]

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

Definition at line 15 of file RPEnergyDepositUnit.h.

Member Function Documentation

◆ Energy()

double RPEnergyDepositUnit::Energy ( ) const
inline

Definition at line 16 of file RPEnergyDepositUnit.h.

16 { return energy_; }

References energy_.

◆ Position()

const Local3DPoint& RPEnergyDepositUnit::Position ( ) const
inline

Definition at line 17 of file RPEnergyDepositUnit.h.

17 { return position_; }

References position_.

◆ setEnergy()

void RPEnergyDepositUnit::setEnergy ( double  e)
inline

Definition at line 19 of file RPEnergyDepositUnit.h.

19 { energy_ = e; }

References MillePedeFileConverter_cfg::e, and energy_.

◆ setPosition()

void RPEnergyDepositUnit::setPosition ( Local3DPoint  p)
inline

Definition at line 20 of file RPEnergyDepositUnit.h.

20 { position_ = p; }

References AlCaHLTBitMon_ParallelJobs::p, and position_.

Member Data Documentation

◆ energy_

double RPEnergyDepositUnit::energy_
private

Definition at line 23 of file RPEnergyDepositUnit.h.

Referenced by Energy(), and setEnergy().

◆ position_

Local3DPoint RPEnergyDepositUnit::position_
private

Definition at line 24 of file RPEnergyDepositUnit.h.

Referenced by Position(), and setPosition().

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