Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:39

0001 #ifndef ElectronRecalibSuperClusterAssociator_h
0002 #define ElectronRecalibSuperClusterAssociator_h
0003 
0004 //
0005 // Package:         Calibration/EcalCalibAlgos
0006 // Class:           ElectronRecalibSuperClusterAssociator
0007 //
0008 // Description:
0009 
0010 #include "FWCore/Framework/interface/stream/EDProducer.h"
0011 #include "FWCore/Framework/interface/Event.h"
0012 #include "DataFormats/Common/interface/Handle.h"
0013 #include "FWCore/Framework/interface/EventSetup.h"
0014 #include "FWCore/Utilities/interface/InputTag.h"
0015 
0016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0017 
0018 #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
0019 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0020 
0021 #include <string>
0022 
0023 class ElectronRecalibSuperClusterAssociator : public edm::stream::EDProducer<> {
0024 public:
0025   explicit ElectronRecalibSuperClusterAssociator(const edm::ParameterSet& conf);
0026 
0027   ~ElectronRecalibSuperClusterAssociator() override;
0028 
0029   void produce(edm::Event& e, const edm::EventSetup& c) override;
0030 
0031 private:
0032   edm::InputTag electronSrc_;
0033   edm::InputTag superClusterCollectionEB_;
0034   edm::InputTag superClusterCollectionEE_;
0035 
0036   std::string outputLabel_;
0037 
0038   edm::EDGetTokenT<reco::GsfElectronCollection> electronToken_;
0039   edm::EDGetTokenT<reco::SuperClusterCollection> ebScToken_;
0040   edm::EDGetTokenT<reco::SuperClusterCollection> eeScToken_;
0041 };
0042 #endif