CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/RecoJets/JetAssociationProducers/src/JetTracksAssociatorAtVertex.h

Go to the documentation of this file.
00001 // \class JetTracksAssociatorAtVertex JetTracksAssociatorAtVertex.cc 
00002 //
00003 // Original Author:  Andrea Rizzi
00004 //         Created:  Wed Apr 12 11:12:49 CEST 2006
00005 // Accommodated for Jet Package by: Fedor Ratnikov Jul. 30, 2007
00006 // $Id: JetTracksAssociatorAtVertex.h,v 1.4 2011/11/11 18:58:02 srappocc Exp $
00007 //
00008 //
00009 #ifndef JetTracksAssociatorAtVertex_h
00010 #define JetTracksAssociatorAtVertex_h
00011 
00012 #include "FWCore/Framework/interface/EDProducer.h"
00013 #include "DataFormats/Common/interface/EDProductfwd.h"
00014 #include "FWCore/Utilities/interface/InputTag.h"
00015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00016 
00017 #include "RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationDRVertex.h"
00018 #include "RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationDRVertexAssigned.h"
00019 
00020 class JetTracksAssociatorAtVertex : public edm::EDProducer {
00021    public:
00022       JetTracksAssociatorAtVertex(const edm::ParameterSet&);
00023       virtual ~JetTracksAssociatorAtVertex();
00024 
00025       virtual void produce(edm::Event&, const edm::EventSetup&);
00026 
00027    private:
00028      edm::InputTag mJets;
00029      edm::InputTag mTracks;
00030      int mTrackQuality;
00031      JetTracksAssociationDRVertex mAssociator;
00032      JetTracksAssociationDRVertexAssigned mAssociatorAssigned;
00033      bool useAssigned;   
00034      edm::InputTag pvSrc; 
00035 };
00036 
00037 #endif