ATLAS Offline Software
CaloEnergy.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  calorimeter energy deposit (measured or parametrized) with asymmetric error
7  Author: Alan Poppleton
8  Author: Gustavo Ordenez
9  Integration with Analysis::Muon.h - Ketevi A. Assamagan
10  ---------------------------------------------------------------------------
11  ***************************************************************************/
12 
13 #include "muonEvent/CaloEnergy.h"
14 
15 using namespace Trk;
16 
19  : EnergyLoss(0,0,0,0),
20  m_caloLRLikelihood (0),
21  m_caloMuonIdTag (0),
22  m_fsrCandidateEnergy (0),
23  m_deposits (),
24  m_etCore (0.0),
25  m_deltaE_param (0.0),
26  m_sigmaMinusDeltaE_param (0.0),
27  m_sigmaPlusDeltaE_param (0.0),
28  m_deltaE_meas (0.0),
29  m_sigmaDeltaE_meas (0.0)
30 { m_energyLossType = static_cast<CaloEnergy::EnergyLossType>(0); }
31 
33  : EnergyLoss( eloss ),
34  m_caloLRLikelihood (0),
35  m_caloMuonIdTag (0),
36  m_fsrCandidateEnergy (0),
37  m_deposits (),
38  m_etCore (0.0),
39  m_deltaE_param (0.0),
40  m_sigmaMinusDeltaE_param (0.0),
41  m_sigmaPlusDeltaE_param (0.0),
42  m_deltaE_meas (0.0),
43  m_sigmaDeltaE_meas (0.0)
44 { m_energyLossType = static_cast<CaloEnergy::EnergyLossType>(0); }
45 
46 CaloEnergy::CaloEnergy (float deltaE,
47  float sigmaDeltaE,
48  float sigmaMinusDeltaE,
49  float sigmaPlusDeltaE,
50  unsigned short energyLossType,
51  float likelihood,
52  unsigned short tag)
53 
54  : EnergyLoss(deltaE, sigmaDeltaE, sigmaMinusDeltaE, sigmaPlusDeltaE ),
55  m_caloLRLikelihood (likelihood),
56  m_caloMuonIdTag (tag),
57  m_deposits (),
58  m_etCore (0.0),
59  m_deltaE_param (0.0),
60  m_sigmaMinusDeltaE_param (0.0),
61  m_sigmaPlusDeltaE_param (0.0),
62  m_deltaE_meas (0.0),
63  m_sigmaDeltaE_meas (0.0)
64 {
67 }
68 
69 CaloEnergy::CaloEnergy (float deltaE,
70  float sigmaDeltaE,
71  float sigmaMinusDeltaE,
72  float sigmaPlusDeltaE,
73  unsigned short energyLossType,
74  float likelihood,
75  unsigned short tag,
76  const std::vector<DepositInCalo>& deposits)
77 
78  : EnergyLoss(deltaE, sigmaDeltaE, sigmaMinusDeltaE, sigmaPlusDeltaE ),
79  m_energyLossType (static_cast<CaloEnergy::EnergyLossType>(energyLossType)),
80  m_caloLRLikelihood (likelihood),
81  m_caloMuonIdTag (tag),
82  m_fsrCandidateEnergy (0.0),
83  m_deposits (deposits),
84  m_etCore (0.0),
85  m_deltaE_param (0.0),
86  m_sigmaMinusDeltaE_param (0.0),
87  m_sigmaPlusDeltaE_param (0.0),
88  m_deltaE_meas (0.0),
89  m_sigmaDeltaE_meas (0.0)
90 {
91 }
92 
94 CaloEnergy::CaloEnergy (const CaloEnergy& caloEnergy)
95 
96 
97 = default;
98 
100 CaloEnergy::~CaloEnergy() = default;
101 
104  if ( this != &rhs ) {
105  EnergyLoss::operator=( rhs );
110  m_deposits = rhs.m_deposits;
111  m_etCore = rhs.m_etCore;
117  }
118  return *this;
119 }
120 
121 
CaloEnergy::m_energyLossType
EnergyLossType m_energyLossType
Definition: CaloEnergy.h:147
CaloEnergy::CaloEnergy
CaloEnergy(void)
default constructor - to be used only for persistency
Definition: CaloEnergy.cxx:18
CaloEnergy::m_sigmaDeltaE_meas
double m_sigmaDeltaE_meas
Definition: CaloEnergy.h:158
CaloEnergy::EnergyLossType
EnergyLossType
Calo Energy Loss Type Parametrized : reconstruction configured to use the parametrization w/o looking...
Definition: CaloEnergy.h:43
CaloEnergy
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
Definition: CaloEnergy.h:28
CaloEnergy::m_sigmaPlusDeltaE_param
double m_sigmaPlusDeltaE_param
Definition: CaloEnergy.h:156
CaloEnergy::m_deltaE_meas
double m_deltaE_meas
Definition: CaloEnergy.h:157
CaloEnergy::m_caloLRLikelihood
float m_caloLRLikelihood
Definition: CaloEnergy.h:148
CaloEnergy::m_etCore
float m_etCore
Definition: CaloEnergy.h:152
CaloEnergy::m_deltaE_param
double m_deltaE_param
Definition: CaloEnergy.h:154
CaloEnergy::energyLossType
CaloEnergy::EnergyLossType energyLossType(void) const
Accessor methods.
Definition: CaloEnergy.h:162
CaloEnergy::operator=
CaloEnergy & operator=(const CaloEnergy &)
assignment operator
Definition: CaloEnergy.cxx:103
CaloEnergy::~CaloEnergy
~CaloEnergy()
destructor
CaloEnergy::m_deposits
std::vector< DepositInCalo > m_deposits
Definition: CaloEnergy.h:151
xAOD::energyLossType
energyLossType
Definition: Muon_v1.cxx:576
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
CaloEnergy::m_caloMuonIdTag
unsigned short m_caloMuonIdTag
Definition: CaloEnergy.h:149
CaloEnergy::m_fsrCandidateEnergy
float m_fsrCandidateEnergy
Definition: CaloEnergy.h:150
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition: EnergyLoss.h:34
CaloEnergy::m_sigmaMinusDeltaE_param
double m_sigmaMinusDeltaE_param
Definition: CaloEnergy.h:155
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
CaloEnergy.h