Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:35:00

0001 // \class JetTracksAssociatorExplicit JetTracksAssociatorExplicit.cc
0002 //
0003 // Original Author:  Andrea Rizzi
0004 //         Created:  Wed Apr 12 11:12:49 CEST 2006
0005 // Accommodated for Jet Package by: Fedor Ratnikov Jul. 30, 2007
0006 //
0007 //
0008 #ifndef JetTracksAssociatorExplicit_h
0009 #define JetTracksAssociatorExplicit_h
0010 
0011 #include "FWCore/Framework/interface/stream/EDProducer.h"
0012 #include "DataFormats/Common/interface/EDProductfwd.h"
0013 #include "FWCore/Utilities/interface/InputTag.h"
0014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0015 
0016 #include "RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationExplicit.h"
0017 #include "RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationExplicit.h"
0018 
0019 class JetTracksAssociatorExplicit : public edm::stream::EDProducer<> {
0020 public:
0021   JetTracksAssociatorExplicit(const edm::ParameterSet&);
0022   ~JetTracksAssociatorExplicit() override;
0023 
0024   void produce(edm::Event&, const edm::EventSetup&) override;
0025 
0026 private:
0027   edm::EDGetTokenT<edm::View<reco::Jet>> mJets;
0028   edm::EDGetTokenT<reco::TrackCollection> mTracks;
0029   JetTracksAssociationExplicit mAssociatorExplicit;
0030 };
0031 
0032 #endif