Main Page
Namespaces
Classes
Package Documentation
DataFormats
L1Trigger
src
EtSumHelper.cc
Go to the documentation of this file.
1
2
#include "
DataFormats/L1Trigger/interface/EtSumHelper.h
"
3
4
using namespace
l1t
;
5
6
7
double
EtSumHelper::MissingEt
()
const
{
8
for
(
auto
it=
sum_
->
begin
(0); it!=
sum_
->
end
(0); it++){
9
if
(it->getType() ==
EtSum::kMissingEt
)
return
it->et();
10
}
11
return
-999.0;
12
}
13
14
double
EtSumHelper::MissingEtPhi
()
const
{
15
for
(
auto
it=
sum_
->
begin
(0); it!=
sum_
->
end
(0); it++){
16
if
(it->getType() ==
EtSum::kMissingEt
)
return
it->phi();
17
}
18
return
-999.0;
19
}
20
21
double
EtSumHelper::MissingHt
()
const
{
22
for
(
auto
it=
sum_
->
begin
(0); it!=
sum_
->
end
(0); it++){
23
if
(it->getType() ==
EtSum::kMissingHt
)
return
it->et();
24
}
25
return
-999.0;
26
}
27
28
double
EtSumHelper::MissingHtPhi
()
const
{
29
for
(
auto
it=
sum_
->
begin
(0); it!=
sum_
->
end
(0); it++){
30
if
(it->getType() ==
EtSum::kMissingHt
)
return
it->phi();
31
}
32
return
-999.0;
33
}
34
35
double
EtSumHelper::TotalEt
()
const
{
36
for
(
auto
it=
sum_
->
begin
(0); it!=
sum_
->
end
(0); it++){
37
if
(it->getType() ==
EtSum::kTotalEt
)
return
it->et();
38
}
39
return
-999.0;
40
}
41
42
double
EtSumHelper::TotalHt
()
const
{
43
for
(
auto
it=
sum_
->
begin
(0); it!=
sum_
->
end
(0); it++){
44
if
(it->getType() ==
EtSum::kTotalHt
)
return
it->et();
45
}
46
return
-999.0;
47
}
48
BXVector::end
const_iterator end(int bx) const
EtSumHelper.h
l1t::EtSumHelper::MissingEtPhi
double MissingEtPhi() const
Definition:
EtSumHelper.cc:14
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::EtSumHelper::sum_
const edm::Handle< l1t::EtSumBxCollection > & sum_
Definition:
EtSumHelper.h:23
l1t::EtSumHelper::TotalEt
double TotalEt() const
Definition:
EtSumHelper.cc:35
l1t::EtSum::kMissingEt
Definition:
EtSum.h:28
l1t::EtSumHelper::MissingHt
double MissingHt() const
Definition:
EtSumHelper.cc:21
l1t::EtSum::kTotalHt
Definition:
EtSum.h:27
l1t::EtSum::kTotalEt
Definition:
EtSum.h:26
l1t::EtSumHelper::TotalHt
double TotalHt() const
Definition:
EtSumHelper.cc:42
l1t::EtSumHelper::MissingHtPhi
double MissingHtPhi() const
Definition:
EtSumHelper.cc:28
l1t::EtSumHelper::MissingEt
double MissingEt() const
Definition:
EtSumHelper.cc:7
BXVector::begin
const_iterator begin(int bx) const
l1t::EtSum::kMissingHt
Definition:
EtSum.h:29
Generated for CMSSW Reference Manual by
1.8.11