ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/src/BackgroundJetProducer.h
Revision: 1.1
Committed: Thu May 6 09:41:38 2010 UTC (15 years ago) by yilmaz
Content type: text/plain
Branch: MAIN
Log Message:
Fake jet producer

File Contents

# User Rev Content
1 yilmaz 1.1 #ifndef RecoJets_JetProducers_plugins_BackgroundJetProducer_h
2     #define RecoJets_JetProducers_plugins_BackgroundJetProducer_h
3    
4     #include "RecoJets/JetProducers/plugins/VirtualJetProducer.h"
5    
6     class BackgroundJetProducer : public VirtualJetProducer
7     {
8    
9     public:
10     //
11     // construction/destruction
12     //
13     explicit BackgroundJetProducer(const edm::ParameterSet& iConfig);
14     virtual ~BackgroundJetProducer();
15    
16     protected:
17    
18     //
19     // member functions
20     //
21    
22     virtual void runAlgorithm( edm::Event& iEvent, const edm::EventSetup& iSetup );
23     virtual void output( edm::Event & iEvent, edm::EventSetup const& iSetup );
24     template< typename T >
25     void writeBkgJets( edm::Event & iEvent, edm::EventSetup const& iSetup );
26    
27     private:
28    
29     // trackjet clustering parameters
30     bool useOnlyVertexTracks_;
31     bool useOnlyOnePV_;
32     float dzTrVtxMax_;
33    
34     int nFill_;
35     float etaMax_;
36     bool avoidNegative_;
37     };
38    
39    
40     #endif