generate_mdt_mapping.py -- a script to generate the MDT channel mapping for HV, LV, JTAG from the COOL database.
from:
BEE1A02__HV <=> X
BEE1A02__LV <=> Y
BEE1A02__JTAG <=> Z
to:
X Y Z BEE1A02 302
https://svnweb.cern.ch/trac/atlasoff/browser/DataQuality/DQUtils/tags/DQUtils-00-01-04/python/db.py
https://svnweb.cern.ch/trac/atlasoff/browser/DataQuality/DQUtils/tags/DQUtils-00-01-04/python/channel_mapping.py
Run like:
[afs] asetup 20.1.4.7,here
[afs] python generate_mdt_mapping.py > mdt_codes.dat
Two exceptions, thanks to George Iakovidis and Stephanie Zimmerman:
* BOG0B12, BOG0B14 are associated to BOG0A12, BOG0A14 because they are located at z=0.
* BME5A13, BME5C13 share the same HV, LV with BME4A13, BME4C13 respectively (bigger chambers with 2xCSM)
Alex Tuna <tuna@cern>