Skip to content
Snippets Groups Projects
Commit b31bcb29 authored by Carlo Varni's avatar Carlo Varni Committed by Walter Lampl
Browse files

Fast tracking ci for acts

Fast tracking ci for acts
parent e0aeb036
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,10 @@ atlas_add_citest( ACTS_Workflow
SCRIPT ActsWorkflow.sh
LOG_IGNORE_PATTERN "ActsTrackFindingAlg.*ERROR Propagation reached the step count limit|ActsTrackFindingAlg.*ERROR Propagation failed: PropagatorError:3 Propagation reached the configured maximum number of steps with the initial parameters|ActsTrackFindingAlg.*ERROR CombinatorialKalmanFilter failed: CombinatorialKalmanFilterError:5 Propagation reaches max steps before track finding is finished with the initial parameters" )
atlas_add_citest( ACTS_Workflow_FastTracking
SCRIPT ActsWorkflowFastTracking.sh
LOG_IGNORE_PATTERN "ActsTrackFindingAlg.*ERROR Propagation reached the step count limit|ActsTrackFindingAlg.*ERROR Propagation failed: PropagatorError:3 Propagation reached the configured maximum number of steps with the initial parameters|ActsTrackFindingAlg.*ERROR CombinatorialKalmanFilter failed: CombinatorialKalmanFilterError:5 Propagation reaches max steps before track finding is finished with the initial parameters" )
atlas_add_citest( Acts_ConversionWorkflow
SCRIPT ActsConversionWorkflow.sh
LOG_IGNORE_PATTERN "ActsTrackFindingAlg.*ERROR Propagation reached the step count limit|ActsTrackFindingAlg.*ERROR Propagation failed: PropagatorError:3 Propagation reached the configured maximum number of steps with the initial parameters|ActsTrackFindingAlg.*ERROR CombinatorialKalmanFilter failed: CombinatorialKalmanFilterError:5 Propagation reaches max steps before track finding is finished with the initial parameters" )
......
......@@ -129,7 +129,7 @@ def ITkTrackingSiPatternCfg(flags,
# ------------------------------------------------------------
runTruth = True
if flags.Tracking.doITkFastTracking:
if flags.Tracking.doITkFastTracking and flags.Tracking.ActiveConfig.doAthenaTrack:
from TrkConfig.TrkCollectionAliasAlgConfig import CopyAlgForAmbiCfg
acc.merge(CopyAlgForAmbiCfg(
......
......@@ -132,7 +132,11 @@ def ActsTrackFindingCfg(flags) -> ComponentAccumulator:
# Acts Main pass
if flags.Tracking.ActiveConfig.extension == "Acts":
acc.merge(ActsMainTrackFindingAlgCfg(flags,
SeedLabels = isdet(flags, ["PPP"], ["SSS"]) if not flags.Tracking.doITkFastTracking else ["PPP"],
EstimatedTrackParametersKeys = isdet(flags, ["ITkPixelEstimatedTrackParams"], ["ITkStripEstimatedTrackParams"]) if not flags.Tracking.doITkFastTracking else ["ITkPixelEstimatedTrackParams"],
SeedContainerKeys = isdet(flags, ["ITkPixelSeeds"], ["ITkStripSeeds"]) if not flags.Tracking.doITkFastTracking else ["ITkPixelSeeds"],
UncalibratedMeasurementContainerKeys = ["ITkPixelClusters_InView", "ITkStripClusters_InView"] if flags.Acts.useCache else ["ITkPixelClusters", "ITkStripClusters"]))
# Acts Conversion pass
elif flags.Tracking.ActiveConfig.extension == "ActsConversion":
......
......@@ -49,7 +49,7 @@ def StripClusterToTruthAssociationCfg(flags, name: str = 'StripClusterToTruthAss
def TrackToTruthAssociationCfg(flags, name: str = 'ActsTracksToTruthAssociationAlg', **kwargs) :
acc = ComponentAccumulator()
acc.merge( MapToInDetSimDataWrapCfg(flags, 'ITkStripSDO_Map') )
kwargs.setdefault('ACTSTracksLocation','SiSPSeededActsTrackContainer')
kwargs.setdefault('ACTSTracksLocation','ActsTracks')
kwargs.setdefault('PixelClustersToTruthAssociationMap','ITkPixelClustersToTruthParticles')
kwargs.setdefault('StripClustersToTruthAssociationMap','ITkStripClustersToTruthParticles')
kwargs.setdefault('AssociationMapOut','ActsTracksToTruthParticles')
......
#!/usr/bin/bash
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# ttbar mu=200 input
input_rdo=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/RDO/ATLAS-P2-RUN4-03-00-00/mc21_14TeV.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.recon.RDO.e8481_s4149_r14700/RDO.33629020._000047.pool.root.1
n_events=1
ignore_pattern="ActsTrackFindingAlg.+ERROR.+Propagation.+reached.+the.+step.+count.+limit,ActsTrackFindingAlg.+ERROR.+Propagation.+failed:.+PropagatorError:3.+Propagation.+reached.+the.+configured.+maximum.+number.+of.+steps.+with.+the.+initial.+parameters,ActsTrackFindingAlg.Acts.+ERROR.+CombinatorialKalmanFilter.+failed:.+CombinatorialKalmanFilterError:5.+Propagation.+reaches.+max.+steps.+before.+track.+finding.+is.+finished.+with.+the.+initial.+parameters"
Reco_tf.py --CA \
--preExec "flags.Exec.FPE=500;" "flags.Tracking.doITkFastTracking=True;" \
--preInclude "InDetConfig.ConfigurationHelpers.OnlyTrackingPreInclude,ActsConfig.ActsCIFlags.actsWorkflowFlags" \
--ignorePatterns "${ignore_pattern}" \
--inputRDOFile ${input_rdo} \
--outputAODFile AOD.pool.root \
--outputESDFile ESD.pool.root \
--maxEvents ${n_events}
......@@ -88,7 +88,7 @@ namespace ActsTrk
SG::ReadHandleKeyArray<xAOD::UncalibratedMeasurementContainer> m_uncalibratedMeasurementContainerKeys{this, "UncalibratedMeasurementContainerKeys", {}, "input cluster collections"};
SG::ReadCondHandleKeyArray<InDetDD::SiDetectorElementCollection> m_detEleCollKeys{this, "DetectorElementCollectionKeys", {}, "input SiDetectorElementCollection"};
SG::WriteHandleKey<ActsTrk::TrackContainer> m_trackContainerKey{this, "ACTSTracksLocation", "SiSPSeededActsTrackContainer", "Output track collection (ActsTrk variant)"};
SG::WriteHandleKey<ActsTrk::TrackContainer> m_trackContainerKey{this, "ACTSTracksLocation", "", "Output track collection (ActsTrk variant)"};
ActsTrk::MutableTrackContainerHandlesHelper m_tracksBackendHandlesHelper;
// Configuration
......
......@@ -69,7 +69,7 @@ namespace ActsTrk
{this, "ExtrapolationTool", "ActsExtrapolationTool"};
SG::ReadHandleKey<ActsTrk::TrackContainer> m_tracksContainerKey
{this, "ACTSTracksLocation", "SiSPSeededActsTrackContainer","Track collection (ActsTrk variant)"};
{this, "ACTSTracksLocation", "","Track collection (ActsTrk variant)"};
SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey
{this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot or empty." };
SG::ReadCondHandleKey<AtlasFieldCacheCondObj> m_fieldCacheCondObjInputKey
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment