Esempio n. 1
0
        InDetESDList += [
            "DetailedTrackTruthCollection#" + InDetKeys.DisappearingTracks() +
            'DetailedTruth'
        ]

# Add TRT Segments (only if standalone is off).
# -----------------
if not InDetFlags.doTRTStandalone():
    InDetESDList += ["Trk::SegmentCollection#" + InDetKeys.TRT_Segments()]

if InDetFlags.doTruth():
    # Save (Detailed) Track Truth
    # ---------------------------
    InDetESDList += ["TrackTruthCollection#" + InDetKeys.TracksTruth()]
    InDetESDList += [
        "DetailedTrackTruthCollection#" + InDetKeys.DetailedTracksTruth()
    ]

    # save PRD MultiTruth.
    # --------------------
    InDetESDList += [
        "PRD_MultiTruthCollection#" + InDetKeys.PixelClustersTruth()
    ]
    InDetESDList += [
        "PRD_MultiTruthCollection#" + InDetKeys.SCT_ClustersTruth()
    ]
    InDetESDList += [
        "PRD_MultiTruthCollection#" + InDetKeys.TRT_DriftCirclesTruth()
    ]

if globalflags.InputFormat() == 'bytestream':
Esempio n. 2
0
      topSequence += InDetCopyAlg
      print          InDetCopyAlg
      # --- for output
      InDetKeys.AliasToTracks = InputTrackCollection
   #
   # Input of the next algorithm
   #
   InputTrackCollection = OutputTrackCollection
   #
   # now do truth for the output
   #
   if InDetFlags.doTruth():
      #
      # this is the name of the truth
      #
      InputDetailedTrackTruth   = InDetKeys.DetailedTracksTruth()
      InputTrackCollectionTruth = InDetKeys.TracksTruth()
      #
      # set up the truth info for this container
      #
      include ("InDetRecExample/ConfiguredInDetTrackTruth.py")
      InDetTracksTruth = ConfiguredInDetTrackTruth(InputTrackCollection,
                                                   InputDetailedTrackTruth,
                                                   InputTrackCollectionTruth)
      #
      # add to keys lists for statistics
      #
      TrackCollectionKeys      += [ InputTrackCollection ]
      TrackCollectionTruthKeys += [ InputTrackCollectionTruth ]
      
# ------------------------------------------------------------