TopQuarkAnalysis
TopJetCombination
plugins
TtSemiLepJetCombGeom.h
Go to the documentation of this file.
1
#ifndef TtSemiLepJetCombGeom_h
2
#define TtSemiLepJetCombGeom_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EDProducer.h
"
6
7
#include "
DataFormats/Math/interface/LorentzVector.h
"
8
#include "
DataFormats/PatCandidates/interface/Jet.h
"
9
10
class
TtSemiLepJetCombGeom
:
public
edm::EDProducer
{
11
public
:
12
explicit
TtSemiLepJetCombGeom
(
const
edm::ParameterSet
&);
13
~TtSemiLepJetCombGeom
()
override
;
14
15
private
:
16
void
beginJob
()
override
{};
17
void
produce
(
edm::Event
& evt,
const
edm::EventSetup
&
setup
)
override
;
18
void
endJob
()
override
{};
19
20
bool
isValid
(
const
int
&
idx
,
const
edm::Handle
<std::vector<pat::Jet> >&
jets
) {
21
return
(0 <=
idx
&&
idx
< (
int
)
jets
->size());
22
};
23
double
distance
(
const
math::XYZTLorentzVector
&,
const
math::XYZTLorentzVector
&);
24
25
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetsToken_
;
26
edm::EDGetTokenT<edm::View<reco::RecoCandidate>
>
lepsToken_
;
27
int
maxNJets_
;
28
bool
useDeltaR_
;
29
bool
useBTagging_
;
30
std::string
bTagAlgorithm_
;
31
double
minBDiscBJets_
;
32
double
maxBDiscLightJets_
;
33
};
34
35
#endif
TtSemiLepJetCombGeom::bTagAlgorithm_
std::string bTagAlgorithm_
Definition:
TtSemiLepJetCombGeom.h:30
TtSemiLepJetCombGeom::lepsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
Definition:
TtSemiLepJetCombGeom.h:26
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
TtSemiLepJetCombGeom::endJob
void endJob() override
Definition:
TtSemiLepJetCombGeom.h:18
singleTopDQM_cfi.jets
jets
Definition:
singleTopDQM_cfi.py:42
edm::Handle
Definition:
AssociativeIterator.h:50
training_settings.idx
idx
Definition:
training_settings.py:16
TtSemiLepJetCombGeom
Definition:
TtSemiLepJetCombGeom.h:10
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
TtSemiLepJetCombGeom::distance
double distance(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
Definition:
TtSemiLepJetCombGeom.cc:147
TtSemiLepJetCombGeom::isValid
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
Definition:
TtSemiLepJetCombGeom.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TtSemiLepJetCombGeom::minBDiscBJets_
double minBDiscBJets_
Definition:
TtSemiLepJetCombGeom.h:31
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
TtSemiLepJetCombGeom::~TtSemiLepJetCombGeom
~TtSemiLepJetCombGeom() override
Definition:
TtSemiLepJetCombGeom.cc:26
LorentzVector.h
TtSemiLepJetCombGeom::useDeltaR_
bool useDeltaR_
Definition:
TtSemiLepJetCombGeom.h:28
TtSemiLepJetCombGeom::TtSemiLepJetCombGeom
TtSemiLepJetCombGeom(const edm::ParameterSet &)
Definition:
TtSemiLepJetCombGeom.cc:9
TtSemiLepJetCombGeom::beginJob
void beginJob() override
Definition:
TtSemiLepJetCombGeom.h:16
TtSemiLepJetCombGeom::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition:
TtSemiLepJetCombGeom.cc:28
edm::EventSetup
Definition:
EventSetup.h:57
Jet.h
TtSemiLepJetCombGeom::maxNJets_
int maxNJets_
Definition:
TtSemiLepJetCombGeom.h:27
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:29
TtSemiLepJetCombGeom::useBTagging_
bool useBTagging_
Definition:
TtSemiLepJetCombGeom.h:29
edm::EDProducer
Definition:
EDProducer.h:36
TtSemiLepJetCombGeom::maxBDiscLightJets_
double maxBDiscLightJets_
Definition:
TtSemiLepJetCombGeom.h:32
edm::Event
Definition:
Event.h:73
TtSemiLepJetCombGeom::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition:
TtSemiLepJetCombGeom.h:25
Generated for CMSSW Reference Manual by
1.8.16