RecoEcal
EgammaCoreTools
src
PositionCalc.cc
Go to the documentation of this file.
1
#include "
RecoEcal/EgammaCoreTools/interface/PositionCalc.h
"
2
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
3
4
PositionCalc::PositionCalc
(
const
edm::ParameterSet
& par)
5
: param_LogWeighted_(par.getParameter<
bool
>(
"LogWeighted"
)),
6
param_T0_barl_(par.getParameter<double>(
"T0_barl"
)),
7
param_T0_endc_(par.getParameter<double>(
"T0_endc"
)),
8
param_T0_endcPresh_(par.getParameter<double>(
"T0_endcPresh"
)),
9
param_W0_(par.getParameter<double>(
"W0"
)),
10
param_X0_(par.getParameter<double>(
"X0"
)),
11
m_esGeom(nullptr),
12
m_esPlus(
false
),
13
m_esMinus(
false
) {}
14
15
const
PositionCalc
&
PositionCalc::operator=
(
const
PositionCalc
& rhs) {
16
param_LogWeighted_
= rhs.
param_LogWeighted_
;
17
param_T0_barl_
= rhs.
param_T0_barl_
;
18
param_T0_endc_
= rhs.
param_T0_endc_
;
19
param_T0_endcPresh_
= rhs.
param_T0_endcPresh_
;
20
param_W0_
= rhs.
param_W0_
;
21
param_X0_
= rhs.
param_X0_
;
22
23
m_esGeom
= rhs.
m_esGeom
;
24
m_esPlus
= rhs.
m_esPlus
;
25
m_esMinus
= rhs.
m_esMinus
;
26
return
*
this
;
27
}
electrons_cff.bool
bool
Definition:
electrons_cff.py:372
PositionCalc.h
funct::false
false
Definition:
Factorize.h:34
PositionCalc::param_LogWeighted_
bool param_LogWeighted_
Definition:
PositionCalc.h:52
PositionCalc::param_T0_endc_
double param_T0_endc_
Definition:
PositionCalc.h:54
PositionCalc::param_T0_barl_
double param_T0_barl_
Definition:
PositionCalc.h:53
PositionCalc::param_W0_
double param_W0_
Definition:
PositionCalc.h:56
edm::ParameterSet
Definition:
ParameterSet.h:36
PositionCalc
Definition:
PositionCalc.h:29
PositionCalc::param_X0_
double param_X0_
Definition:
PositionCalc.h:57
PositionCalc::PositionCalc
PositionCalc()
Definition:
PositionCalc.h:37
PositionCalc::m_esGeom
const CaloSubdetectorGeometry * m_esGeom
Definition:
PositionCalc.h:59
PositionCalc::m_esPlus
bool m_esPlus
Definition:
PositionCalc.h:60
PositionCalc::param_T0_endcPresh_
double param_T0_endcPresh_
Definition:
PositionCalc.h:55
ParameterSet.h
PositionCalc::m_esMinus
bool m_esMinus
Definition:
PositionCalc.h:61
PositionCalc::operator=
const PositionCalc & operator=(const PositionCalc &rhs)
Definition:
PositionCalc.cc:15
Generated for CMSSW Reference Manual by
1.8.16