ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
muonEvent
src
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
18
CaloEnergy::CaloEnergy
(
void
)
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
32
CaloEnergy::CaloEnergy
(
const
Trk::EnergyLoss
& eloss)
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
{
65
m_energyLossType
=
static_cast<
CaloEnergy::EnergyLossType
>
(
energyLossType
);
66
m_fsrCandidateEnergy
= 0.0;
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
103
CaloEnergy
&
CaloEnergy::operator=
(
const
CaloEnergy
& rhs) {
104
if
(
this
!= &rhs ) {
105
EnergyLoss::operator=
( rhs );
106
m_energyLossType
= rhs.
m_energyLossType
;
107
m_caloLRLikelihood
= rhs.
m_caloLRLikelihood
;
108
m_caloMuonIdTag
= rhs.
m_caloMuonIdTag
;
109
m_fsrCandidateEnergy
= rhs.
m_fsrCandidateEnergy
;
110
m_deposits
= rhs.
m_deposits
;
111
m_etCore
= rhs.
m_etCore
;
112
m_deltaE_param
= rhs.
m_deltaE_param
;
113
m_sigmaMinusDeltaE_param
= rhs.
m_sigmaMinusDeltaE_param
;
114
m_sigmaPlusDeltaE_param
= rhs.
m_sigmaPlusDeltaE_param
;
115
m_deltaE_meas
= rhs.
m_deltaE_meas
;
116
m_sigmaDeltaE_meas
= rhs.
m_sigmaDeltaE_meas
;
117
}
118
return
*
this
;
119
}
120
121
CaloEnergy.h
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::EnergyLossType
EnergyLossType
Calo Energy Loss Type Parametrized : reconstruction configured to use the parametrization w/o looking...
Definition
CaloEnergy.h:43
CaloEnergy::m_caloMuonIdTag
unsigned short m_caloMuonIdTag
Definition
CaloEnergy.h:149
CaloEnergy::energyLossType
CaloEnergy::EnergyLossType energyLossType(void) const
Accessor methods.
Definition
CaloEnergy.h:162
CaloEnergy::m_etCore
float m_etCore
Definition
CaloEnergy.h:152
CaloEnergy::m_caloLRLikelihood
float m_caloLRLikelihood
Definition
CaloEnergy.h:148
CaloEnergy::m_fsrCandidateEnergy
float m_fsrCandidateEnergy
Definition
CaloEnergy.h:150
CaloEnergy::m_sigmaDeltaE_meas
double m_sigmaDeltaE_meas
Definition
CaloEnergy.h:158
CaloEnergy::m_sigmaMinusDeltaE_param
double m_sigmaMinusDeltaE_param
Definition
CaloEnergy.h:155
CaloEnergy::~CaloEnergy
~CaloEnergy()
destructor
CaloEnergy::CaloEnergy
CaloEnergy(void)
default constructor - to be used only for persistency
Definition
CaloEnergy.cxx:18
CaloEnergy::m_energyLossType
EnergyLossType m_energyLossType
Definition
CaloEnergy.h:147
CaloEnergy::m_deltaE_meas
double m_deltaE_meas
Definition
CaloEnergy.h:157
CaloEnergy::m_deltaE_param
double m_deltaE_param
Definition
CaloEnergy.h:154
CaloEnergy::operator=
CaloEnergy & operator=(const CaloEnergy &)
assignment operator
Definition
CaloEnergy.cxx:103
CaloEnergy::m_deposits
std::vector< DepositInCalo > m_deposits
Definition
CaloEnergy.h:151
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition
EnergyLoss.h:34
Trk::EnergyLoss::EnergyLoss
EnergyLoss()=default
default constructor for POOL
Trk::EnergyLoss::sigmaPlusDeltaE
double sigmaPlusDeltaE() const
returns the positive side
Trk::EnergyLoss::sigmaMinusDeltaE
double sigmaMinusDeltaE() const
returns the negative side
Trk::EnergyLoss::sigmaDeltaE
double sigmaDeltaE() const
returns the symmatric error
Trk::EnergyLoss::operator=
EnergyLoss & operator=(const EnergyLoss &)=default
Trk::EnergyLoss::deltaE
double deltaE() const
returns the
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0