CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
31 
32  private:
33 
34  virtual void beginJob();
35  virtual void analyze(const edm::Event& evt, const edm::EventSetup& setup);
36  virtual void endJob();
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_
WDecay::LeptonType readLeptonType(const std::string &str)
virtual void analyze(const edm::Event &evt, const edm::EventSetup &setup)
#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 setup(std::vector< TH2F > &depth, std::string name, std::string units="")