ATLAS Offline Software
|
TGC_CondCabling package contains a class (TGCCablingDbTool) to retrieve TGC cabling map database from COOL.
This package has been created to retrieve the TGC cabling map database in COOL. The database describes wrong cabling connections between ASD and Patch Panel (PP). The database was MuonSpectrometer/MuonCablings/TGCcabling12/share/ASD2PP_diff_12.db. However, the wrong cabling connections are time-dependent and we moved the file to the COOL database.
There are no found wrong connections as of August 30, 2009.
TGCCablingDbTool retrieves the TGC wrong connection map from the COOL database by the loadASD2PP_DIFF_12 method with Interval of Validity (IoV =Run*2^32+LumiBlock). This loadASD2PP_DIFF_12 method is called by MuonSpectrometer/MuonCablings/MuonTGC_Cabling/src/MuonTGC_CablingSvc.cxx as call-back.
The giveASD2PP_DIFF_12 method provides the wrong connection map to the client, MuonTGC_CablingSvc, as std::vector<std::string>*.
The getFolderName method provides the folder name, /TGC/CABLING/MAP_SCHEMA, to the client. The folder name is required for call-back.
The readASD2PP_DIFF_12FromText method reads the wrong connections from user InstallArea/share/ or MuonSpectrometer/MuonCablings/TGCcabling12/share/ASD2PP_diff_12.db. The file name is defined in
This method is used for debug and test.
The current tags are ideal cabling connections without wrong connections. We will keep the map database ideal for simulation. We will update the map database for real data. The following is the update prodedure.
You need to prepare an updated database text file. The format is shown above. The database is written with OnlineID and the Sector ID starts from 0 (sector 01 phi0) and ends at 47 (sector 12 phi3).
Susumu Oda and Hisaya Kurashige will take care of this.
You need to install the updated database text file in your $TestArea/InstallArea/share with the name defined in the readASD2PP_DIFF_12FromText method. You need to check out the appropriate TGC_CondCabling tag and change the constructor of TGCCablingDbTool from
to
to use the readASD2PP_DIFF_12FromText method through the loadASD2PP_DIFF_12 method. Then, you need to compile the TGC_CondCabling package.
Susumu Oda and Hisaya Kurashige will take care of this.
Monica Verducci will insert the new database into INTR server.
You need to add the following lines to your jobOptions:
The tag is required to be correctly configured.
You also need to have authentication.xml file in your current (run) directory:
David Front will insert the new database into the ATONR server, will set the appropriate IoV range and will name the leaf tag (TgcCablingMapschema-YYYYMMDD-ASD2PPONL).
Paul Laycock and Richard Hawkings will associate the leaf tag of the new TGC cabling map database to all relevant global tags (COMCOND-*). The global tags are described in https://twiki.cern.ch/twiki/bin/view/Atlas/CoolProdTags The official authentication.xml file will be updated automatically.
It is better to associate the leaf tag to a global tag and test the database with the global tag first. If there is no problem, then you ask Paul and Richard to associate the leaf tag to other global tags.