Go to the source code of this file.
◆ ZdcModuleToString() [1/2]
Definition at line 9 of file ZdcModuleToString.cxx.
10{
11 std::stringstream o;
12 o <<
" ID=" << zm.
zdcId();
13 o <<
" S/M/T/C=" << zm.
zdcSide();
17 o << "\n";
18 for (auto s : {"g0data","g1data","g0d0data","g0d1data","g1d0data","g1d1data"} )
19 {
21 if (
acc.isAvailable(zm))
22 {
25 for (uint16_t d : v)
26 {
27 o << " " << std::to_string(d);
28 }
29 o << "\n";
30 }
31
32 }
34 if (LucrodTriggerAmpAcc.isAvailable(zm))
35 {
36 o << "Trigger amp:" << LucrodTriggerAmpAcc(zm) << "\n";
37 }
39 if (LucrodTriggerSideAmpAcc.isAvailable(zm))
40 {
41 o << "Trigger side amp:" << LucrodTriggerSideAmpAcc(zm) << "\n";
42 }
43 return o.str();
44}
Helper class to provide constant type-safe access to aux data.
const std::vector< uint16_t > & getWaveform(const std::string &) const
◆ ZdcModuleToString() [2/2]
Definition at line 46 of file ZdcModuleToString.cxx.
47{
48 std::stringstream o;
50 return o.str();
51}
std::string ZdcModuleToString(const xAOD::ZdcModule &zm)