00001 #ifndef TtFullHadSignalSelMVAComputer_h 00002 #define TtFullHadSignalSelMVAComputer_h 00003 00004 #include "FWCore/Framework/interface/Event.h" 00005 #include "FWCore/Framework/interface/EDProducer.h" 00006 00007 #include "PhysicsTools/MVAComputer/interface/HelperMacros.h" 00008 #include "PhysicsTools/MVAComputer/interface/MVAComputerCache.h" 00009 00010 #include "DataFormats/Math/interface/LorentzVector.h" 00011 00012 #ifndef TtFullHadSignalSelMVARcd_defined // to avoid conflicts with the TopFullHadLepSignalSelMVATrainer 00013 #define TtFullHadSignalSelMVARcd_defined 00014 MVA_COMPUTER_CONTAINER_DEFINE(TtFullHadSignalSelMVA); // defines TopFullHadLepSignalSelMVARcd 00015 #endif 00016 00017 class TtFullHadSignalSelMVAComputer : public edm::EDProducer { 00018 00019 public: 00020 00021 explicit TtFullHadSignalSelMVAComputer(const edm::ParameterSet&); 00022 ~TtFullHadSignalSelMVAComputer(); 00023 00024 private: 00025 00026 virtual void beginJob(); 00027 virtual void produce(edm::Event& evt, const edm::EventSetup& setup); 00028 virtual void endJob(); 00029 00030 edm::InputTag jets_; 00031 00032 PhysicsTools::MVAComputerCache mvaComputer; 00033 00034 double DiscSel; 00035 00036 }; 00037 00038 #endif