5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 from TrigInDetConfig.utils
import getFlagsForActiveConfig
8 from TrigInDetConfig.InnerTrackingTrigSequence
import InnerTrackingTrigSequence
11 from AthenaCommon.Logging
import logging
12 log = logging.getLogger(__name__)
17 tag =
'_ion' if ion
is True else ''
18 signatureName =
'electronLRT' if variant
else 'electron'
21 verifier = CompFactory.AthViews.ViewDataVerifier( name =
'VDVInDetPrecision'+variant + tag,
22 DataObjects= {(
'TrigRoiDescriptorCollection' ,
'StoreGateSvc+%s' % RoIs ),
23 (
'SG::AuxElement' ,
'StoreGateSvc+EventInfo.averageInteractionsPerCrossing' ),
24 (
'TrackCollection', flags.Tracking.ActiveConfig.trkTracks_FTF )} )
26 acc.addEventAlgo(verifier)
27 seq = InnerTrackingTrigSequence.create(flags,
28 flags.Tracking.ActiveConfig.input_name,
30 inView = verifier.getName())
31 acc.merge(seq.sequenceAfterPattern())