Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:11

0001 #ifndef PFCand_AssoMap_h
0002 #define PFCand_AssoMap_h
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    PFCand_AssoMap
0007 // Class:      PFCand_AssoMap
0008 //
0009 /**\class PFCand_AssoMap PFCand_AssoMap.cc CommonTools/RecoUtils/plugins/PFCand_AssoMap.cc
0010 
0011   Description: Produces a map with association between pf candidates and their particular most probable vertex with a quality of this association
0012 */
0013 //
0014 // Original Author:  Matthias Geisler
0015 //         Created:  Wed Apr 18 14:48:37 CEST 2012
0016 // $Id: PFCand_AssoMap.h,v 1.7 2012/10/10 11:45:01 mgeisler Exp $
0017 //
0018 //
0019 
0020 #include "FWCore/Framework/interface/Frameworkfwd.h"
0021 #include "FWCore/Framework/interface/stream/EDProducer.h"
0022 
0023 #include "FWCore/Framework/interface/Event.h"
0024 #include "FWCore/Framework/interface/MakerMacros.h"
0025 
0026 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0027 
0028 #include "FWCore/Utilities/interface/InputTag.h"
0029 
0030 #include "CommonTools/RecoUtils/interface/PFCand_AssoMapAlgos.h"
0031 
0032 //
0033 // class declaration
0034 //
0035 
0036 class PFCand_AssoMap : public edm::stream::EDProducer<>, public PFCand_AssoMapAlgos {
0037 public:
0038   explicit PFCand_AssoMap(const edm::ParameterSet&);
0039   ~PFCand_AssoMap() override;
0040 
0041   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0042 
0043 private:
0044   void produce(edm::Event&, const edm::EventSetup&) override;
0045 
0046   // ----------member data ---------------------------
0047 
0048   edm::InputTag input_AssociationType_;
0049 
0050   edm::EDGetTokenT<reco::PFCandidateCollection> token_PFCandidates_;
0051 };
0052 
0053 #endif