Skip to content

Nsw as built parameters - Update data flow

Johannes Junggeburth requested to merge jojungge/athena:NswAsBuilt into 23.0

NswAsBuilt: Actually, this class is nothing else than the payload of the JSON database crossed with some functionality of the std::optional. The actual processing of the payload happens in the MuonDetectorManager by creating the NswAsBuilt-strip calculators. Further, the MuonDetectorManager provides the functionality to read in an external as-built JSON file for validation. What a 🐇 hole. The creation of the Nsw-asbuilt strip calculators is now performed by the NswAsBuiltCondAlg. The pointers are cached in the NswAsBuiltDbData object and then retrieved by the MuonDetectorManagerCondAlg. All configuration options of the nsw-asbuilt attached to the MuonDetectorTool & MuonDetectorManager are removed and moved to the corresponding conditions algorithm.

Tagging: @stsigari, @sangelid, @pscholer

The as-built can now be overwritten via

Reco_tf.py --CA \
   --AMI f1350  \
   --inputBSFile="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CampaignInputs/data23/RAW/data23_13p6TeV.00452463.physics_Main.daq.RAW/540events.data23_13p6TeV.00452463.physics_Main.daq.RAW._lb0514._SFO-16._0004.data" \
  --outputAODFile="AOD.pool.root" \
  --outputDESDM_MCPFile="myDESDM_MCP.pool.root" \
  --imf False \
  --postExec 'all:cfg.getCondAlgo("NswAsBuiltCondAlg").MicroMegaJSON="KetchupMM.json";cfg.getCondAlgo("NswAsBuiltCondAlg").sTgcJSON="MayonaiseSTGC.json"'
Edited by Johannes Junggeburth

Merge request reports