PFConversions = cms.InputTag("uncleanedOnlyPfConversions"),
    GsfTrackModuleLabel = cms.InputTag("uncleanedOnlyElectronGsfTracks"),
    PFRecTrackLabel = cms.InputTag("uncleanedOnlyPfTrack")
    )

uncleanedOnlyPfTrackingTask = cms.Task(uncleanedOnlyPfTrack,uncleanedOnlyPfConversions,uncleanedOnlyPfTrackElec)
uncleanedOnlyPfTracking = cms.Sequence(uncleanedOnlyPfTrackingTask)

#
# Electrons
#

from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi import ecalDrivenGsfElectronCores
from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCoresFromMultiCl_cff import ecalDrivenGsfElectronCoresFromMultiCl
uncleanedOnlyGsfElectronCores = ecalDrivenGsfElectronCores.clone(
    gsfTracks = cms.InputTag("uncleanedOnlyElectronGsfTracks"),
    gsfPfRecTracks = cms.InputTag("uncleanedOnlyPfTrackElec")
    )

from RecoEgamma.EgammaElectronProducers.gsfElectrons_cfi import *
uncleanedOnlyGsfElectrons = ecalDrivenGsfElectrons.clone(
    gsfPfRecTracksTag = cms.InputTag("uncleanedOnlyPfTrackElec"),
    gsfElectronCoresTag = cms.InputTag("uncleanedOnlyGsfElectronCores"),
    seedsTag = cms.InputTag("uncleanedOnlyElectronSeeds")
    )

uncleanedOnlyElectronsTask = cms.Task(uncleanedOnlyGsfElectronCores,uncleanedOnlyGsfElectrons)
uncleanedOnlyElectrons = cms.Sequence(uncleanedOnlyElectronsTask)
#
# Whole Sequence
#
from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi import ecalDrivenGsfElectronCores

ecalDrivenGsfElectronCoresFromMultiCl = ecalDrivenGsfElectronCores.clone(
  gsfTracks = 'electronGsfTracksFromMultiCl',
  useGsfPfRecTracks = False
)
Esempio n. 3
0
    GsfTrackModuleLabel="uncleanedOnlyElectronGsfTracks",
    PFRecTrackLabel="uncleanedOnlyPfTrack")

uncleanedOnlyPfTrackingTask = cms.Task(uncleanedOnlyPfTrack,
                                       uncleanedOnlyPfConversions,
                                       uncleanedOnlyPfTrackElec)
uncleanedOnlyPfTracking = cms.Sequence(uncleanedOnlyPfTrackingTask)

#
# Electrons
#

from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi import ecalDrivenGsfElectronCores
from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCoresHGC_cff import ecalDrivenGsfElectronCoresHGC
uncleanedOnlyGsfElectronCores = ecalDrivenGsfElectronCores.clone(
    gsfTracks="uncleanedOnlyElectronGsfTracks",
    gsfPfRecTracks="uncleanedOnlyPfTrackElec")

from RecoEgamma.EgammaElectronProducers.gsfElectrons_cfi import *
uncleanedOnlyGsfElectrons = ecalDrivenGsfElectrons.clone(
    gsfPfRecTracksTag="uncleanedOnlyPfTrackElec",
    gsfElectronCoresTag="uncleanedOnlyGsfElectronCores",
    seedsTag="uncleanedOnlyElectronSeeds")

uncleanedOnlyElectronsTask = cms.Task(uncleanedOnlyGsfElectronCores,
                                      uncleanedOnlyGsfElectrons)
uncleanedOnlyElectrons = cms.Sequence(uncleanedOnlyElectronsTask)
#
# Whole Sequence
#
Esempio n. 4
0
from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi import ecalDrivenGsfElectronCores

ecalDrivenGsfElectronCoresHGC = ecalDrivenGsfElectronCores.clone(
  gsfTracks = 'electronGsfTracks',
  useGsfPfRecTracks = False,
  hgcalOnly = True,
)