CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoJets/JetAssociationProducers/src/JetTracksAssociatorAtCaloFace.h

Go to the documentation of this file.
00001 // \class JetTracksAssociatorAtCaloFace JetTracksAssociatorAtCaloFace.cc 
00002 // Associate jet with tracks extrapolated to CALO face
00003 // Accommodated for Jet Package by: Fedor Ratnikov Sep.7, 2007
00004 // $Id: JetTracksAssociatorAtCaloFace.h,v 1.4 2010/03/16 21:45:55 srappocc Exp $
00005 //
00006 //
00007 #ifndef JetTracksAssociatorAtCaloFace_h
00008 #define JetTracksAssociatorAtCaloFace_h
00009 
00010 #include "FWCore/Framework/interface/EDProducer.h"
00011 #include "DataFormats/Common/interface/EDProductfwd.h"
00012 #include "FWCore/Utilities/interface/InputTag.h"
00013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00014 
00015 #include "RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationXtrpCalo.h"
00016 
00017 #include "FWCore/Framework/interface/ESHandle.h"
00018 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00019 
00020 class JetTracksAssociatorAtCaloFace : public edm::EDProducer {
00021    public:
00022       JetTracksAssociatorAtCaloFace(const edm::ParameterSet&);
00023       virtual ~JetTracksAssociatorAtCaloFace() {}
00024 
00025       virtual void beginRun( edm::Run const & run, edm::EventSetup const & setup);
00026 
00027       virtual void produce(edm::Event&, const edm::EventSetup&);
00028 
00029    private:
00030       
00031      JetTracksAssociatorAtCaloFace(){}
00032       
00033      edm::InputTag mJets;
00034      edm::InputTag mExtrapolations;
00035      JetTracksAssociationXtrpCalo mAssociator;
00036      edm::ESHandle<CaloGeometry> pGeo;
00037      bool firstRun;
00038      double dR_;
00039 };
00040 
00041 #endif