Skip to content

Introduce the MuonCondDump package

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

Introduce the MuonCondDump package containing the algorithms that dump conditions data into a JSON file.

MdtCalibFormatAlgTest: Move class from MuonCondAlg into the MuonCondTest package

MdtCablMezzAlg: This algorithm dumps the Mdt cabling data folders into a JSON file. The class existed in MuonCondTest before and is now moved into this package. It's also renamed to MdtCablingJsonDumpAlg.

MuonABLineJsonDumpAlg: The algorithm reads a given alignment tag from COOL and dumps it to a JSON file. It can be executed via

python -m MuonCondDump.DumpABLines

The format of each channel has been already defined by @cheidegg quite some time ago and is as follows:

 {
     "typ": "BIL",
     "jzz": -6, 
     "jff": 1, 
     "job": 0, 
     "svalue": -1.588, 
     "zvalue": 5.473, 
     "tvalue": -0.414, 
     "tsv": -0.001701, 
     "tzv": -0.000699, 
     "ttv": -0.003056,
     "bz": -0.002,
     "bp": 0.05871,
     "bn": 0.02277,
     "sp": 0.00456,
     "sn": -0.00356,
     "tw": 0.03406,
     "pg": -0.05979,
     "tr": -0.02044,
     "eg": 0.065541,
     "ep": 0.021836,
     "en": -0.000181,
     "xAtlas": 0 ,
     "yAtlas": 0 ,
     "hwElement": "BIL6C1"
    },

Then the current file can be loaded either in a data or simulation job 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";cfg.getCondAlgo("MuonAlignmentCondAlg").readFromJSON="ForkLiftDrivingIsFun.json"'

Tagging @sgotz, @pscholer, @apsallid

Edited by Johannes Junggeburth

Merge request reports