ATLAS Offline Software
NrpcCablingData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 std::ostream& operator<<(std::ostream& ostr, const NrpcCablingOfflineID& obj) {
8  ostr << "StationIndex: " << static_cast<int>(obj.stationIndex)
9  << " eta: " << static_cast<int>(obj.eta)
10  << " phi: " << static_cast<int>(obj.phi)
11  << " doubletR: " << static_cast<int>(obj.doubletR)
12  << " doubletPhi: " << static_cast<int>(obj.doubletPhi)
13  << " doubletZ: " << static_cast<int>(obj.doubletZ)
14  << " gasGap: " << static_cast<int>(obj.gasGap)
15  << " measPhi: " << static_cast<int>(obj.measuresPhi())
16  << " stripSide: "<<static_cast<int>(obj.stripSide());
17  return ostr;
18 }
19 std::ostream& operator<<(std::ostream& ostr, const NrpcCablingOnlineID& obj) {
20  ostr << " subDetector: " << static_cast<int>(obj.subDetector);
21  ostr << " tdcSector: " << static_cast<int>(obj.tdcSector);
22  ostr << " tdc: " << static_cast<int>(obj.tdc);
23  return ostr;
24 }
25 std::ostream& operator<<(std::ostream& ostr, const NrpcCablingData& obj) {
26  ostr << static_cast<const NrpcCablingOfflineID&>(obj);
27  ostr << " strip: " << static_cast<int>(obj.strip) << " --- ";
28  ostr << static_cast<const NrpcCablingOnlineID&>(obj);
29  ostr << " channelId: " << static_cast<int>(obj.channelId);
30  return ostr;
31 }
32 
33 std::ostream& operator<<(std::ostream& ostr, const NrpcTdcStripRange& obj){
34  ostr<<" firstStrip: "<<static_cast<int>(obj.firstStrip)
35  <<" lastStrip: "<<static_cast<int>(obj.lastStrip);
36  return ostr;
37 }
38 std::ostream& operator<<(std::ostream& ostr, const NrpcTdcChannelRange& obj){
39  ostr<<" first channel: "<<static_cast<int>(obj.firstChannel)
40  <<" last channel: "<<static_cast<int>(obj.lastChannel);
41  return ostr;
42 }
43 std::ostream& operator<<(std::ostream& ostr, const NrpcCablingCoolData& obj){
44  ostr << static_cast<const NrpcCablingOfflineID&>(obj);
45  ostr << static_cast<const NrpcTdcStripRange&>(obj)<< " --- ";
46  ostr << static_cast<const NrpcCablingOnlineID&>(obj);
47  ostr << static_cast<const NrpcTdcChannelRange&>(obj);
48  return ostr;
49 
50 }
51 std::ostream& operator<<(std::ostream& ostr, const NrpcCablOnDataByTdc& obj){
52  ostr << static_cast<const NrpcCablingOnlineID&>(obj);
53  ostr << static_cast<const NrpcTdcStripRange&>(obj);
54  ostr << static_cast<const NrpcTdcChannelRange&>(obj);
55  return ostr;
56 }
57 std::ostream& operator<<(std::ostream& ostr, const NrpcCablOnDataByStrip& obj){
58  ostr << static_cast<const NrpcCablingOnlineID&>(obj);
59  ostr << static_cast<const NrpcTdcStripRange&>(obj);
60  ostr << static_cast<const NrpcTdcChannelRange&>(obj);
61  return ostr;
62 }
63 
NrpcCablOnDataByTdc
Struct to build the online -> offline map.
Definition: NrpcCablingData.h:162
NrpcCablingOfflineID
Representation of the offline Identifier in a more tangible format.
Definition: NrpcCablingData.h:34
operator<<
std::ostream & operator<<(std::ostream &ostr, const NrpcCablingOfflineID &obj)
Outstream operators.
Definition: NrpcCablingData.cxx:7
NrpcCablingCoolData
Struct to represent all cabling information coming from the cabling database per channel.
Definition: NrpcCablingData.h:140
NrpcCablingData
Cabling information shipped around the Digi <-> Rdo conversions.
Definition: NrpcCablingData.h:121
NrpcCablingData.h
NrpcTdcStripRange
Depending on whether the cabling map shall convert offline -> online or online -> offline extra infor...
Definition: NrpcCablingData.h:95
NrpcTdcChannelRange
Covered channels by the Online Identifier Object.
Definition: NrpcCablingData.h:108
NrpcCablOnDataByStrip
Struct to build the offline -> online map.
Definition: NrpcCablingData.h:146
NrpcCablingOnlineID
Struct summarizing all the Identifier fields to uniquely Identify a Nrpc TDC chip.
Definition: NrpcCablingData.h:74
python.PyAthena.obj
obj
Definition: PyAthena.py:132