CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/TopQuarkAnalysis/TopJetCombination/plugins/TtSemiLepJetCombWMassMaxSumPt.h

Go to the documentation of this file.
00001 #ifndef TtSemiLepJetCombWMassMaxSumPt_h
00002 #define TtSemiLepJetCombWMassMaxSumPt_h
00003 
00004 #include "FWCore/Framework/interface/Event.h"
00005 #include "FWCore/Framework/interface/EDProducer.h"
00006 
00007 #include "DataFormats/PatCandidates/interface/Jet.h"
00008 
00009 class TtSemiLepJetCombWMassMaxSumPt : public edm::EDProducer {
00010 
00011  public:
00012   
00013   explicit TtSemiLepJetCombWMassMaxSumPt(const edm::ParameterSet&);
00014   ~TtSemiLepJetCombWMassMaxSumPt();
00015   
00016  private:
00017 
00018   virtual void beginJob() {};
00019   virtual void produce(edm::Event& evt, const edm::EventSetup& setup);
00020   virtual void endJob() {};
00021 
00022   bool isValid(const int& idx, const edm::Handle<std::vector<pat::Jet> >& jets){ return (0<=idx && idx<(int)jets->size()); };
00023 
00024   edm::InputTag jets_;
00025   edm::InputTag leps_;
00026   int maxNJets_;
00027   double wMass_;
00028   bool useBTagging_;
00029   std::string bTagAlgorithm_;
00030   double minBDiscBJets_;
00031   double maxBDiscLightJets_;
00032 };
00033 
00034 #endif