ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/interface/BaseHiGenJetProducer.h
Revision: 1.6
Committed: Wed Aug 26 15:19:09 2009 UTC (15 years, 8 months ago) by yilmaz
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
Old genjet module not needed anymore

File Contents

# Content
1 #ifndef JetProducers_BaseHiGenJetProducer_h
2 #define JetProducers_BaseHiGenJetProducer_h
3
4 /** \class BaseHiGenJetProducer
5 *
6 * BaseHiGenJetProducer is a base class for JetProducers.
7 * It handles generic manipulations of input and output collections
8 *
9 * \author Fedor Ratnikov (UMd) Aug. 22, 2006
10 * $Id: BaseHiGenJetProducer.h,v 1.5 2009/07/01 10:58:40 edwenger Exp $
11 *
12 ************************************************************/
13
14 #include "FWCore/Framework/interface/EDProducer.h"
15 #include "DataFormats/Common/interface/EDProductfwd.h"
16 #include "RecoJets/JetAlgorithms/interface/JetRecoTypes.h"
17 #include "FWCore/ParameterSet/interface/ParameterSet.h"
18 #include "FWCore/Framework/interface/ESHandle.h"
19 #include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"
20
21 namespace cms
22 {
23 class BaseHiGenJetProducer : public edm::EDProducer
24 {
25 public:
26
27 BaseHiGenJetProducer(const edm::ParameterSet& ps);
28
29 /**Default destructor*/
30 virtual ~BaseHiGenJetProducer();
31 /**Produces the EDM products*/
32 virtual void beginJob(const edm::EventSetup& c);
33 virtual void produce(edm::Event& e, const edm::EventSetup& c);
34 /** jet type */
35 std::string jetType () const {return mJetType;}
36
37 // abstract method to be set up in actual implementations
38 /** run algorithm itself */
39 virtual bool runAlgorithm (const JetReco::InputCollection& fInput, JetReco::OutputCollection* fOutput) = 0;
40
41 private:
42 edm::InputTag mSrc;
43 edm::InputTag mapSrc;
44 std::string mJetType;
45 bool mVerbose;
46 double mEtInputCut;
47 double mEInputCut;
48 double mJetPtMin;
49 double nMax_;
50 bool ignoreHydro_;
51 edm::ESHandle < ParticleDataTable > mPdt;
52
53 };
54 }
55
56 #endif