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 
31  public:
32 
34  ~TtSemiLepJetCombMVATrainer() override;
35 
36  private:
37 
38  void beginJob() override;
39  void analyze(const edm::Event& evt, const edm::EventSetup& setup) override;
40  void endJob() override;
41 
43 
49 
50  int maxNJets_;
51 
53 
55 
56  unsigned int nEvents[5];
57 };
58 
59 #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:2
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.
#define str(s)
void analyze(const edm::Event &evt, const edm::EventSetup &setup) override