CMS 3D CMS Logo

VIDElectronSelector.py
Go to the documentation of this file.
1 import ROOT
2 from PhysicsTools.SelectorUtils.VIDSelectorBase import VIDSelectorBase
3 
5  def __init__(self,pythonpset = None):
6  builder = ROOT.MakeVersionedSelector(ROOT.reco.GsfElectron)
7  ptrmaker = ROOT.MakePtrFromCollection(ROOT.vector(ROOT.pat.Electron),
8  ROOT.pat.Electron,
9  ROOT.reco.GsfElectron)
10  printer = ROOT.PrintVIDToString(ROOT.reco.GsfElectron)
11  VIDSelectorBase.__init__(self,builder,ptrmaker,printer,pythonpset)
12 
VIDSelectorBase
Definition: VIDSelectorBase.py:1
VIDElectronSelector.VIDElectronSelector.__init__
def __init__(self, pythonpset=None)
Definition: VIDElectronSelector.py:5
VIDElectronSelector.VIDElectronSelector
Definition: VIDElectronSelector.py:4