|
ATLAS Offline Software
|
#include <RPCchamber.h>
|
| RPCchamber (const RPCchamber::chamberParameters ¶ms) |
| Helper struct to reduce the number of arguments in the constructor. More...
|
|
| RPCchamber (const RPCchamber &)=default |
|
virtual | ~RPCchamber () |
|
RPCchamber & | operator= (const RPCchamber &)=default |
|
void | set_eta_st_global (int) |
|
void | set_eta_co_global (int) |
|
int | eta_strips () const |
|
int | eta_connectors () const |
|
int | eta_strip_global () const |
|
int | eta_conn_global () const |
|
int | phi_strips () const |
|
int | phi_connectors () const |
|
int | ijk_etaReadout () const |
|
int | ijk_phiReadout () const |
|
const std::string & | chamber_name () const |
|
std::string | stationName () const |
|
int | stationEta () const |
|
int | doubletR () const |
|
int | doubletZ () const |
|
int | phiReadoutPannels () const |
|
int | strips_in_Eta_Conn () const |
|
int | strips_in_Phi_Conn () const |
|
const ReadoutCh & | eta_read_mul () const |
|
const CMAlist & | readoutCMAs () const |
|
const WORlist & | readoutWORs () const |
|
std::string | extendedName (int) const |
|
bool | inversion (int) const |
|
bool | local_strip (ViewType, int, int &) const |
|
bool | global_strip (ViewType, HalfType, int, int &) const |
|
bool | local_connector (ViewType, int, int &, int &, int &) const |
|
bool | global_connector (ViewType, HalfType, int, int &, int &, int &) const |
|
bool | Gstrip_2_Lnumber (ViewType, int, int &) const |
|
bool | Gconn_2_Lnumber (ViewType, int, int &, int &) const |
|
void | Print (std::ostream &, bool) const |
|
bool | check () |
|
bool | setup (SectorLogicSetup &) |
|
void | add_cma (const EtaCMA *) |
|
void | add_wor (const WiredOR *) |
|
void | add_eta_channel (int) |
|
int | number () const |
|
int | station () const |
|
int | sector_type () const |
|
std::string | error_header () const |
|
std::string | no_connection_error (const std::string &, int) const |
|
ObjectType | tag () const |
|
const std::string & | name () const |
|
Definition at line 23 of file RPCchamber.h.
◆ CMAlist
◆ ReadoutCh
◆ WORlist
◆ RPCchamber() [1/2]
Helper struct to reduce the number of arguments in the constructor.
Definition at line 16 of file RPCchamber.cxx.
◆ RPCchamber() [2/2]
◆ ~RPCchamber()
RPCchamber::~RPCchamber |
( |
| ) |
|
|
virtualdefault |
◆ add_cma()
◆ add_eta_channel()
void RPCchamber::add_eta_channel |
( |
int |
channel | ) |
|
◆ add_wor()
◆ chamber_name()
const std::string & RPCchamber::chamber_name |
( |
| ) |
const |
◆ check()
bool RPCchamber::check |
( |
| ) |
|
Definition at line 68 of file RPCchamber.cxx.
71 <<
error(
"==> No readout coverage for this chamber!");
75 RPCchamber::CMAlist::const_iterator cma =
m_readoutCMAs.begin();
82 <<
error(
"==> No readout coverage for the full set of ETA strip!");
87 <<
error(
"==> Pivot plane ETA strips must be read only once!");
92 <<
error(
"==> Confirm plane ETA strips can be read only twice!");
99 <<
error(
"==> Gives input to more than 1 Wired OR pannel!");
◆ doubletR()
int RPCchamber::doubletR |
( |
| ) |
const |
◆ doubletZ()
int RPCchamber::doubletZ |
( |
| ) |
const |
◆ error()
std::string RPCchamber::error |
( |
const std::string & |
mess | ) |
const |
|
private |
Definition at line 105 of file RPCchamber.cxx.
106 std::ostringstream disp;
108 << mess << std::endl << *
this;
◆ error_header()
std::string CablingObject::error_header |
( |
| ) |
const |
|
inherited |
Definition at line 22 of file CablingObject.cxx.
23 std::ostringstream disp;
26 disp <<
":" << std::endl;
◆ eta_conn_global()
int RPCchamber::eta_conn_global |
( |
| ) |
const |
◆ eta_connectors()
int RPCchamber::eta_connectors |
( |
| ) |
const |
◆ eta_read_mul()
◆ eta_strip_global()
int RPCchamber::eta_strip_global |
( |
| ) |
const |
◆ eta_strips()
int RPCchamber::eta_strips |
( |
| ) |
const |
◆ extendedName()
std::string RPCchamber::extendedName |
( |
int |
sector | ) |
const |
Definition at line 299 of file RPCchamber.cxx.
309 case 'L':
sd = (sector % 2) ?
"HV" :
"RO";
break;
311 case 'E':
sd = (sector % 2) ?
"HV" :
"RO";
break;
313 case 'R':
sd = (sector % 2) ?
"HV" :
"RO";
break;
315 case 'M':
sd = (sector % 2) ?
"HV" :
"RO";
break;
317 case 'S':
sd = (sector % 2) ?
"RO" :
"HV";
break;
319 case 'F':
sd = (sector % 2) ?
"RO" :
"HV";
break;
321 case 'G':
sd = (sector % 2) ?
"RO" :
"HV";
break;
326 std::ostringstream
out;
328 int physicsSector = (((sector + 1) % 32) / 2 + 1) % 16;
329 if (!physicsSector) physicsSector = 16;
◆ Gconn_2_Lnumber()
bool RPCchamber::Gconn_2_Lnumber |
( |
ViewType |
side, |
|
|
int |
global_address, |
|
|
int & |
local_address, |
|
|
int & |
strip_number |
|
) |
| const |
Definition at line 223 of file RPCchamber.cxx.
234 if (local_address <= m_params.etaConnectors - 1 && local_address >= 0) {
241 if (
side ==
Phi) {
return false; }
◆ global_connector()
bool RPCchamber::global_connector |
( |
ViewType |
side, |
|
|
HalfType |
h_barrel, |
|
|
int |
strip_number, |
|
|
int & |
global_address, |
|
|
int & |
left_strips, |
|
|
int & |
right_strips |
|
) |
| const |
Definition at line 188 of file RPCchamber.cxx.
195 if (h_barrel ==
Negative) global_address = -global_address;
197 if (h_barrel ==
Negative && global_address > 0)
return false;
198 if (h_barrel ==
Positive && global_address < 0)
return false;
202 if (
side ==
Phi) {
return false; }
◆ global_strip()
bool RPCchamber::global_strip |
( |
ViewType |
side, |
|
|
HalfType |
h_barrel, |
|
|
int |
strip_number, |
|
|
int & |
global_address |
|
) |
| const |
Definition at line 133 of file RPCchamber.cxx.
139 if (h_barrel ==
Negative) global_address = -global_address;
141 if (h_barrel ==
Negative && global_address > 0)
return false;
142 if (h_barrel ==
Positive && global_address < 0)
return false;
147 if (
side ==
Phi) {
return false; }
◆ Gstrip_2_Lnumber()
bool RPCchamber::Gstrip_2_Lnumber |
( |
ViewType |
side, |
|
|
int |
global_address, |
|
|
int & |
strip_number |
|
) |
| const |
Definition at line 208 of file RPCchamber.cxx.
215 if (strip_number <= m_params.etaStrips - 1 && strip_number >= 0)
return true;
218 if (
side ==
Phi) {
return false; }
◆ ijk_etaReadout()
int RPCchamber::ijk_etaReadout |
( |
| ) |
const |
◆ ijk_phiReadout()
int RPCchamber::ijk_phiReadout |
( |
| ) |
const |
◆ inversion()
bool RPCchamber::inversion |
( |
int |
sector | ) |
const |
Definition at line 346 of file RPCchamber.cxx.
364 return (sector <= 31) ? false :
false;
366 return (sector <= 31) ? false :
false;
371 return (sector <= 31) ? false :
false;
373 return (sector <= 31) ? false :
false;
384 if (
stationName()[1] ==
'O' && (sector == 25 || sector == 26 || sector == 57 || sector == 58)) {
398 if (
stationName()[1] ==
'O' &&
stationName()[3] !=
'8' && (sector == 25 || sector == 26 || sector == 57 || sector == 58)) {
411 default:
return false;
◆ local_connector()
bool RPCchamber::local_connector |
( |
ViewType |
side, |
|
|
int |
strip_number, |
|
|
int & |
local_address, |
|
|
int & |
low_eta_strips, |
|
|
int & |
hi_eta_strips |
|
) |
| const |
Definition at line 153 of file RPCchamber.cxx.
156 int address = abs(strip_address) - 1;
157 int strip_sign = (abs(strip_address)) / strip_address;
163 hi_eta_strips = (left <= residual_strips) ? left : residual_strips;
166 if (
side ==
Phi) {
return false; }
◆ local_strip()
bool RPCchamber::local_strip |
( |
ViewType |
side, |
|
|
int |
strip_number, |
|
|
int & |
local_address |
|
) |
| const |
Definition at line 112 of file RPCchamber.cxx.
116 local_address = strip_number + 1;
119 int address = strip_number - middle;
127 local_address = strip_number + 1;
◆ name()
const std::string& BaseObject::name |
( |
| ) |
const |
|
inlineinherited |
◆ no_connection_error()
std::string CablingObject::no_connection_error |
( |
const std::string & |
conn_name, |
|
|
int |
num |
|
) |
| const |
|
inherited |
Definition at line 30 of file CablingObject.cxx.
31 std::ostringstream disp;
32 disp <<
error_header() <<
name() <<
" n. " <<
number() <<
" is supposed to receive input from " << conn_name <<
" n. " <<
num <<
" which doesn't exist!";
◆ number()
int CablingObject::number |
( |
| ) |
const |
|
inherited |
◆ operator=()
◆ phi_connectors()
int RPCchamber::phi_connectors |
( |
| ) |
const |
◆ phi_strips()
int RPCchamber::phi_strips |
( |
| ) |
const |
◆ phiReadoutPannels()
int RPCchamber::phiReadoutPannels |
( |
| ) |
const |
◆ Print()
void RPCchamber::Print |
( |
std::ostream & |
stream, |
|
|
bool |
detail |
|
) |
| const |
|
virtual |
Reimplemented from BaseObject.
Definition at line 250 of file RPCchamber.cxx.
251 stream <<
" chamber n. " << std::setw(2) <<
number() <<
" ";
273 stream <<
" Eta Readout multiplicity:" << std::endl;
275 <<
" 1 5 10 15 20 25 30 35 40" << std::endl;
277 <<
" | | | | | | | | |" << std::endl;
281 stream <<
" It gives input to " <<
m_readoutWORs.size() <<
" WiredOR pannel:" << std::endl;
282 RPCchamber::WORlist::const_iterator wor =
m_readoutWORs.begin();
288 stream <<
"========================================"
289 <<
"=======================================" << std::endl;
◆ readoutCMAs()
◆ readoutWORs()
◆ residual()
int RPCchamber::residual |
( |
ViewType |
side, |
|
|
int |
strip_number |
|
) |
| const |
|
private |
◆ sector_type()
int CablingObject::sector_type |
( |
| ) |
const |
|
inherited |
◆ set_eta_co_global()
void RPCchamber::set_eta_co_global |
( |
int |
gl | ) |
|
◆ set_eta_st_global()
void RPCchamber::set_eta_st_global |
( |
int |
gl | ) |
|
◆ setup()
Definition at line 48 of file RPCchamber.cxx.
55 <<
error(
"==> mismatch of ijk_etaReadout with respect to others RPC");
61 <<
error(
"==> mismatch of ijk_phiReadout with respect to others RPC");
◆ station()
int CablingObject::station |
( |
| ) |
const |
|
inherited |
◆ stationEta()
int RPCchamber::stationEta |
( |
| ) |
const |
◆ stationName()
std::string RPCchamber::stationName |
( |
| ) |
const |
◆ strips_in_Eta_Conn()
int RPCchamber::strips_in_Eta_Conn |
( |
| ) |
const |
◆ strips_in_Phi_Conn()
int RPCchamber::strips_in_Phi_Conn |
( |
| ) |
const |
◆ tag()
◆ m_eta_conn_global
int RPC_CondCabling::RPCchamber::m_eta_conn_global {0} |
|
private |
◆ m_eta_read_mul
ReadoutCh RPC_CondCabling::RPCchamber::m_eta_read_mul |
|
private |
◆ m_eta_strip_global
int RPC_CondCabling::RPCchamber::m_eta_strip_global {0} |
|
private |
◆ m_name
std::string BaseObject::m_name |
|
privateinherited |
◆ m_number
int CablingObject::m_number {0} |
|
privateinherited |
◆ m_params
◆ m_readoutCMAs
CMAlist RPC_CondCabling::RPCchamber::m_readoutCMAs |
|
private |
◆ m_readoutWORs
WORlist RPC_CondCabling::RPCchamber::m_readoutWORs |
|
private |
◆ m_sector_type
int CablingObject::m_sector_type {0} |
|
privateinherited |
◆ m_station
int CablingObject::m_station {0} |
|
privateinherited |
◆ m_tag
The documentation for this class was generated from the following files:
int doubletR
StaionEta as defined into the offline ID.
int ijk_PhiReadOut
readout schema of the gas gaps in eta: 01 = gap 0 in layer 0, gap 1 in layer 1 10 = gap 0 in layer 1,...
const std::string & name() const
int doubletZ
DoubletR as defined into the offline ID.
int residual(ViewType, int) const
int stripsInPhiCon
Number of eta strips into connectors.
int phiStrips
Number of eta strips.
int etaStrips
Number of phi strips into connectors.
int eta_connectors() const
bool setup(SectorLogicSetup &)
chamberDefineParams m_params
int phiConnectors
Number of eta connectors.
int etaConnectors
Number of phi strips.
int ijk_etaReadout() const
int phi_connectors() const
std::string error_header() const
std::string error(const std::string &) const
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
int ijk_phiReadout() const
std::string stationName() const
bool local_connector(ViewType, int, int &, int &, int &) const
bool local_strip(ViewType, int, int &) const
int ijk_EtaReadOut
Number of phi connectors.
const std::string & chamber_name() const
int stripsInEtaCon
Phi readout multiplicity.
int phiReadOutPanels
DoubletZ as defined into the offline ID.