1 from __future__
import print_function
2 from PhysicsTools.Heppy.analyzers.DiLeptonAnalyzer
import DiLeptonAnalyzer
3 from PhysicsTools.Heppy.analyzers.AutoHandle
import AutoHandle
4 from PhysicsTools.Heppy.physicsobjects.DiObject
import DiElectron
5 from PhysicsTools.Heppy.physicsobjects.PhysicsObjects
import Electron
10 DiObjectClass = DiElectron
11 LeptonClass = Electron
15 print(
'ZEleEleAnalyzer.declareHandles')
16 self.handles[
'diLeptons'] = AutoHandle(
17 'cmgDiElectronSelStdLep',
18 'std::vector<cmg::DiObject<cmg::Electron,cmg::Electron>>' 20 self.handles[
'leptons'] = AutoHandle(
21 'cmgElectronSelStdLep',
22 'std::vector<cmg::Electron>' 26 return self.testElectron(leg)
and \
27 super( ZEleEleAnalyzer, self).
testLeg1( leg )
30 return self.testElectron(leg)
and \
31 super( ZEleEleAnalyzer, self).
testLeg2( leg )
S & print(S &os, JobReport::InputFile const &f)