TopQuarkAnalysis
TopJetCombination
plugins
TtSemiLepJetCombWMassMaxSumPt.h
Go to the documentation of this file.
1
#ifndef TtSemiLepJetCombWMassMaxSumPt_h
2
#define TtSemiLepJetCombWMassMaxSumPt_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EDProducer.h
"
6
7
#include "
AnalysisDataFormats/TopObjects/interface/TtSemiLepEvtPartons.h
"
8
#include "
DataFormats/PatCandidates/interface/Jet.h
"
9
10
class
TtSemiLepJetCombWMassMaxSumPt
:
public
edm::EDProducer
{
11
public
:
12
explicit
TtSemiLepJetCombWMassMaxSumPt
(
const
edm::ParameterSet
&);
13
~TtSemiLepJetCombWMassMaxSumPt
()
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
24
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetsToken_
;
25
edm::EDGetTokenT<edm::View<reco::RecoCandidate>
>
lepsToken_
;
26
int
maxNJets_
;
27
double
wMass_
;
28
bool
useBTagging_
;
29
std::string
bTagAlgorithm_
;
30
double
minBDiscBJets_
;
31
double
maxBDiscLightJets_
;
32
};
33
34
#endif
TtSemiLepJetCombWMassMaxSumPt::TtSemiLepJetCombWMassMaxSumPt
TtSemiLepJetCombWMassMaxSumPt(const edm::ParameterSet &)
Definition:
TtSemiLepJetCombWMassMaxSumPt.cc:5
TtSemiLepJetCombWMassMaxSumPt::isValid
bool isValid(const int &idx, const edm::Handle< std::vector< pat::Jet > > &jets)
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:20
EDProducer.h
TtSemiLepJetCombWMassMaxSumPt::wMass_
double wMass_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:27
TtSemiLepJetCombWMassMaxSumPt::minBDiscBJets_
double minBDiscBJets_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:30
edm::EDGetTokenT
Definition:
EDGetToken.h:33
TtSemiLepJetCombWMassMaxSumPt::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition:
TtSemiLepJetCombWMassMaxSumPt.cc:24
singleTopDQM_cfi.jets
jets
Definition:
singleTopDQM_cfi.py:42
TtSemiLepJetCombWMassMaxSumPt::~TtSemiLepJetCombWMassMaxSumPt
~TtSemiLepJetCombWMassMaxSumPt() override
Definition:
TtSemiLepJetCombWMassMaxSumPt.cc:22
TtSemiLepEvtPartons.h
edm::Handle
Definition:
AssociativeIterator.h:50
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
TtSemiLepJetCombWMassMaxSumPt::bTagAlgorithm_
std::string bTagAlgorithm_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:29
TtSemiLepJetCombWMassMaxSumPt::useBTagging_
bool useBTagging_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:28
TtSemiLepJetCombWMassMaxSumPt::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:22
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
TtSemiLepJetCombWMassMaxSumPt
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:10
edm::EventSetup
Definition:
EventSetup.h:58
Jet.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TtSemiLepJetCombWMassMaxSumPt::maxNJets_
int maxNJets_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:26
TtSemiLepJetCombWMassMaxSumPt::endJob
void endJob() override
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:18
TtSemiLepJetCombWMassMaxSumPt::maxBDiscLightJets_
double maxBDiscLightJets_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:31
TtSemiLepJetCombWMassMaxSumPt::lepsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:25
edm::EDProducer
Definition:
EDProducer.h:35
TtSemiLepJetCombWMassMaxSumPt::beginJob
void beginJob() override
Definition:
TtSemiLepJetCombWMassMaxSumPt.h:16
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16