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