Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TopQuarkAnalysis
TopEventSelection
plugins
TtFullHadSignalSelMVATrainer.h
Go to the documentation of this file.
1
#ifndef TtFullHadSignalSelMVATrainer_h
2
#define TtFullHadSignalSelMVATrainer_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
7
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
FWCore/Utilities/interface/InputTag.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
PhysicsTools/MVAComputer/interface/HelperMacros.h
"
14
#include "
PhysicsTools/MVAComputer/interface/MVAComputerCache.h
"
15
16
#include "
DataFormats/PatCandidates/interface/Jet.h
"
17
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
18
19
#ifndef TtFullHadSignalSelMVARcd_defined // to avoid conflicts with the TtFullHadSignalSelMVAComputer
20
#define TtFullHadSignalSelMVARcd_defined
21
MVA_COMPUTER_CONTAINER_DEFINE
(TtFullHadSignalSelMVA);
// defines TtFullHadSignalSelMVA
22
#endif
23
24
class
TtFullHadSignalSelMVATrainer
:
public
edm::EDAnalyzer
{
25
26
public
:
27
28
explicit
TtFullHadSignalSelMVATrainer
(
const
edm::ParameterSet
&);
29
~TtFullHadSignalSelMVATrainer
();
30
31
private
:
32
33
virtual
void
analyze
(
const
edm::Event
& evt,
const
edm::EventSetup
&
setup
);
34
virtual
void
beginJob
();
35
36
edm::InputTag
jets_
;
37
38
int
whatData_
;
39
int
maxEv_
;
40
int
selEv
;
41
double
weight_
;
42
43
PhysicsTools::MVAComputerCache
mvaComputer
;
44
45
};
46
47
#endif
TtFullHadSignalSelMVATrainer
Definition:
TtFullHadSignalSelMVATrainer.h:24
TtFullHadSignalSelMVATrainer::beginJob
virtual void beginJob()
Definition:
TtFullHadSignalSelMVATrainer.cc:83
Event.h
MakerMacros.h
EventSetup.h
TtFullHadSignalSelMVATrainer::maxEv_
int maxEv_
Definition:
TtFullHadSignalSelMVATrainer.h:39
MVAComputerCache.h
TtFullHadSignalSelMVATrainer::jets_
edm::InputTag jets_
Definition:
TtFullHadSignalSelMVATrainer.h:36
HelperMacros.h
Frameworkfwd.h
TtFullHadSignalSelMVATrainer::whatData_
int whatData_
Definition:
TtFullHadSignalSelMVATrainer.h:38
ParameterSet.h
TtFullHadSignalSelMVATrainer::selEv
int selEv
Definition:
TtFullHadSignalSelMVATrainer.h:40
TtFullHadSignalSelMVATrainer::~TtFullHadSignalSelMVATrainer
~TtFullHadSignalSelMVATrainer()
Definition:
TtFullHadSignalSelMVATrainer.cc:24
MVA_COMPUTER_CONTAINER_DEFINE
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition:
HelperMacros.h:43
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
TtFullHadSignalSelMVATrainer::analyze
virtual void analyze(const edm::Event &evt, const edm::EventSetup &setup)
Definition:
TtFullHadSignalSelMVATrainer.cc:29
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
edm::InputTag
Definition:
InputTag.h:12
InputTag.h
Jet.h
edm::ParameterSet
Definition:
ParameterSet.h:35
PhysicsTools::MVAComputerCache
Creates and and MVAComputer from calibrations via EventSetup.
Definition:
MVAComputerCache.h:29
edm::Event
Definition:
Event.h:50
TtFullHadSignalSelMVATrainer::TtFullHadSignalSelMVATrainer
TtFullHadSignalSelMVATrainer(const edm::ParameterSet &)
Definition:
TtFullHadSignalSelMVATrainer.cc:16
TtFullHadSignalSelMVATrainer::mvaComputer
PhysicsTools::MVAComputerCache mvaComputer
Definition:
TtFullHadSignalSelMVATrainer.h:43
HcalObjRepresent::setup
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition:
HcalObjRepresent.h:628
RecoCandidate.h
TtFullHadSignalSelMVATrainer::weight_
double weight_
Definition:
TtFullHadSignalSelMVATrainer.h:41
Generated for CMSSW Reference Manual by
1.8.5