|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   17     for (
int i = 0; 
i < m_params.etaStrips; ++
i) m_eta_read_mul.push_back(0);
 
   55             << 
error(
"==> mismatch of ijk_etaReadout with respect to others RPC");
 
   61             << 
error(
"==> mismatch of ijk_phiReadout with respect to others RPC");
 
   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!");
 
  106     std::ostringstream disp;
 
  108            << mess << std::endl << *
this;
 
  116             local_address = strip_number + 1;
 
  119             int address = strip_number - middle;
 
  127         local_address = strip_number + 1;
 
  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; }
 
  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; }
 
  178             if (strip_number < total_strips)
 
  189                                   int& right_strips)
 const {
 
  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; }
 
  215             if (strip_number <= m_params.etaStrips - 1 && strip_number >= 0) 
return true;
 
  218     if (
side == 
Phi) { 
return false; }
 
  234             if (local_address <= m_params.etaConnectors - 1 && local_address >= 0) {
 
  241     if (
side == 
Phi) { 
return false; }
 
  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;
 
  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;
 
  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;
 
  
int doubletR
StaionEta as defined into the offline ID.
const ReadoutCh & eta_read_mul() const
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,...
bool inversion(int) const
int doubletZ
DoubletR as defined into the offline ID.
int residual(ViewType, int) const
int strips_in_Eta_Conn() const
bool setup(asg::AnaToolHandle< Interface > &tool, const std::string &type, const std::vector< std::string > &config, const std::string &progressFile="")
mostly useful for athena, which will otherwise re-use the previous tool
int stripsInPhiCon
Number of eta strips into connectors.
int phiStrips
Number of eta strips.
int etaStrips
Number of phi strips into connectors.
void add_wor(const WiredOR *)
void add_eta_channel(int)
int eta_connectors() const
bool setup(SectorLogicSetup &)
int strips_in_Phi_Conn() const
chamberDefineParams m_params
int phiConnectors
Number of eta connectors.
const WORlist & readoutWORs() const
bool Gstrip_2_Lnumber(ViewType, int, int &) const
int etaConnectors
Number of phi strips.
int ijk_etaReadout() const
int eta_strip_global() const
std::list< const EtaCMA * > CMAlist
int phi_connectors() const
void set_eta_co_global(int)
void set_eta_st_global(int)
std::string error_header() const
void Print(std::ostream &, bool) const
bool global_strip(ViewType, HalfType, int, int &) const
std::string extendedName(int) 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.
std::vector< int > ReadoutCh
Helpers for checking error return status codes and reporting errors.
int ijk_phiReadout() const
bool global_connector(ViewType, HalfType, int, int &, int &, int &) const
int eta_conn_global() const
std::string stationName() const
void add_cma(const EtaCMA *)
bool local_connector(ViewType, int, int &, int &, int &) const
const CMAlist & readoutCMAs() const
bool local_strip(ViewType, int, int &) const
int ijk_EtaReadOut
Number of phi connectors.
bool Gconn_2_Lnumber(ViewType, int, int &, int &) const
const std::string & chamber_name() const
RPCchamber(const RPCchamber::chamberParameters ¶ms)
Helper struct to reduce the number of arguments in the constructor.
int stripsInEtaCon
Phi readout multiplicity.
std::list< const WiredOR * > WORlist
int phiReadoutPannels() const
int phiReadOutPanels
DoubletZ as defined into the offline ID.