CMS 3D CMS Logo

TtSemiLepJetCombMVATrainer.h
Go to the documentation of this file.
1 #ifndef TtSemiLepJetCombMVATrainer_h
2 #define TtSemiLepJetCombMVATrainer_h
3 
12 
16 
20 
23 
24 #ifndef TtSemiLepJetCombMVARcd_defined // to avoid conflicts with the TtSemiLepJetCombMVAComputer
25 #define TtSemiLepJetCombMVARcd_defined
26 MVA_COMPUTER_CONTAINER_DEFINE(TtSemiLepJetCombMVA); // defines TtSemiLepJetCombMVARcd
27 #endif
28 
30 public:
32  ~TtSemiLepJetCombMVATrainer() override;
33 
34 private:
35  void beginJob() override;
36  void analyze(const edm::Event& evt, const edm::EventSetup& setup) override;
37  void endJob() override;
38 
40 
46 
47  int maxNJets_;
48 
50 
52 
53  unsigned int nEvents[5];
54 };
55 
56 #endif
TtSemiLepJetCombMVATrainer
Definition: TtSemiLepJetCombMVATrainer.h:29
TtSemiLepJetCombMVATrainer::mvaComputer
PhysicsTools::MVAComputerCache mvaComputer
Definition: TtSemiLepJetCombMVATrainer.h:51
TtSemiLepJetCombMVATrainer::TtSemiLepJetCombMVATrainer
TtSemiLepJetCombMVATrainer(const edm::ParameterSet &)
ESHandle.h
TtSemiLepJetCombMVATrainer::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &setup) override
TtSemiLepJetCombMVATrainer::matchingToken_
edm::EDGetTokenT< std::vector< std::vector< int > > > matchingToken_
Definition: TtSemiLepJetCombMVATrainer.h:45
TopGenEvent.h
edm::EDGetTokenT< TtGenEvent >
EDAnalyzer.h
TtSemiLepEvtPartons.h
RecoCandidate.h
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TtSemiLepJetCombMVATrainer::genEvtToken_
edm::EDGetTokenT< TtGenEvent > genEvtToken_
Definition: TtSemiLepJetCombMVATrainer.h:41
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
PhysicsTools::MVAComputerCache
Creates and and MVAComputer from calibrations via EventSetup.
Definition: MVAComputerCache.h:28
MakerMacros.h
TtSemiLepJetCombMVATrainer::readLeptonType
WDecay::LeptonType readLeptonType(const std::string &str)
TtSemiLepJetCombMVATrainer::maxNJets_
int maxNJets_
Definition: TtSemiLepJetCombMVATrainer.h:47
TtSemiLepJetCombMVATrainer::~TtSemiLepJetCombMVATrainer
~TtSemiLepJetCombMVATrainer() override
str
#define str(s)
Definition: TestProcessor.cc:51
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TtSemiLepJetCombMVATrainer::beginJob
void beginJob() override
edm::ParameterSet
Definition: ParameterSet.h:47
TtSemiLepJetCombMVATrainer::nEvents
unsigned int nEvents[5]
Definition: TtSemiLepJetCombMVATrainer.h:53
Event.h
TtGenEvent.h
TtSemiLepJetCombMVATrainer::jetsToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
Definition: TtSemiLepJetCombMVATrainer.h:43
HelperMacros.h
edm::EventSetup
Definition: EventSetup.h:57
MET.h
Jet.h
InputTag.h
MVAComputerCache.h
WDecay::LeptonType
LeptonType
Definition: TopGenEvent.h:27
MVA_COMPUTER_CONTAINER_DEFINE
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:51
TtSemiLepJetCombMVATrainer::lepsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
Definition: TtSemiLepJetCombMVATrainer.h:42
TtSemiLepJetCombMVATrainer::leptonType_
WDecay::LeptonType leptonType_
Definition: TtSemiLepJetCombMVATrainer.h:49
Frameworkfwd.h
TtSemiLepJetCombMVATrainer::metsToken_
edm::EDGetTokenT< std::vector< pat::MET > > metsToken_
Definition: TtSemiLepJetCombMVATrainer.h:44
EventSetup.h
TtSemiLepJetCombMVATrainer::endJob
void endJob() override
ParameterSet.h
edm::Event
Definition: Event.h:73