CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/TopQuarkAnalysis/TopJetCombination/plugins/TtSemiLepJetCombMaxSumPtWMass.h

Go to the documentation of this file.
00001 #ifndef TtSemiLepJetCombMaxSumPtWMass_h
00002 #define TtSemiLepJetCombMaxSumPtWMass_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 TtSemiLepJetCombMaxSumPtWMass : public edm::EDProducer {
00010 
00011  public:
00012   
00013   explicit TtSemiLepJetCombMaxSumPtWMass(const edm::ParameterSet&);
00014   ~TtSemiLepJetCombMaxSumPtWMass();
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