ATLAS Offline Software
Classes | Functions
MdtCablingData.h File Reference
#include <cstdint>
#include <iosfwd>
Include dependency graph for MdtCablingData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MdtCablingOffData
 Split the offline part of the cabling apart to use it later for sorting. More...
 
struct  MdtCablingOnData
 
struct  MdtCablingData
 

Functions

std::ostream & operator<< (std::ostream &ostr, const MdtCablingData &obj)
 
std::ostream & operator<< (std::ostream &ostr, const MdtCablingOffData &obj)
 
std::ostream & operator<< (std::ostream &ostr, const MdtCablingOnData &obj)
 

Function Documentation

◆ operator<<() [1/3]

std::ostream& operator<< ( std::ostream &  ostr,
const MdtCablingData obj 
)

Definition at line 23 of file MdtCablingData.cxx.

23  {
24  ostr << static_cast<const MdtCablingOffData&>(obj) << ", ";
25  ostr << "layer: " << static_cast<int>(obj.layer) << ", ";
26  ostr << "tube: " << static_cast<int>(obj.tube) << " ---- ";
27  ostr << static_cast<const MdtCablingOnData&>(obj) << ", ";
28  ostr << "tdc: " << static_cast<int>(obj.tdcId) << ", ";
29  ostr << "mezzType: " << static_cast<int>(obj.mezzanine_type) << ", ";
30  ostr << "tdcChannel: " << static_cast<int>(obj.channelId);
31  return ostr;
32 }

◆ operator<<() [2/3]

std::ostream& operator<< ( std::ostream &  ostr,
const MdtCablingOffData obj 
)

Definition at line 8 of file MdtCablingData.cxx.

8  {
9  auto fill = ostr.fill();
10  ostr << "stationIndex: " << std::setw(2)<<std::setfill('0')
11  << static_cast<int>(obj.stationIndex) << ", ";
12  ostr << "eta: " << std::setw(2) << static_cast<int>(obj.eta) << ", ";
13  ostr << "phi: " << static_cast<int>(obj.phi) << ", ";
14  ostr << "multilayer: " << static_cast<int>(obj.multilayer)<<std::setfill(fill);
15  return ostr;
16 }

◆ operator<<() [3/3]

std::ostream& operator<< ( std::ostream &  ostr,
const MdtCablingOnData obj 
)

Definition at line 17 of file MdtCablingData.cxx.

17  {
18  ostr << " subdetId: " << static_cast<int>(obj.subdetectorId) << ", ";
19  ostr << " mrod: " << static_cast<int>(obj.mrod) << ", ";
20  ostr << " csm: " << static_cast<int>(obj.csm);
21  return ostr;
22 }
lumiFormat.fill
fill
Definition: lumiFormat.py:111
python.PyAthena.obj
obj
Definition: PyAthena.py:135