ATLAS Offline Software
Loading...
Searching...
No Matches
DepositInCalo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <iostream>
8
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}
43
45DepositInCalo::DepositInCalo (const DepositInCalo& rhs) = default;
49
50
class describing the measured energy loss associated to muons on the detector level,...
double energyDeposited() const
Calorimeter detailed information - Energy Deposited.
double muonEnergyLoss() const
Calorimeter detailed information - Muon Energy Loss.
DepositInCalo & operator=(const DepositInCalo &)
CaloCell_ID::CaloSample subCaloId() const
Calorimeter detailed information.
DepositInCalo()
constructors
void print() const
printing for debugging
double etDeposited() const
Calorimeter detailed information - et Deposited.