ATLAS Offline Software
Loading...
Searching...
No Matches
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
 DepositInCalo (CaloCell_ID::CaloSample subCaloId, float energyDeposited, float muonEnergyLoss, float etDeposited=0.0)
 constructors
 DepositInCalo (const DepositInCalo &)
 copy, etc
DepositInCalooperator= (const DepositInCalo &)
 DepositInCalo (DepositInCalo &&)
DepositInCalooperator= (DepositInCalo &&)
virtual ~DepositInCalo ()
 destructor
void print () const
 printing for debugging
CaloCell_ID::CaloSample subCaloId () const
 Calorimeter detailed information.
double energyDeposited () const
 Calorimeter detailed information - Energy Deposited.
double muonEnergyLoss () const
 Calorimeter detailed information - Muon Energy Loss.
double etDeposited () const
 Calorimeter detailed information - et Deposited.

Private Attributes

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

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/4]

DepositInCalo::DepositInCalo ( )
inline

constructors

Definition at line 27 of file DepositInCalo.h.

27 : m_subCaloId(CaloCell_ID::PreSamplerB),
30 m_etDeposited(0.0) {};
CaloCell_ID::CaloSample m_subCaloId
calorimeter sampling identifier
float m_muonEnergyLoss
energy Loss of the muons computed using the extrapolator
float m_energyDeposited
energy Desposited
float m_etDeposited
Et of the energy deposit.

◆ DepositInCalo() [2/4]

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

constructors

Definition at line 33 of file DepositInCalo.h.

39 {}
double energyDeposited() const
Calorimeter detailed information - Energy Deposited.
double muonEnergyLoss() const
Calorimeter detailed information - Muon Energy Loss.
CaloCell_ID::CaloSample subCaloId() const
Calorimeter detailed information.
double etDeposited() const
Calorimeter detailed information - et Deposited.

◆ DepositInCalo() [3/4]

DepositInCalo::DepositInCalo ( const DepositInCalo & )
default

copy, etc

◆ DepositInCalo() [4/4]

DepositInCalo::DepositInCalo ( DepositInCalo && )
default

◆ ~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=() [1/2]

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

◆ operator=() [2/2]

DepositInCalo & DepositInCalo::operator= ( DepositInCalo && )
default

◆ 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: