CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DigitizerUtility::EnergyDepositUnit Class Reference

#include <DigitizerUtility.h>

Public Member Functions

float energy () const
 
 EnergyDepositUnit ()
 
 EnergyDepositUnit (float energy, float x, float y, float z)
 
 EnergyDepositUnit (float energy, Local3DPoint position)
 
void migrate_position (const Local3DPoint &pos)
 
float x () const
 
float y () const
 
float z () const
 

Private Attributes

float _energy
 
Local3DPoint _position
 

Detailed Description

Definition at line 72 of file DigitizerUtility.h.

Constructor & Destructor Documentation

◆ EnergyDepositUnit() [1/3]

DigitizerUtility::EnergyDepositUnit::EnergyDepositUnit ( )
inline

Definition at line 74 of file DigitizerUtility.h.

74 : _energy(0), _position(0, 0, 0) {}

◆ EnergyDepositUnit() [2/3]

DigitizerUtility::EnergyDepositUnit::EnergyDepositUnit ( float  energy,
float  x,
float  y,
float  z 
)
inline

Definition at line 75 of file DigitizerUtility.h.

75 : _energy(energy), _position(x, y, z) {}

◆ EnergyDepositUnit() [3/3]

DigitizerUtility::EnergyDepositUnit::EnergyDepositUnit ( float  energy,
Local3DPoint  position 
)
inline

Definition at line 76 of file DigitizerUtility.h.

Member Function Documentation

◆ energy()

float DigitizerUtility::EnergyDepositUnit::energy ( void  ) const
inline

Definition at line 80 of file DigitizerUtility.h.

80 { return _energy; }

References _energy.

Referenced by Phase2TrackerDigitizerAlgorithm::primary_ionization(), and Jet.Jet::rawEnergy().

◆ migrate_position()

void DigitizerUtility::EnergyDepositUnit::migrate_position ( const Local3DPoint pos)
inline

Definition at line 83 of file DigitizerUtility.h.

83 { _position = pos; }

References _position.

◆ x()

float DigitizerUtility::EnergyDepositUnit::x ( ) const
inline

◆ y()

float DigitizerUtility::EnergyDepositUnit::y ( ) const
inline

◆ z()

float DigitizerUtility::EnergyDepositUnit::z ( ) const
inline

Member Data Documentation

◆ _energy

float DigitizerUtility::EnergyDepositUnit::_energy
private

Definition at line 86 of file DigitizerUtility.h.

Referenced by energy().

◆ _position

Local3DPoint DigitizerUtility::EnergyDepositUnit::_position
private

Definition at line 87 of file DigitizerUtility.h.

Referenced by migrate_position(), x(), y(), and z().

PV3DBase::x
T x() const
Definition: PV3DBase.h:59
DigitizerUtility::EnergyDepositUnit::y
float y() const
Definition: DigitizerUtility.h:78
pos
Definition: PixelAliasList.h:18
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
DigitizerUtility::EnergyDepositUnit::_energy
float _energy
Definition: DigitizerUtility.h:86
DigitizerUtility::EnergyDepositUnit::x
float x() const
Definition: DigitizerUtility.h:77
DigitizerUtility::EnergyDepositUnit::z
float z() const
Definition: DigitizerUtility.h:79
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
DigitizerUtility::EnergyDepositUnit::_position
Local3DPoint _position
Definition: DigitizerUtility.h:87
DigitizerUtility::EnergyDepositUnit::energy
float energy() const
Definition: DigitizerUtility.h:80