CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoJets/FFTJetAlgorithms/interface/AbsPileupCalculator.h

Go to the documentation of this file.
00001 //=========================================================================
00002 // AbsPileupCalculator.h
00003 //
00004 // Interface for calculators of the pile-up density
00005 //
00006 // I. Volobouev
00007 // June 2011
00008 //=========================================================================
00009 
00010 #ifndef RecoJets_FFTJetAlgorithms_AbsPileupCalculator_h
00011 #define RecoJets_FFTJetAlgorithms_AbsPileupCalculator_h
00012 
00013 #include "DataFormats/JetReco/interface/FFTJetPileupSummary.h"
00014 
00015 namespace fftjetcms {
00016     struct AbsPileupCalculator
00017     {
00018         virtual ~AbsPileupCalculator() {}
00019 
00020         virtual double operator()(
00021             double eta, double phi,
00022             const reco::FFTJetPileupSummary& summary) const = 0;
00023 
00024         virtual bool isPhiDependent() const = 0;
00025     };
00026 }
00027 
00028 #endif // RecoJets_FFTJetAlgorithms_AbsPileupCalculator_h