Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:59

0001 // \class JetExtender JetExtender.cc
0002 //
0003 // Combines different Jet associations into single compact object
0004 // which extends basic Jet information
0005 // Fedor Ratnikov Sep. 10, 2007
0006 //
0007 //
0008 #ifndef JetExtender_h
0009 #define JetExtender_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 #include "DataFormats/Common/interface/View.h"
0016 #include "DataFormats/JetReco/interface/Jet.h"
0017 #include "DataFormats/JetReco/interface/JetTracksAssociation.h"
0018 
0019 class JetExtender : public edm::stream::EDProducer<> {
0020 public:
0021   JetExtender(const edm::ParameterSet&);
0022   ~JetExtender() override;
0023 
0024   void produce(edm::Event&, const edm::EventSetup&) override;
0025 
0026 private:
0027   edm::EDGetTokenT<edm::View<reco::Jet>> token_mJets;
0028   edm::EDGetTokenT<reco::JetTracksAssociation::Container> token_mJet2TracksAtVX;
0029   edm::EDGetTokenT<reco::JetTracksAssociation::Container> token_mJet2TracksAtCALO;
0030   edm::InputTag mJets;
0031   edm::InputTag mJet2TracksAtVX;
0032   edm::InputTag mJet2TracksAtCALO;
0033 };
0034 
0035 #endif