CMS 3D CMS Logo

TtSemiLepJetCombMVATrainer.h
Go to the documentation of this file.
1 #ifndef TtSemiLepJetCombMVATrainer_h
2 #define TtSemiLepJetCombMVATrainer_h
3 
12 
16 
19 
20 #ifndef TtSemiLepJetCombMVARcd_defined // to avoid conflicts with the TtSemiLepJetCombMVAComputer
21 #define TtSemiLepJetCombMVARcd_defined
22 MVA_COMPUTER_CONTAINER_DEFINE(TtSemiLepJetCombMVA); // defines TtSemiLepJetCombMVARcd
23 #endif
24 
26 
27  public:
28 
30  ~TtSemiLepJetCombMVATrainer() override;
31 
32  private:
33 
34  void beginJob() override;
35  void analyze(const edm::Event& evt, const edm::EventSetup& setup) override;
36  void endJob() override;
37 
39 
45 
46  int maxNJets_;
47 
49 
51 
52  unsigned int nEvents[5];
53 };
54 
55 #endif
PhysicsTools::MVAComputerCache mvaComputer
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
edm::EDGetTokenT< edm::View< reco::RecoCandidate > > lepsToken_
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
WDecay::LeptonType readLeptonType(const std::string &str)
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:43
edm::EDGetTokenT< TtGenEvent > genEvtToken_
edm::EDGetTokenT< std::vector< std::vector< int > > > matchingToken_
TtSemiLepJetCombMVATrainer(const edm::ParameterSet &)
edm::EDGetTokenT< std::vector< pat::MET > > metsToken_
Creates and and MVAComputer from calibrations via EventSetup.
void analyze(const edm::Event &evt, const edm::EventSetup &setup) override