Skip to content

Add Run-3 version of the dumpHLTContentInBS script

Rafal Bielski requested to merge rbielski/athena:trigbs-dumptHLT into master

Adding Run-3 version of the script trigbs_dumpHLTContentInBS.py called trigbs_dumpHLTContentInBS_run3.py.

Jira: ATR-20124

The basic functionality of the Run-2 version is re-implemented with more modern code (this part works on both Run-2 and Run-3 data). In addition, printing information about EDM collections in Run-3 HLT result is implemented by making use of StringSerializer python binding and re-implementing some logic from the C++ TriggerEDMDeserialiserAlg. This part is completely different from the Run-2 version, because the structure of the BS HLT result is completely different, and it does not work on Run-2 data files.

Trigger Config related and navigation-traversing options are not re-implemented for now. Maybe something to do later, or not at all.

Example output

Examples based on output produced by running athenaHLT with MTCalibPeb.py job options

Per event
==================== Event: 13, RunNumber: 327265, LB:  100, Global_ID:  187152789, LVL1_ID: 4093833196, BC_ID: 3282, TT: x84 ====================
L1 CTP IDs - TBP: [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 23, 29, 30, 45, 47, 48, 49, 50, 51, 56, 68, 77, 80, 82, 86, 91, 92, 93, 94, 138, 143, 152, 153, 154, 155, 157, 158, 160, 200, 203, 205, 207, 222, 241, 242, 277, 279, 281, 286, 293, 294, 295, 322, 344, 374, 375, 376, 380, 384, 390, 392, 402, 407, 409, 410, 418, 423, 424, 501, 506]
L1 CTP IDs - TAP: [3, 8, 10, 11, 48, 49, 50, 51, 56, 77, 80, 82, 86, 91, 138, 143, 152, 153, 157, 158, 160, 203, 222, 241, 242, 277, 279, 281, 286, 293, 294, 295, 322, 344, 374, 375, 376, 380, 384, 390, 392, 402, 407, 409, 410, 418, 423, 424, 501, 506]
L1 CTP IDs - TAV: [11, 295, 392, 402]
EF passed chain IDs: [3]
Stream Tags: ['physics_Main']
Found 1 HLT ROBs
-- ROBFragment SourceID: TDAQ_HLT, module=0 (opt=0), Size: 1508 bytes
---- xAOD::TrigCompositeContainer#MTCalibPebDecisions_HypoAlg1, Size: 184 bytes
---- xAOD::TrigCompositeAuxContainer#MTCalibPebDecisions_HypoAlg1Aux., Size: 320 bytes
---- xAOD::TrigCompositeContainer#ExampleCollection1, Size: 172 bytes
---- xAOD::TrigCompositeAuxContainer#ExampleCollection1Aux., Size: 288 bytes
---- xAOD::TrigCompositeContainer#ExampleCollection2, Size: 172 bytes
---- xAOD::TrigCompositeAuxContainer#ExampleCollection2Aux., Size: 288 bytes
==================== Event: 14, RunNumber: 327265, LB:  100, Global_ID:  187117655, LVL1_ID: 4093798062, BC_ID: 1020, TT: x84 ====================
L1 CTP IDs - TBP: [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 23, 24, 25, 27, 29, 30, 31, 45, 47, 48, 49, 50, 51, 53, 54, 55, 56, 58, 59, 60, 61, 62, 68, 70, 76, 82, 86, 91, 92, 93, 94, 95, 96, 97, 98, 99, 137, 138, 143, 157, 158, 159, 160, 200, 203, 205, 207, 222, 241, 242, 260, 261, 281, 286, 295, 333, 334, 345, 346, 347, 348, 350, 353, 357, 374, 375, 376, 380, 384, 387, 390, 392, 395, 402, 407, 409, 410, 417, 418, 423, 424, 458, 501, 502, 503, 506, 507]
L1 CTP IDs - TAP: [3, 8, 10, 11, 25, 48, 49, 50, 51, 55, 56, 59, 61, 62, 70, 76, 82, 86, 91, 138, 143, 157, 158, 159, 160, 203, 222, 241, 242, 260, 261, 281, 286, 295, 346, 350, 353, 357, 374, 375, 376, 380, 384, 387, 390, 392, 395, 402, 407, 409, 410, 417, 418, 423, 424, 458, 501, 502, 503, 506, 507]
L1 CTP IDs - TAV: [11, 55, 61, 62, 70, 76, 295, 346, 350, 392, 402, 458]
EF passed chain IDs: [11]
Stream Tags: ['physics_ExampleDataScoutingPEB']
Found 1 HLT ROBs
-- ROBFragment SourceID: TDAQ_HLT, module=1 (opt=0), Size: 1364 bytes
---- xAOD::TrigCompositeContainer#ExampleCollection1, Size: 172 bytes
---- xAOD::TrigCompositeAuxContainer#ExampleCollection1Aux., Size: 404 bytes
---- xAOD::TrigCompositeContainer#ExampleCollection2, Size: 172 bytes
---- xAOD::TrigCompositeAuxContainer#ExampleCollection2Aux., Size: 372 bytes
------ std::vector<std::vector<float> >#ExampleCollection2Aux.floatVec_1, Size: 160 bytes
Total size summary
====================
Size summary:
====================
-- TDAQ_HLT module 0 total size 19908 bytes, 865.565 bytes/event
---- xAOD::TrigCompositeAuxContainer#ExampleCollection2Aux.                    3244 B      141.043 B/ev
---- xAOD::TrigCompositeAuxContainer#ExampleCollection1Aux.                    3216 B      139.826 B/ev
---- xAOD::TrigCompositeAuxContainer#MTCalibPebDecisions_HypoAlg1Aux.          3200 B      139.130 B/ev
---- xAOD::TrigCompositeContainer#MTCalibPebDecisions_HypoAlg1                 1840 B       80.000 B/ev
---- xAOD::TrigCompositeContainer#ExampleCollection2                           1720 B       74.783 B/ev
---- xAOD::TrigCompositeContainer#ExampleCollection1                           1720 B       74.783 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_2          876 B       38.087 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_1          872 B       37.913 B/ev
---- std::vector<std::vector<float> >#ExampleCollection2Aux.floatVec_1          872 B       37.913 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_3          672 B       29.217 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_4          428 B       18.609 B/ev
---- std::vector<std::vector<float> >#ExampleCollection2Aux.floatVec_2          408 B       17.739 B/ev
-- TDAQ_HLT module 1 total size 13088 bytes, 569.043 bytes/event
---- xAOD::TrigCompositeAuxContainer#ExampleCollection1Aux.                    2880 B      125.217 B/ev
---- xAOD::TrigCompositeAuxContainer#ExampleCollection2Aux.                    2724 B      118.435 B/ev
---- xAOD::TrigCompositeContainer#ExampleCollection2                           1376 B       59.826 B/ev
---- xAOD::TrigCompositeContainer#ExampleCollection1                           1376 B       59.826 B/ev
---- std::vector<std::vector<float> >#ExampleCollection2Aux.floatVec_1          860 B       37.391 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_2          784 B       34.087 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_1          772 B       33.565 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_3          620 B       26.957 B/ev
---- std::vector<std::vector<float> >#ExampleCollection1Aux.floatVec_4          592 B       25.739 B/ev
---- std::vector<std::vector<float> >#ExampleCollection2Aux.floatVec_2          432 B       18.783 B/ev

cc @fwinkl, @wiedenma, @cyildiz, @tbold

Merge request reports