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