#include <RDOindex.h>
|
| | RDOindex (unsigned int, unsigned int, const RpcIdHelper &helper) |
| | RDOindex (unsigned int, unsigned int, const std::string &, int, int, int, int, int, const RpcIdHelper &helper) |
| | RDOindex (const RDOindex &)=default |
| | ~RDOindex ()=default |
| RDOindex & | operator= (const RDOindex &)=delete |
| | operator bool () const |
| bool | operator! () const |
| void | set_hash (unsigned int h) |
| unsigned short int | ROBid (void) const |
| unsigned short int | RODid (void) const |
| unsigned short int | side (void) const |
| unsigned short int | SLid (void) const |
| unsigned short int | RXid (void) const |
| unsigned short int | PADid (void) const |
| unsigned long int | lvl1_code (void) const |
| int | stationName (void) const |
| int | stationEta (void) const |
| int | stationPhi (void) const |
| int | doubletR (void) const |
| int | doubletZ (void) const |
| int | doubletPhi (void) const |
| unsigned int | hash (void) const |
| bool | status (void) const |
| 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 |
| void | pad_identifier (Identifier &id) const |
Definition at line 85 of file RDOindex.h.
◆ RDOindex() [1/3]
| RDOindex::RDOindex |
( |
unsigned int | PAD, |
|
|
unsigned int | code, |
|
|
const RpcIdHelper & | helper ) |
Definition at line 11 of file RDOindex.cxx.
15{
17}
unsigned long int m_lvl1_code
unsigned short int m_PADid
const RpcIdHelper * m_rpcIdHelper
◆ RDOindex() [2/3]
| RDOindex::RDOindex |
( |
unsigned int | PAD, |
|
|
unsigned int | code, |
|
|
const std::string & | Name, |
|
|
int | sEta, |
|
|
int | sPhi, |
|
|
int | dR, |
|
|
int | dZ, |
|
|
int | dP, |
|
|
const RpcIdHelper & | helper ) |
Definition at line 19 of file RDOindex.cxx.
20 :
21 m_PADid(
static_cast<unsigned short int>(PAD)),
30{
32}
◆ RDOindex() [3/3]
◆ ~RDOindex()
◆ doubletPhi()
| int RDOindex::doubletPhi |
( |
void | | ) |
const |
|
inline |
◆ doubletR()
| int RDOindex::doubletR |
( |
void | | ) |
const |
|
inline |
◆ doubletZ()
| int RDOindex::doubletZ |
( |
void | | ) |
const |
|
inline |
◆ hash()
| unsigned int RDOindex::hash |
( |
void | | ) |
const |
|
inline |
◆ lvl1_code()
| unsigned long int RDOindex::lvl1_code |
( |
void | | ) |
const |
|
inline |
◆ offline_indexes()
| void RDOindex::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 at line 52 of file RDOindex.cxx.
53 {
62 gas_gap = 1;
63 measures_phi = 0;
65 }
66 }
67}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
◆ operator bool()
| RDOindex::operator bool |
( |
| ) |
const |
◆ operator!()
| bool RDOindex::operator! |
( |
| ) |
const |
◆ operator=()
◆ pad_identifier()
| void RDOindex::pad_identifier |
( |
Identifier & | id | ) |
const |
Definition at line 69 of file RDOindex.cxx.
69 {
74 int doublet_r = 0;
75 int doublet_z = 0;
76 int doublet_phi = 0;
77
85 }
86
88 }
89}
◆ PADid()
| unsigned short int RDOindex::PADid |
( |
void | | ) |
const |
|
inline |
◆ ROBid()
| unsigned short int RDOindex::ROBid |
( |
void | | ) |
const |
|
inline |
Definition at line 125 of file RDOindex.h.
unsigned short int m_ROBid
◆ RODid()
| unsigned short int RDOindex::RODid |
( |
void | | ) |
const |
|
inline |
Definition at line 126 of file RDOindex.h.
unsigned short int m_RODid
◆ RXid()
| unsigned short int RDOindex::RXid |
( |
void | | ) |
const |
|
inline |
Definition at line 130 of file RDOindex.h.
unsigned short int m_RXid
◆ set_hash()
| void RDOindex::set_hash |
( |
unsigned int | h | ) |
|
◆ set_indexes()
| void RDOindex::set_indexes |
( |
void | | ) |
|
|
private |
Definition at line 34 of file RDOindex.cxx.
34 {
36 if (decode) {
37 unsigned int sector =
decode.logic_sector();
38 m_RXid = (sector % 32) % 2;
40 m_side = (sector < 32) ? 0x66 : 0x65;
44 }
45}
unsigned short int m_side
unsigned short int m_SLid
double decode(number_type binnedWeight)
Convert weight from unsigned to double.
◆ side()
| unsigned short int RDOindex::side |
( |
void | | ) |
const |
|
inline |
◆ SLid()
| unsigned short int RDOindex::SLid |
( |
void | | ) |
const |
|
inline |
◆ stationEta()
| int RDOindex::stationEta |
( |
void | | ) |
const |
|
inline |
◆ stationName()
| int RDOindex::stationName |
( |
void | | ) |
const |
|
inline |
◆ stationPhi()
| int RDOindex::stationPhi |
( |
void | | ) |
const |
|
inline |
◆ status()
| bool RDOindex::status |
( |
void | | ) |
const |
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const RDOindex & | rdo ) |
|
friend |
Definition at line 92 of file RDOindex.cxx.
92 {
93 std::stringstream tmp_stream;
94
98 int doublet_r;
99 int doublet_z;
100 int doublet_phi;
101 int gas_gap;
102 int measures_phi;
104
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
114}
unsigned short int SLid(void) const
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
unsigned int hash(void) const
unsigned short int side(void) const
unsigned short int PADid(void) const
◆ m_doubletPhi
| int RDOindex::m_doubletPhi {0} |
|
private |
◆ m_doubletR
| int RDOindex::m_doubletR {0} |
|
private |
◆ m_doubletZ
| int RDOindex::m_doubletZ {0} |
|
private |
◆ m_hash
| unsigned int RDOindex::m_hash {0} |
|
private |
◆ m_lvl1_code
| unsigned long int RDOindex::m_lvl1_code {0} |
|
private |
◆ m_PADid
| unsigned short int RDOindex::m_PADid {0} |
|
private |
◆ m_ROBid
| unsigned short int RDOindex::m_ROBid {0} |
|
private |
◆ m_RODid
| unsigned short int RDOindex::m_RODid {0} |
|
private |
◆ m_rpcIdHelper
◆ m_RXid
| unsigned short int RDOindex::m_RXid {0} |
|
private |
◆ m_side
| unsigned short int RDOindex::m_side {0} |
|
private |
◆ m_SLid
| unsigned short int RDOindex::m_SLid {0} |
|
private |
◆ m_stationEta
| int RDOindex::m_stationEta {0} |
|
private |
◆ m_stationName
| int RDOindex::m_stationName {0} |
|
private |
◆ m_stationPhi
| int RDOindex::m_stationPhi {0} |
|
private |
◆ m_status
| bool RDOindex::m_status {false} |
|
private |
The documentation for this class was generated from the following files: