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 
14 
17 
18 #ifndef TtSemiLepJetCombMVARcd_defined // to avoid conflicts with the TtSemiLepJetCombMVAComputer
19 #define TtSemiLepJetCombMVARcd_defined
20 MVA_COMPUTER_CONTAINER_DEFINE(TtSemiLepJetCombMVA); // defines TtSemiLepJetCombMVARcd
21 #endif
22 
24 
25  public:
26 
29 
30  private:
31 
32  virtual void beginJob();
33  virtual void analyze(const edm::Event& evt, const edm::EventSetup& setup);
34  virtual void endJob();
35 
36  WDecay::LeptonType readLeptonType(const std::string& str);
37 
42 
43  int maxNJets_;
44 
46 
48 
49  unsigned int nEvents[5];
50 };
51 
52 #endif
PhysicsTools::MVAComputerCache mvaComputer
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
TtSemiLepJetCombMVATrainer(const edm::ParameterSet &)
Creates and and MVAComputer from calibrations via EventSetup.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")