1 from PhysicsTools.Heppy.analyzers.DiLeptonAnalyzer
import DiLeptonAnalyzer
2 from PhysicsTools.Heppy.analyzers.AutoHandle
import AutoHandle
3 from PhysicsTools.Heppy.physicsobjects.DiObject
import DiElectron
4 from PhysicsTools.Heppy.physicsobjects.PhysicsObjects
import Electron
9 DiObjectClass = DiElectron
10 LeptonClass = Electron
14 print 'ZEleEleAnalyzer.declareHandles' 15 self.handles[
'diLeptons'] = AutoHandle(
16 'cmgDiElectronSelStdLep',
17 'std::vector<cmg::DiObject<cmg::Electron,cmg::Electron>>' 19 self.handles[
'leptons'] = AutoHandle(
20 'cmgElectronSelStdLep',
21 'std::vector<cmg::Electron>' 25 return self.testElectron(leg)
and \
26 super( ZEleEleAnalyzer, self).
testLeg1( leg )
29 return self.testElectron(leg)
and \
30 super( ZEleEleAnalyzer, self).
testLeg2( leg )