35 void endJob()
override;
74 benchmarkLabel = iConfig.
getParameter<
string>(
"BenchmarkLabel");
75 sGenParticleSource_tok_ = consumes<edm::HepMCProduct>(iConfig.
getParameter<
InputTag>(
"InputTruthLabel"));
81 pfTauProducer_tok_ = consumes<reco::PFTauCollection>(iConfig.
getParameter<
InputTag>(
"PFTauProducer"));
82 pfTauDiscriminatorByIsolationProducer_tok_ =
83 consumes<reco::PFTauDiscriminator>(iConfig.
getParameter<
InputTag>(
"PFTauDiscriminatorByIsolationProducer"));
84 pfTauDiscriminatorAgainstElectronProducer_tok_ =
85 consumes<reco::PFTauDiscriminator>(iConfig.
getParameter<
InputTag>(
"PFTauDiscriminatorAgainstElectronProducer"));
86 sGenMatchObjectLabel = iConfig.
getParameter<
string>(
"GenMatchObjectLabel");
87 applyEcalCrackCut = iConfig.
getParameter<
bool>(
"ApplyEcalCrackCut");
116 iEvent.getByToken(sGenParticleSource_tok_, mcevt);
120 iEvent.getByToken(pfTauProducer_tok_, thePFTau);
124 iEvent.getByToken(pfTauDiscriminatorByIsolationProducer_tok_, thePFTauDiscriminatorByIsolation);
128 iEvent.getByToken(pfTauDiscriminatorAgainstElectronProducer_tok_, thePFTauDiscriminatorAgainstElectron);
130 PFTauElecRejectionBenchmark_.process(
131 mcevt, thePFTau, thePFTauDiscriminatorByIsolation, thePFTauDiscriminatorAgainstElectron);