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