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
TopQuarkAnalysis
TopEventSelection
interface
TtSemiLRSignalSelObservables.h
Go to the documentation of this file.
1
#ifndef TtSemiLRSignalSelObservables_h
2
#define TtSemiLRSignalSelObservables_h
3
4
#include "
FWCore/Framework/interface/EventSetup.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
7
#include "
FWCore/Utilities/interface/Exception.h
"
8
9
#include <iostream>
10
#include <string>
11
#include <vector>
12
13
#include "TLorentzVector.h"
14
#include "TVector.h"
15
#include "TVector3.h"
16
#include "TVectorD.h"
17
18
#include "TMatrix.h"
19
#include "TMatrixDSymEigen.h"
20
#include "TMatrixDSym.h"
21
#include "TMatrixTSym.h"
22
23
#include "
AnalysisDataFormats/TopObjects/interface/TtSemiEvtSolution.h
"
24
#include "
TopQuarkAnalysis/TopTools/interface/MEzCalculator.h
"
25
#include "
DataFormats/PatCandidates/interface/Jet.h
"
26
27
const
double
PI
= 3.14159265;
28
29
class
TtSemiLRSignalSelObservables
{
30
public
:
31
TtSemiLRSignalSelObservables
();
32
~TtSemiLRSignalSelObservables
();
33
34
void
operator()
(
TtSemiEvtSolution
&,
const
std::vector<pat::Jet>&);
35
36
private
:
37
std::vector<std::pair<unsigned int, double> >
evtselectVarVal
;
38
39
// compare two jets in ET
40
struct
CompareET
{
41
bool
operator()
(
const
pat::Jet
& j1,
const
pat::Jet
& j2)
const
{
return
j1.
et
() > j2.
et
(); }
42
};
43
44
CompareET
EtComparator
;
45
46
// compare two jets in bdisc
47
struct
CompareBdisc
{
48
bool
operator()
(
const
pat::Jet
& j1,
const
pat::Jet
& j2)
const
{
49
return
j1.
bDiscriminator
(
"trackCountingJetTags"
) > j2.
bDiscriminator
(
"trackCountingJetTags"
);
50
}
51
};
52
53
CompareBdisc
BdiscComparator
;
54
55
// compare two double
56
struct
CompareDouble
{
57
bool
operator()
(
double
j1,
double
j2)
const
{
return
j1 > j2; }
58
};
59
60
CompareDouble
dComparator
;
61
};
62
63
#endif
TtSemiLRSignalSelObservables::~TtSemiLRSignalSelObservables
~TtSemiLRSignalSelObservables()
Definition:
TtSemiLRSignalSelObservables.cc:6
PI
Definition:
PayloadInspector.h:20
MessageLogger.h
pat::Jet::bDiscriminator
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
TtSemiLRSignalSelObservables::CompareBdisc::operator()
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const
Definition:
TtSemiLRSignalSelObservables.h:48
TtSemiLRSignalSelObservables::evtselectVarVal
std::vector< std::pair< unsigned int, double > > evtselectVarVal
Definition:
TtSemiLRSignalSelObservables.h:37
TtSemiLRSignalSelObservables::EtComparator
CompareET EtComparator
Definition:
TtSemiLRSignalSelObservables.h:44
TtSemiLRSignalSelObservables::CompareET::operator()
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const
Definition:
TtSemiLRSignalSelObservables.h:41
pat::Jet
Analysis-level calorimeter jet class.
Definition:
Jet.h:77
MEzCalculator.h
TtSemiLRSignalSelObservables
Definition:
TtSemiLRSignalSelObservables.h:29
TtSemiLRSignalSelObservables::BdiscComparator
CompareBdisc BdiscComparator
Definition:
TtSemiLRSignalSelObservables.h:53
TtSemiLRSignalSelObservables::operator()
void operator()(TtSemiEvtSolution &, const std::vector< pat::Jet > &)
Definition:
TtSemiLRSignalSelObservables.cc:8
Event.h
TtSemiEvtSolution.h
TtSemiLRSignalSelObservables::dComparator
CompareDouble dComparator
Definition:
TtSemiLRSignalSelObservables.h:60
Jet.h
TtSemiLRSignalSelObservables::TtSemiLRSignalSelObservables
TtSemiLRSignalSelObservables()
Definition:
TtSemiLRSignalSelObservables.cc:4
TtSemiEvtSolution
Definition:
TtSemiEvtSolution.h:31
reco::LeafCandidate::et
double et() const final
transverse energy
Definition:
LeafCandidate.h:127
EventSetup.h
Exception.h
TtSemiLRSignalSelObservables::CompareDouble::operator()
bool operator()(double j1, double j2) const
Definition:
TtSemiLRSignalSelObservables.h:57
TtSemiLRSignalSelObservables::CompareBdisc
Definition:
TtSemiLRSignalSelObservables.h:47
TtSemiLRSignalSelObservables::CompareET
Definition:
TtSemiLRSignalSelObservables.h:40
TtSemiLRSignalSelObservables::CompareDouble
Definition:
TtSemiLRSignalSelObservables.h:56
Generated for CMSSW Reference Manual by
1.8.16