ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
DepositInCalo Class Reference

class describing the measured energy loss associated to muons on the detector level, that is per calo layer. More...

#include <DepositInCalo.h>

Collaboration diagram for DepositInCalo:

Public Member Functions

 DepositInCalo ()
 constructors More...
 
 DepositInCalo (CaloCell_ID::CaloSample subCaloId, float energyDeposited, float muonEnergyLoss, float etDeposited=0.0)
 constructors More...
 
 DepositInCalo (const DepositInCalo &)
 copy constructor More...
 
DepositInCalooperator= (const DepositInCalo &)
 assignment operator More...
 
virtual ~DepositInCalo ()
 destructor More...
 
void print () const
 printing for debugging More...
 
CaloCell_ID::CaloSample subCaloId () const
 Calorimeter detailed information. More...
 
double energyDeposited () const
 Calorimeter detailed information - Energy Deposited. More...
 
double muonEnergyLoss () const
 Calorimeter detailed information - Muon Energy Loss. More...
 
double etDeposited () const
 Calorimeter detailed information - et Deposited. More...
 

Private Attributes

CaloCell_ID::CaloSample m_subCaloId
 calorimeter sampling identifier More...
 
float m_energyDeposited
 energy Desposited More...
 
float m_muonEnergyLoss
 energy Loss of the muons computed using the extrapolator More...
 
float m_etDeposited
 Et of the energy deposit. More...
 

Detailed Description

class describing the measured energy loss associated to muons on the detector level, that is per calo layer.

Author
K. Assamagan, G. Ordonez

Definition at line 23 of file DepositInCalo.h.

Constructor & Destructor Documentation

◆ DepositInCalo() [1/3]

DepositInCalo::DepositInCalo ( )
inline

constructors

Definition at line 27 of file DepositInCalo.h.

◆ DepositInCalo() [2/3]

DepositInCalo::DepositInCalo ( CaloCell_ID::CaloSample  subCaloId,
float  energyDeposited,
float  muonEnergyLoss,
float  etDeposited = 0.0 
)
inline

constructors

Definition at line 33 of file DepositInCalo.h.

◆ DepositInCalo() [3/3]

DepositInCalo::DepositInCalo ( const DepositInCalo )
default

copy constructor

◆ ~DepositInCalo()

virtual DepositInCalo::~DepositInCalo ( )
inlinevirtual

destructor

Definition at line 48 of file DepositInCalo.h.

48 {}

Member Function Documentation

◆ energyDeposited()

double DepositInCalo::energyDeposited ( ) const
inline

Calorimeter detailed information - Energy Deposited.

Definition at line 56 of file DepositInCalo.h.

56 { return m_energyDeposited; }

◆ etDeposited()

double DepositInCalo::etDeposited ( ) const
inline

Calorimeter detailed information - et Deposited.

Definition at line 60 of file DepositInCalo.h.

60 { return m_etDeposited; }

◆ muonEnergyLoss()

double DepositInCalo::muonEnergyLoss ( ) const
inline

Calorimeter detailed information - Muon Energy Loss.

Definition at line 58 of file DepositInCalo.h.

58 {return m_muonEnergyLoss;}

◆ operator=()

DepositInCalo & DepositInCalo::operator= ( const DepositInCalo rhs)

assignment operator

Definition at line 51 of file DepositInCalo.cxx.

51  {
52  if ( this != &rhs ) {
57  }
58  return *this;
59 }

◆ print()

void DepositInCalo::print ( ) const

printing for debugging

Definition at line 9 of file DepositInCalo.cxx.

10 {
11 
12  std::cout << "DepositInCalo: ";
13  if( subCaloId() == CaloCell_ID::PreSamplerB ) std::cout << "PreSamplerB";
14  else if( subCaloId() == CaloCell_ID::EMB1 ) std::cout << "EMB1";
15  else if( subCaloId() == CaloCell_ID::EMB2 ) std::cout << "EMB2";
16  else if( subCaloId() == CaloCell_ID::EMB3 ) std::cout << "EMB3";
17  else if( subCaloId() == CaloCell_ID::PreSamplerE ) std::cout << "PreSamplerE";
18  else if( subCaloId() == CaloCell_ID::EME1 ) std::cout << "EME1";
19  else if( subCaloId() == CaloCell_ID::EME2 ) std::cout << "EME2";
20  else if( subCaloId() == CaloCell_ID::EME3 ) std::cout << "EME3";
21  else if( subCaloId() == CaloCell_ID::HEC0 ) std::cout << "HEC0";
22  else if( subCaloId() == CaloCell_ID::HEC1 ) std::cout << "HEC1";
23  else if( subCaloId() == CaloCell_ID::HEC2 ) std::cout << "HEC2";
24  else if( subCaloId() == CaloCell_ID::HEC3 ) std::cout << "HEC3";
25  else if( subCaloId() == CaloCell_ID::TileBar0 ) std::cout << "TileBar0";
26  else if( subCaloId() == CaloCell_ID::TileBar1 ) std::cout << "TileBar1";
27  else if( subCaloId() == CaloCell_ID::TileBar2 ) std::cout << "TileBar2";
28  else if( subCaloId() == CaloCell_ID::TileGap1 ) std::cout << "TileGap1";
29  else if( subCaloId() == CaloCell_ID::TileGap2 ) std::cout << "TileGap2";
30  else if( subCaloId() == CaloCell_ID::TileGap3 ) std::cout << "TileGap3";
31  else if( subCaloId() == CaloCell_ID::TileExt0 ) std::cout << "TileExt0";
32  else if( subCaloId() == CaloCell_ID::TileExt1 ) std::cout << "TileExt1";
33  else if( subCaloId() == CaloCell_ID::TileExt2 ) std::cout << "TileExt2";
34  else if( subCaloId() == CaloCell_ID::FCAL0 ) std::cout << "FCAL0";
35  else if( subCaloId() == CaloCell_ID::FCAL1 ) std::cout << "FCAL1";
36  else if( subCaloId() == CaloCell_ID::FCAL2 ) std::cout << "FCAL2";
37  else std::cout << "Unknown";
38 
39  std::cout << " EnergyDeposited " << energyDeposited()
40  << " Energy loss " << muonEnergyLoss()
41  << " Et Deposited " << etDeposited() << std::endl;
42 }

◆ subCaloId()

CaloCell_ID::CaloSample DepositInCalo::subCaloId ( ) const
inline

Calorimeter detailed information.

Definition at line 54 of file DepositInCalo.h.

54 { return m_subCaloId; }

Member Data Documentation

◆ m_energyDeposited

float DepositInCalo::m_energyDeposited
private

energy Desposited

Definition at line 68 of file DepositInCalo.h.

◆ m_etDeposited

float DepositInCalo::m_etDeposited
private

Et of the energy deposit.

Definition at line 74 of file DepositInCalo.h.

◆ m_muonEnergyLoss

float DepositInCalo::m_muonEnergyLoss
private

energy Loss of the muons computed using the extrapolator

Definition at line 71 of file DepositInCalo.h.

◆ m_subCaloId

CaloCell_ID::CaloSample DepositInCalo::m_subCaloId
private

calorimeter sampling identifier

Definition at line 65 of file DepositInCalo.h.


The documentation for this class was generated from the following files:
DepositInCalo::energyDeposited
double energyDeposited() const
Calorimeter detailed information - Energy Deposited.
Definition: DepositInCalo.h:56
CaloCell_ID_FCS::TileExt2
@ TileExt2
Definition: FastCaloSim_CaloCell_ID.h:39
constants.EMB1
int EMB1
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:53
DepositInCalo::m_etDeposited
float m_etDeposited
Et of the energy deposit.
Definition: DepositInCalo.h:74
CaloCell_ID_FCS::TileExt0
@ TileExt0
Definition: FastCaloSim_CaloCell_ID.h:37
CaloCell_ID_FCS::TileBar1
@ TileBar1
Definition: FastCaloSim_CaloCell_ID.h:32
DepositInCalo::m_energyDeposited
float m_energyDeposited
energy Desposited
Definition: DepositInCalo.h:68
CaloCell_ID_FCS::FCAL1
@ FCAL1
Definition: FastCaloSim_CaloCell_ID.h:41
CaloCell_ID_FCS::HEC2
@ HEC2
Definition: FastCaloSim_CaloCell_ID.h:29
DepositInCalo::m_subCaloId
CaloCell_ID::CaloSample m_subCaloId
calorimeter sampling identifier
Definition: DepositInCalo.h:65
CaloCell_ID_FCS::TileGap3
@ TileGap3
Definition: FastCaloSim_CaloCell_ID.h:36
DepositInCalo::m_muonEnergyLoss
float m_muonEnergyLoss
energy Loss of the muons computed using the extrapolator
Definition: DepositInCalo.h:71
CaloCell_ID_FCS::HEC1
@ HEC1
Definition: FastCaloSim_CaloCell_ID.h:28
constants.EMB2
int EMB2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:54
DepositInCalo::muonEnergyLoss
double muonEnergyLoss() const
Calorimeter detailed information - Muon Energy Loss.
Definition: DepositInCalo.h:58
CaloCell_ID_FCS::TileBar0
@ TileBar0
Definition: FastCaloSim_CaloCell_ID.h:31
CaloCell_ID_FCS::TileGap2
@ TileGap2
Definition: FastCaloSim_CaloCell_ID.h:35
constants.EME1
int EME1
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:55
CaloCell_ID_FCS::TileGap1
@ TileGap1
Definition: FastCaloSim_CaloCell_ID.h:34
DepositInCalo::etDeposited
double etDeposited() const
Calorimeter detailed information - et Deposited.
Definition: DepositInCalo.h:60
CaloCell_ID_FCS::TileExt1
@ TileExt1
Definition: FastCaloSim_CaloCell_ID.h:38
CaloCell_ID_FCS::EME3
@ EME3
Definition: FastCaloSim_CaloCell_ID.h:26
CaloCell_ID_FCS::HEC0
@ HEC0
Definition: FastCaloSim_CaloCell_ID.h:27
CaloCell_ID_FCS::PreSamplerE
@ PreSamplerE
Definition: FastCaloSim_CaloCell_ID.h:23
CaloCell_ID_FCS::PreSamplerB
@ PreSamplerB
Definition: FastCaloSim_CaloCell_ID.h:19
CaloCell_ID_FCS::FCAL2
@ FCAL2
Definition: FastCaloSim_CaloCell_ID.h:42
DepositInCalo::subCaloId
CaloCell_ID::CaloSample subCaloId() const
Calorimeter detailed information.
Definition: DepositInCalo.h:54
CaloCell_ID_FCS::HEC3
@ HEC3
Definition: FastCaloSim_CaloCell_ID.h:30
CaloCell_ID_FCS::FCAL0
@ FCAL0
Definition: FastCaloSim_CaloCell_ID.h:40
CaloCell_ID_FCS::EMB3
@ EMB3
Definition: FastCaloSim_CaloCell_ID.h:22
CaloCell_ID_FCS::TileBar2
@ TileBar2
Definition: FastCaloSim_CaloCell_ID.h:33
constants.EME2
int EME2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:56