TopQuarkAnalysis
TopEventSelection
plugins
TtFullHadSignalSelMVAComputer.h
Go to the documentation of this file.
1
#ifndef TtFullHadSignalSelMVAComputer_h
2
#define TtFullHadSignalSelMVAComputer_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EDProducer.h
"
6
7
#include "
PhysicsTools/MVAComputer/interface/HelperMacros.h
"
8
#include "
PhysicsTools/MVAComputer/interface/MVAComputerCache.h
"
9
10
#include "
DataFormats/Math/interface/LorentzVector.h
"
11
#include "
DataFormats/PatCandidates/interface/Jet.h
"
12
13
#ifndef TtFullHadSignalSelMVARcd_defined // to avoid conflicts with the TopFullHadLepSignalSelMVATrainer
14
#define TtFullHadSignalSelMVARcd_defined
15
MVA_COMPUTER_CONTAINER_DEFINE
(TtFullHadSignalSelMVA);
// defines TopFullHadLepSignalSelMVARcd
16
#endif
17
18
class
TtFullHadSignalSelMVAComputer
:
public
edm::EDProducer
{
19
public
:
20
explicit
TtFullHadSignalSelMVAComputer
(
const
edm::ParameterSet
&);
21
~TtFullHadSignalSelMVAComputer
()
override
;
22
23
private
:
24
void
beginJob
()
override
;
25
void
produce
(
edm::Event
& evt,
const
edm::EventSetup
&
setup
)
override
;
26
void
endJob
()
override
;
27
28
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetsToken_
;
29
30
PhysicsTools::MVAComputerCache
mvaComputer
;
31
32
double
DiscSel
;
33
};
34
35
#endif
TtFullHadSignalSelMVAComputer
Definition:
TtFullHadSignalSelMVAComputer.h:18
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
TtFullHadSignalSelMVAComputer::endJob
void endJob() override
Definition:
TtFullHadSignalSelMVAComputer.cc:53
PhysicsTools::MVAComputerCache
Creates and and MVAComputer from calibrations via EventSetup.
Definition:
MVAComputerCache.h:28
TtFullHadSignalSelMVAComputer::DiscSel
double DiscSel
Definition:
TtFullHadSignalSelMVAComputer.h:32
TtFullHadSignalSelMVAComputer::beginJob
void beginJob() override
Definition:
TtFullHadSignalSelMVAComputer.cc:51
TtFullHadSignalSelMVAComputer::~TtFullHadSignalSelMVAComputer
~TtFullHadSignalSelMVAComputer() override
Definition:
TtFullHadSignalSelMVAComputer.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HelperMacros.h
LorentzVector.h
TtFullHadSignalSelMVAComputer::TtFullHadSignalSelMVAComputer
TtFullHadSignalSelMVAComputer(const edm::ParameterSet &)
Definition:
TtFullHadSignalSelMVAComputer.cc:13
edm::EventSetup
Definition:
EventSetup.h:57
Jet.h
TtFullHadSignalSelMVAComputer::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition:
TtFullHadSignalSelMVAComputer.h:28
TtFullHadSignalSelMVAComputer::mvaComputer
PhysicsTools::MVAComputerCache mvaComputer
Definition:
TtFullHadSignalSelMVAComputer.h:30
MVAComputerCache.h
MVA_COMPUTER_CONTAINER_DEFINE
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition:
HelperMacros.h:51
edm::EDProducer
Definition:
EDProducer.h:35
TtFullHadSignalSelMVAComputer::produce
void produce(edm::Event &evt, const edm::EventSetup &setup) override
Definition:
TtFullHadSignalSelMVAComputer.cc:20
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16