test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
PhotonIdentification
python
VIDPhotonSelector.py
Go to the documentation of this file.
1
import
ROOT
2
from
PhysicsTools.SelectorUtils.VIDSelectorBase
import
VIDSelectorBase
3
4
class
VIDPhotonSelector
(
VIDSelectorBase
):
5
def
__init__
(self,pythonpset = None):
6
builder = ROOT.MakeVersionedSelector(ROOT.reco.Photon)
7
ptrmaker = ROOT.MakePtrFromCollection(ROOT.vector(ROOT.pat.Photon),
8
ROOT.pat.Photon,
9
ROOT.reco.Photon)
10
printer = ROOT.PrintVIDToString(ROOT.reco.Photon)
11
VIDSelectorBase.__init__(self,builder,ptrmaker,printer,pythonpset)
12
VIDSelectorBase
Definition:
VIDSelectorBase.py:1
VIDPhotonSelector.VIDPhotonSelector
Definition:
VIDPhotonSelector.py:4
VIDPhotonSelector.VIDPhotonSelector.__init__
def __init__
Definition:
VIDPhotonSelector.py:5
Generated for CMSSW Reference Manual by
1.8.5