ATLAS Offline Software
Loading...
Searching...
No Matches
RDOindex.cxx File Reference
#include "RPC_CondCabling/RDOindex.h"
#include <iomanip>
#include "MuonCablingTools/RPCdecoder.h"
Include dependency graph for RDOindex.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const RDOindex &rdo)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & stream,
const RDOindex & rdo )

Definition at line 92 of file RDOindex.cxx.

92 {
93 std::stringstream tmp_stream;
94
95 int name;
96 int eta;
97 int phi;
98 int doublet_r;
99 int doublet_z;
100 int doublet_phi;
101 int gas_gap;
102 int measures_phi;
103 int strip;
104
105 rdo.offline_indexes(name, eta, phi, doublet_r, doublet_z, doublet_phi, gas_gap, measures_phi, strip);
106
107 tmp_stream << "RPC PAD /" << std::hex << std::showbase << rdo.side() << "/" << rdo.SLid() << "/" << rdo.PADid()
108 << " mapped on offline Id /" << std::dec << name << "/" << eta << "/" << phi << "/" << doublet_r << "/" << doublet_z << "/"
109 << doublet_phi << "/" << gas_gap << "/" << measures_phi << "/" << strip << " .... hashId = " << rdo.hash() << std::endl;
110
111 stream << tmp_stream.str();
112
113 return stream;
114}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
unsigned short int SLid(void) const
Definition RDOindex.h:129
void offline_indexes(int &name, int &eta, int &phi, int &doublet_r, int &doublet_z, int &doublet_phi, int &gas_gap, int &measures_phi, int &strip) const
Definition RDOindex.cxx:52
unsigned int hash(void) const
Definition RDOindex.h:142
unsigned short int side(void) const
Definition RDOindex.h:127
unsigned short int PADid(void) const
Definition RDOindex.h:131