CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/TopQuarkAnalysis/TopJetCombination/plugins/TtSemiLepJetCombMVAComputer.h

Go to the documentation of this file.
00001 #ifndef TtSemiLepJetCombMVAComputer_h
00002 #define TtSemiLepJetCombMVAComputer_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 #ifndef TtSemiLepJetCombMVARcd_defined  // to avoid conflicts with the TtSemiLepJetCombMVATrainer
00011 #define TtSemiLepJetCombMVARcd_defined
00012 MVA_COMPUTER_CONTAINER_DEFINE(TtSemiLepJetCombMVA);  // defines TtSemiLepJetCombMVARcd
00013 #endif
00014 
00015 class TtSemiLepJetCombMVAComputer : public edm::EDProducer {
00016 
00017  public:
00018   
00019   explicit TtSemiLepJetCombMVAComputer(const edm::ParameterSet&);
00020   ~TtSemiLepJetCombMVAComputer();
00021   
00022  private:
00023 
00024   virtual void beginJob();
00025   virtual void produce(edm::Event& evt, const edm::EventSetup& setup);
00026   virtual void endJob();
00027 
00028   edm::InputTag leps_;  
00029   edm::InputTag jets_;
00030   edm::InputTag mets_;
00031 
00032   int maxNJets_;
00033   int maxNComb_;
00034 
00035   PhysicsTools::MVAComputerCache mvaComputer;
00036 
00037 };
00038 
00039 #endif