Exemplo n.º 1
0
        InDetESDList += [
            "DetailedTrackTruthCollection#" +
            InDetKeys.ResolvedForwardTracks() + 'DetailedTruth'
        ]
if InDetFlags.doBeamGas():
    InDetESDList += [
        "TrackCollection#" + InDetBeamGasTRTExtension.ForwardTrackCollection()
    ]  #ExtendedHaloTracks
if InDetFlags.doBeamHalo():
    InDetESDList += [
        "TrackCollection#" + InDetRecHaloTRTExtension.ForwardTrackCollection()
    ]  #ExtendedBeamGasTracks

if InDetFlags.doTrackSegmentsDisappearing():
    if InDetFlags.doWriteTracksToESD() or not InDetFlags.doxAOD():
        InDetESDList += ["TrackCollection#" + InDetKeys.DisappearingTracks()]
    if InDetFlags.doTruth():
        InDetESDList += [
            "TrackTruthCollection#" + InDetKeys.DisappearingTracks() +
            'TruthCollection'
        ]
        InDetESDList += [
            "DetailedTrackTruthCollection#" + InDetKeys.DisappearingTracks() +
            'DetailedTruth'
        ]

# Add TRT Segments (only if standalone is off).
# -----------------
if not InDetFlags.doTRTStandalone():
    InDetESDList += ["Trk::SegmentCollection#" + InDetKeys.TRT_Segments()]
Exemplo n.º 2
0
    if doCreation:
        createTrackParticles(InDetKeys.PixelTracks(),
                             InDetKeys.PixelTracksTruth(),
                             InDetKeys.xAODPixelTrackParticleContainer(),
                             topSequence)
    if doConversion:
        convertTrackParticles(
            getRecTrackParticleNameIfInFile(
                InDetKeys.xAODPixelTrackParticleContainer()), "",
            InDetKeys.xAODPixelTrackParticleContainer(), topSequence)

if InDetFlags.doTrackSegmentsDisappearing() and InDetFlags.doParticleCreation(
):
    if doCreation:
        createTrackParticles(
            InDetKeys.DisappearingTracks(),
            InDetKeys.DisappearingTracksTruth(),
            InDetKeys.xAODDisappearingTrackParticleContainer(), topSequence)

if InDetFlags.doTrackSegmentsSCT() and InDetFlags.doParticleCreation():
    if doCreation:
        createTrackParticles(InDetKeys.SCTTracks(), "",
                             InDetKeys.xAODSCTTrackParticleContainer(),
                             topSequence)

if InDetFlags.doTrackSegmentsTRT() and InDetFlags.doParticleCreation():
    if doCreation:
        if InDetFlags.doCosmics():
            # to reproduce shared hits of TRTTrackParticles stored in the ESD of q220
            createTrackParticles(
                InDetKeys.TRTTracks(), "",