CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtFullHadSignalSelMVATrainer.h
Go to the documentation of this file.
1 #ifndef TtFullHadSignalSelMVATrainer_h
2 #define TtFullHadSignalSelMVATrainer_h
3 
12 
15 
19 
20 #ifndef TtFullHadSignalSelMVARcd_defined // to avoid conflicts with the TtFullHadSignalSelMVAComputer
21 #define TtFullHadSignalSelMVARcd_defined
22 MVA_COMPUTER_CONTAINER_DEFINE(TtFullHadSignalSelMVA); // defines TtFullHadSignalSelMVA
23 #endif
24 
26 
27  public:
28 
31 
32  private:
33 
34  virtual void analyze(const edm::Event& evt, const edm::EventSetup& setup);
35  virtual void beginJob();
36 
39 
40  int whatData_;
41  int maxEv_;
42  int selEv;
43  double weight_;
44 
46 
47 };
48 
49 #endif
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:43
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
edm::EDGetTokenT< TtGenEvent > genEvtToken_
virtual void analyze(const edm::Event &evt, const edm::EventSetup &setup)
Creates and and MVAComputer from calibrations via EventSetup.
TtFullHadSignalSelMVATrainer(const edm::ParameterSet &)
PhysicsTools::MVAComputerCache mvaComputer
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")