CMS 3D CMS Logo

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 
25 class TtFullHadSignalSelMVATrainer : public edm::EDAnalyzer {
26 public:
29 
30 private:
31  void analyze(const edm::Event& evt, const edm::EventSetup& setup) override;
32  void beginJob() override;
33 
36 
37  int whatData_;
38  int maxEv_;
39  int selEv;
40  double weight_;
41 
43 };
44 
45 #endif
void analyze(const edm::Event &evt, const edm::EventSetup &setup) override
~TtFullHadSignalSelMVATrainer() override
edm::EDGetTokenT< TtGenEvent > genEvtToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetsToken_
#define MVA_COMPUTER_CONTAINER_DEFINE(N)
Definition: HelperMacros.h:51
Creates and and MVAComputer from calibrations via EventSetup.
TtFullHadSignalSelMVATrainer(const edm::ParameterSet &)
PhysicsTools::MVAComputerCache mvaComputer