Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
L1Trigger
L1TCalorimeter
src
CaloParamsHelper.cc
Go to the documentation of this file.
1
// CaloParamsHelper.cc
2
// Author: R. Alex Barbieri
3
//
4
// Wrapper class for CaloParams and Et scales
5
6
#include "
L1Trigger/L1TCalorimeter/interface/CaloParamsHelper.h
"
7
8
namespace
l1t
{
9
CaloParamsHelper::CaloParamsHelper
(
const
CaloParams
p
) :
CaloParams
(
p
) {
10
if
(
pnode_
.size() <
NUM_CALOPARAMNODES
) {
11
pnode_
.resize(
NUM_CALOPARAMNODES
);
12
// at version 2, tauCompress was added, we can add a default version here if necessary...
13
}
14
};
15
16
std::ostream&
operator<<
(std::ostream& os,
const
l1t::CaloParamsHelper
&
p
) {
return
os <<
"CaloParamsHelper..."
; }
17
18
int
CaloParamsHelper::etSumEtaMin
(
unsigned
isum
)
const
{
19
if
(
etSumEtaMin_
.size() >
isum
)
20
return
etSumEtaMin_
.at(
isum
);
21
else
22
return
0;
23
}
24
25
int
CaloParamsHelper::etSumEtaMax
(
unsigned
isum
)
const
{
26
if
(
etSumEtaMax_
.size() >
isum
)
27
return
etSumEtaMax_
.at(
isum
);
28
else
29
return
0;
30
}
31
32
double
CaloParamsHelper::etSumEtThreshold
(
unsigned
isum
)
const
{
33
if
(
etSumEtThreshold_
.size() >
isum
)
34
return
etSumEtThreshold_
.at(
isum
);
35
else
36
return
0.;
37
}
38
39
void
CaloParamsHelper::setEtSumEtaMin
(
unsigned
isum
,
int
eta
) {
40
if
(
etSumEtaMin_
.size() <=
isum
)
41
etSumEtaMin_
.resize(
isum
+ 1);
42
etSumEtaMin_
.at(
isum
) =
eta
;
43
}
44
45
void
CaloParamsHelper::setEtSumEtaMax
(
unsigned
isum
,
int
eta
) {
46
if
(
etSumEtaMax_
.size() <=
isum
)
47
etSumEtaMax_
.resize(
isum
+ 1);
48
etSumEtaMax_
.at(
isum
) =
eta
;
49
}
50
51
void
CaloParamsHelper::setEtSumEtThreshold
(
unsigned
isum
,
double
thresh
) {
52
if
(
etSumEtThreshold_
.size() <=
isum
)
53
etSumEtThreshold_
.resize(
isum
+ 1);
54
etSumEtThreshold_
.at(
isum
) =
thresh
;
55
}
56
}
// namespace l1t
l1t::CaloParamsHelper::setEtSumEtaMax
void setEtSumEtaMax(unsigned isum, int eta)
Definition:
CaloParamsHelper.cc:45
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
l1t::CaloParams::pnode_
std::vector< Node > pnode_
Definition:
CaloParams.h:236
l1t::CaloParamsHelper::etSumEtThreshold
double etSumEtThreshold(unsigned isum) const
Definition:
CaloParamsHelper.cc:32
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
l1t::CaloParamsHelper::etSumEtaMin
int etSumEtaMin(unsigned isum) const
Definition:
CaloParamsHelper.cc:18
l1t::CaloParamsHelper::setEtSumEtaMin
void setEtSumEtaMin(unsigned isum, int eta)
Definition:
CaloParamsHelper.cc:39
l1t::CaloParams::etSumEtaMin_
std::vector< int > etSumEtaMin_
Definition:
CaloParams.h:253
l1t::CaloParamsHelper::etSumEtaMax
int etSumEtaMax(unsigned isum) const
Definition:
CaloParamsHelper.cc:25
l1t::CaloParams::etSumEtaMax_
std::vector< int > etSumEtaMax_
Definition:
CaloParams.h:256
l1t::CaloParamsHelper::setEtSumEtThreshold
void setEtSumEtThreshold(unsigned isum, double thresh)
Definition:
CaloParamsHelper.cc:51
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::CaloParamsHelper
Definition:
CaloParamsHelper.h:21
GOODCOLL_filter_cfg.thresh
thresh
Definition:
GOODCOLL_filter_cfg.py:74
l1t::CaloParams
Definition:
CaloParams.h:25
l1t::CaloParamsHelper::NUM_CALOPARAMNODES
Definition:
CaloParamsHelper.h:76
isum
double isum
Definition:
MuScleFitUtils.cc:77
l1t::CaloParamsHelper::CaloParamsHelper
CaloParamsHelper()
Definition:
CaloParamsHelper.h:79
CaloParamsHelper.h
l1t::operator<<
std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper &p)
Definition:
CaloParamsHelper.cc:16
l1t::CaloParams::etSumEtThreshold_
std::vector< double > etSumEtThreshold_
Definition:
CaloParams.h:259
Generated for CMSSW Reference Manual by
1.8.16