ATLAS Offline Software
Loading...
Searching...
No Matches
CaloEnergy.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4*/
5
6/***************************************************************************
7 calorimeter energy deposit (measured or parametrized) with asymmetric error
8 Author: Alan Poppleton
9 Author: Gustavo Ordenez
10 Integration with CombinedMuon.h - Ketevi A. Assamagan
11 ---------------------------------------------------------------------------
12 ***************************************************************************/
13
14#ifndef MUONEVENT_CALOENERGY_H
15#define MUONEVENT_CALOENERGY_H
16
19
20#include <vector>
21
27
29
30public:
31
44
46 CaloEnergy(void);
47
49 CaloEnergy (const Trk::EnergyLoss& eloss);
50
51 CaloEnergy (float deltaE,
52 float sigmaDeltaE,
53 float sigmaMinusDeltaE=0.0,
54 float sigmaPlusDeltaE=0.0,
55 unsigned short energyLossType=0,
56 float likelihood=0,
57 unsigned short tag=0);
58
60 CaloEnergy (float deltaE,
61 float sigmaDeltaE,
62 float sigmaMinusDeltaE,
63 float sigmaPlusDeltaE,
64 unsigned short energyLossType,
65 float likelihood,
66 unsigned short tag,
67 const std::vector<DepositInCalo>& deposits);
68
71
74 CaloEnergy* clone() const;
75
78
80
83
85 unsigned short caloMuonIdTag() const { return m_caloMuonIdTag; }
86
88 double caloLRLikelihood() const { return m_caloLRLikelihood; }
89
91 const std::vector<DepositInCalo>& depositInCalo() const { return m_deposits; }
92
94 float fsrCandidateEnergy() const { return m_fsrCandidateEnergy; }
95
97 float etCore() const { return m_etCore; }
98
100
103
105 void set_caloLRLikelihood ( const float likelihood ) { m_caloLRLikelihood = likelihood; }
106
108 void set_caloMuonIdTag ( unsigned short tag ) { m_caloMuonIdTag = tag; }
109
111 void set_deposits( const std::vector<DepositInCalo> & deposits ) { m_deposits = deposits; }
112 void set_deposits( std::vector<DepositInCalo>&& deposits ) { m_deposits = std::move(deposits); }
113
115 void insert_deposit ( const DepositInCalo& deposit ) { m_deposits.push_back( deposit ); }
116
119
121 void set_etCore ( const float etcore ) { m_etCore=etcore; }
122
125
127 double deltaEMeas() const { return m_deltaE_meas; }
128
130 double sigmaDeltaEMeas() const { return m_sigmaDeltaE_meas; }
131
135
137 double deltaEParam() const { return m_deltaE_param; }
138
141
144
145private:
146
149 unsigned short m_caloMuonIdTag;
151 std::vector<DepositInCalo> m_deposits;
152 float m_etCore; // summed cell ET in core DeltaR
153
159
160};
161
164
166{ return new CaloEnergy(*this); }
167
168
169
170#endif // MUONEVENT_CALOENERGY_H
171
172
static Double_t fs
CaloEnergy(const CaloEnergy &)
copy constructor
double m_sigmaPlusDeltaE_param
Definition CaloEnergy.h:156
EnergyLossType
Calo Energy Loss Type Parametrized : reconstruction configured to use the parametrization w/o looking...
Definition CaloEnergy.h:43
void insert_deposit(const DepositInCalo &deposit)
insert a deposit
Definition CaloEnergy.h:115
unsigned short m_caloMuonIdTag
Definition CaloEnergy.h:149
CaloEnergy::EnergyLossType energyLossType(void) const
Accessor methods.
Definition CaloEnergy.h:162
void set_etCore(const float etcore)
isolation ET in core deltaR
Definition CaloEnergy.h:121
float m_etCore
Definition CaloEnergy.h:152
double caloLRLikelihood() const
the calo Muon Identification likehood
Definition CaloEnergy.h:88
float m_caloLRLikelihood
Definition CaloEnergy.h:148
float m_fsrCandidateEnergy
Definition CaloEnergy.h:150
double m_sigmaDeltaE_meas
Definition CaloEnergy.h:158
double m_sigmaMinusDeltaE_param
Definition CaloEnergy.h:155
~CaloEnergy()
destructor
float etCore() const
isolation ET in core deltaR
Definition CaloEnergy.h:97
double sigmaMinusDeltaEParam() const
get parametrised energy loss minus error
Definition CaloEnergy.h:140
void set_measEnergyLoss(const double deltaE, const double sigmaDeltaE)
set measured energy loss
Definition CaloEnergy.h:124
CaloEnergy(void)
default constructor - to be used only for persistency
void set_deposits(const std::vector< DepositInCalo > &deposits)
set the detailed energy deposits in the calorimeter layers
Definition CaloEnergy.h:111
EnergyLossType m_energyLossType
Definition CaloEnergy.h:147
double m_deltaE_meas
Definition CaloEnergy.h:157
double m_deltaE_param
Definition CaloEnergy.h:154
CaloEnergy * clone() const
Virtual constructor.
Definition CaloEnergy.h:165
double deltaEMeas() const
get measured energy loss
Definition CaloEnergy.h:127
void set_fsrCandidateEnergy(const float fs)
FSR Candidate Energy.
Definition CaloEnergy.h:118
CaloEnergy & operator=(const CaloEnergy &)
assignment operator
void set_caloMuonIdTag(unsigned short tag)
set the tag
Definition CaloEnergy.h:108
void set_paramEnergyLoss(const double deltaE, const double sigmaMinusDeltaE, const double sigmaPlusDeltaE)
set parametrised energy loss
Definition CaloEnergy.h:133
void set_deposits(std::vector< DepositInCalo > &&deposits)
Definition CaloEnergy.h:112
void set_caloLRLikelihood(const float likelihood)
set the likelihood
Definition CaloEnergy.h:105
double sigmaDeltaEMeas() const
get measured energy loss error
Definition CaloEnergy.h:130
std::vector< DepositInCalo > m_deposits
Definition CaloEnergy.h:151
void set_energyLossType(const CaloEnergy::EnergyLossType lossType)
set methods
Definition CaloEnergy.h:102
const std::vector< DepositInCalo > & depositInCalo() const
the vector of detailed deposits in calo layers
Definition CaloEnergy.h:91
unsigned short caloMuonIdTag() const
the Calo Muon Identification tag
Definition CaloEnergy.h:85
double deltaEParam() const
get parametrised energy loss
Definition CaloEnergy.h:137
double sigmaPlusDeltaEParam() const
get parametrised energy loss plus error
Definition CaloEnergy.h:143
float fsrCandidateEnergy() const
FSR Candidate Energy.
Definition CaloEnergy.h:94
class describing the measured energy loss associated to muons on the detector level,...
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition EnergyLoss.h:34
double sigmaPlusDeltaE() const
returns the positive side
double sigmaMinusDeltaE() const
returns the negative side
double sigmaDeltaE() const
returns the symmatric error
double deltaE() const
returns the