1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef ElectronRecalibSuperClusterAssociator_h
#define ElectronRecalibSuperClusterAssociator_h
//
// Package: Calibration/EcalCalibAlgos
// Class: ElectronRecalibSuperClusterAssociator
//
// Description:
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
#include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
#include <string>
class ElectronRecalibSuperClusterAssociator : public edm::stream::EDProducer<> {
public:
explicit ElectronRecalibSuperClusterAssociator(const edm::ParameterSet& conf);
~ElectronRecalibSuperClusterAssociator() override;
void produce(edm::Event& e, const edm::EventSetup& c) override;
private:
edm::InputTag electronSrc_;
edm::InputTag superClusterCollectionEB_;
edm::InputTag superClusterCollectionEE_;
std::string outputLabel_;
edm::EDGetTokenT<reco::GsfElectronCollection> electronToken_;
edm::EDGetTokenT<reco::SuperClusterCollection> ebScToken_;
edm::EDGetTokenT<reco::SuperClusterCollection> eeScToken_;
};
#endif
|