ATLAS Offline Software
|
#include <SectorLogicSetup.h>
Public Types | |
typedef std::multimap< CMAinput, int, std::less< CMAinput > > | StationMap |
typedef std::map< int, RPCchamber, std::less< int > > | RPCmap |
typedef std::map< int, WiredOR, std::less< int > > | WORmap |
typedef std::map< CMAidentity, EtaCMA, std::less< CMAidentity > > | EtaCMAmap |
typedef std::map< CMAidentity, EvenPhiCMA, std::less< CMAidentity > > | EvenPhiCMAmap |
typedef std::map< CMAidentity, OddPhiCMA, std::less< CMAidentity > > | OddPhiCMAmap |
typedef std::list< int > | SECTORlist |
Public Member Functions | |
SectorLogicSetup (int, const std::string &, const std::string &, bool) | |
virtual | ~SectorLogicSetup ()=default |
SectorLogicSetup (const SectorLogicSetup &)=delete | |
SectorLogicSetup & | operator= (const SectorLogicSetup &)=delete |
SectorLogicSetup (SectorLogicSetup &&)=default | |
SectorLogicSetup & | operator= (SectorLogicSetup &&)=default |
const std::string & | positive_sector () const |
const std::string & | negative_sector () const |
const std::string & | online_database () const |
const std::string & | layout () const |
int | sector_type () const |
bool | cosmic () const |
const SECTORlist & | sectors () const |
const StationMap & | giveStations () const |
const RPCmap & | giveRPC () const |
const WORmap & | giveWOR () const |
const EtaCMAmap & | giveEtaCMA () const |
const EvenPhiCMAmap & | giveEvenPhiCMA () const |
const OddPhiCMAmap & | giveOddPhiCMA () const |
const RPCchamber * | find_chamber (int, int) const |
RPCchamber * | find_chamber (int, int) |
WiredOR * | find_wor (int, int) |
WiredOR * | previousWOR (const WiredOR &) |
EtaCMA * | previousCMA (const EtaCMA &) |
EvenPhiCMA * | previousCMA (const EvenPhiCMA &) |
OddPhiCMA * | previousCMA (const OddPhiCMA &) |
std::list< const EtaCMA * > | find_eta_CMAs_in_PAD (int) |
bool | setup (MsgStream &) |
bool | check () |
bool | global_strip_add (ViewType, HalfType, int, int, int, int &) const |
bool | local_strip_add (ViewType, int, int, int &, int &) const |
bool | global_conn_add (ViewType, HalfType, int, int, int, int &, int &, int &) const |
bool | local_conn_add (ViewType, int, int, int &, int &, int &) const |
const CMAparameters::CMAlist | give_CMAs (const int, const ViewType, const int, const int) const |
bool | give_RoI_borders (const CMAidentity &ETA, const CMAidentity &PHI, unsigned int &firstEtaCode, unsigned int &lastEtaCode, unsigned int &firstPhiCode, unsigned int &lastPhiCode) const |
bool | give_LowPt_borders (const CMAidentity &ETA, const CMAidentity &PHI, unsigned int &firstEtaCode, unsigned int &lastEtaCode, unsigned int &firstPhiCode, unsigned int &lastPhiCode) const |
bool | give_HighPt_borders (const CMAidentity &ETA, const CMAidentity &PHI, unsigned int &firstEtaCode, unsigned int &lastEtaCode, unsigned int &firstPhiCode, unsigned int &lastPhiCode) const |
bool | give_LowPt_layout (const CMAidentity &ID, unsigned short int &start_pivot_ch, unsigned int &start_pivot_code, unsigned short int &stop_pivot_ch, unsigned int &stop_pivot_code, unsigned short int &start_confirm_ch, unsigned int &start_confirm_code, unsigned short int &stop_confirm_ch, unsigned int &stop_confirm_code) const |
bool | give_HighPt_layout (const CMAidentity &ID, unsigned short int &start_pivot_ch, unsigned int &start_pivot_code, unsigned short int &stop_pivot_ch, unsigned int &stop_pivot_code, unsigned short int &start_confirm_ch, unsigned int &start_confirm_code, unsigned short int &stop_confirm_ch, unsigned int &stop_confirm_code) const |
const CMAparameters * | give_CMA (const CMAidentity &CMA) const |
bool | correct (const CMAidentity &CMA, L1RPCcabCorrection type, CMAinput it, unsigned int layer, unsigned short int Channel1, unsigned short int Channel2, short int num) const |
std::list< unsigned int > | give_strip_code (const CMAidentity &CMA, int logic_sector, unsigned short int lh, unsigned short int ijk, unsigned short int Channel) const |
bool | operator+= (RPCchamberdata &) |
bool | operator+= (WiredORdata &) |
bool | operator+= (CMApivotdata &) |
bool | operator+= (CMAcablingdata &) |
HalfType | side () const |
SectorLogicSetup & | operator<< (int) |
void | PrintElement (std::ostream &, int, const std::string &, int, bool) const |
void | SetPtoTrigRoads (const std::map< std::string, std::string > *) |
const std::map< std::string, std::string > * | GetPtoTrigRoads () const |
ObjectType | tag () const |
const std::string & | name () const |
virtual void | Print (std::ostream &, bool) const |
Private Member Functions | |
std::string | no_elements (const std::string &, int) |
void | get_station (CMAinput, int) |
EtaCMAmap::const_iterator | find_etaCMA (int Eta, int Phi) const |
EvenPhiCMAmap::const_iterator | find_evenphiCMA (int Eta, int Phi) const |
OddPhiCMAmap::const_iterator | find_oddphiCMA (int Eta, int Phi) const |
EtaCMAmap::iterator | find_etaCMA (int Eta, int Phi) |
EvenPhiCMAmap::iterator | find_evenphiCMA (int Eta, int Phi) |
OddPhiCMAmap::iterator | find_oddphiCMA (int Eta, int Phi) |
Private Attributes | |
std::string | m_positive_sector |
std::string | m_negative_sector |
int | m_sector_type |
SECTORlist | m_sectors |
StationMap | m_stations |
RPCmap | m_RPCs |
WORmap | m_WORs |
EtaCMAmap | m_etaCMAs |
EvenPhiCMAmap | m_evenphiCMAs |
OddPhiCMAmap | m_oddphiCMAs |
std::string | m_online_database |
std::string | m_layout |
bool | m_cosmic |
const std::map< std::string, std::string > * | m_trigroads = nullptr |
ObjectType | m_tag |
std::string | m_name |
Friends | |
std::ostream & | operator<< (std::ostream &, const SectorLogicSetup &) |
Definition at line 23 of file SectorLogicSetup.h.
typedef std::map<CMAidentity, EtaCMA, std::less<CMAidentity> > RPC_CondCabling::SectorLogicSetup::EtaCMAmap |
Definition at line 28 of file SectorLogicSetup.h.
typedef std::map<CMAidentity, EvenPhiCMA, std::less<CMAidentity> > RPC_CondCabling::SectorLogicSetup::EvenPhiCMAmap |
Definition at line 29 of file SectorLogicSetup.h.
typedef std::map<CMAidentity, OddPhiCMA, std::less<CMAidentity> > RPC_CondCabling::SectorLogicSetup::OddPhiCMAmap |
Definition at line 30 of file SectorLogicSetup.h.
typedef std::map<int, RPCchamber, std::less<int> > RPC_CondCabling::SectorLogicSetup::RPCmap |
Definition at line 26 of file SectorLogicSetup.h.
typedef std::list<int> RPC_CondCabling::SectorLogicSetup::SECTORlist |
Definition at line 32 of file SectorLogicSetup.h.
typedef std::multimap<CMAinput, int, std::less<CMAinput> > RPC_CondCabling::SectorLogicSetup::StationMap |
Definition at line 25 of file SectorLogicSetup.h.
typedef std::map<int, WiredOR, std::less<int> > RPC_CondCabling::SectorLogicSetup::WORmap |
Definition at line 27 of file SectorLogicSetup.h.
SectorLogicSetup::SectorLogicSetup | ( | int | type, |
const std::string & | database, | ||
const std::string & | layout, | ||
bool | conf | ||
) |
Definition at line 13 of file SectorLogicSetup.cxx.
|
virtualdefault |
|
delete |
|
default |
bool SectorLogicSetup::check | ( | ) |
bool SectorLogicSetup::correct | ( | const CMAidentity & | CMA, |
L1RPCcabCorrection | type, | ||
CMAinput | it, | ||
unsigned int | layer, | ||
unsigned short int | Channel1, | ||
unsigned short int | Channel2, | ||
short int | num | ||
) | const |
Definition at line 524 of file SectorLogicSetup.cxx.
|
inline |
Definition at line 82 of file SectorLogicSetup.h.
RPCchamber * SectorLogicSetup::find_chamber | ( | int | stat, |
int | num | ||
) |
Definition at line 125 of file SectorLogicSetup.cxx.
const RPCchamber * SectorLogicSetup::find_chamber | ( | int | stat, |
int | num | ||
) | const |
Definition at line 178 of file SectorLogicSetup.cxx.
|
private |
Definition at line 239 of file SectorLogicSetup.cxx.
|
private |
Definition at line 209 of file SectorLogicSetup.cxx.
|
private |
Definition at line 219 of file SectorLogicSetup.cxx.
|
private |
Definition at line 189 of file SectorLogicSetup.cxx.
|
private |
Definition at line 229 of file SectorLogicSetup.cxx.
|
private |
Definition at line 199 of file SectorLogicSetup.cxx.
WiredOR * SectorLogicSetup::find_wor | ( | int | stat, |
int | num | ||
) |
Definition at line 141 of file SectorLogicSetup.cxx.
|
private |
Definition at line 32 of file SectorLogicSetup.cxx.
|
inline |
Definition at line 160 of file SectorLogicSetup.h.
const CMAparameters * SectorLogicSetup::give_CMA | ( | const CMAidentity & | CMA | ) | const |
Definition at line 505 of file SectorLogicSetup.cxx.
const CMAparameters::CMAlist SectorLogicSetup::give_CMAs | ( | const int | sector, |
const ViewType | side, | ||
const int | station, | ||
const int | cabling_code | ||
) | const |
Definition at line 296 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::give_HighPt_borders | ( | const CMAidentity & | ETA, |
const CMAidentity & | PHI, | ||
unsigned int & | firstEtaCode, | ||
unsigned int & | lastEtaCode, | ||
unsigned int & | firstPhiCode, | ||
unsigned int & | lastPhiCode | ||
) | const |
Definition at line 381 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::give_HighPt_layout | ( | const CMAidentity & | ID, |
unsigned short int & | start_pivot_ch, | ||
unsigned int & | start_pivot_code, | ||
unsigned short int & | stop_pivot_ch, | ||
unsigned int & | stop_pivot_code, | ||
unsigned short int & | start_confirm_ch, | ||
unsigned int & | start_confirm_code, | ||
unsigned short int & | stop_confirm_ch, | ||
unsigned int & | stop_confirm_code | ||
) | const |
Definition at line 456 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::give_LowPt_borders | ( | const CMAidentity & | ETA, |
const CMAidentity & | PHI, | ||
unsigned int & | firstEtaCode, | ||
unsigned int & | lastEtaCode, | ||
unsigned int & | firstPhiCode, | ||
unsigned int & | lastPhiCode | ||
) | const |
Definition at line 355 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::give_LowPt_layout | ( | const CMAidentity & | ID, |
unsigned short int & | start_pivot_ch, | ||
unsigned int & | start_pivot_code, | ||
unsigned short int & | stop_pivot_ch, | ||
unsigned int & | stop_pivot_code, | ||
unsigned short int & | start_confirm_ch, | ||
unsigned int & | start_confirm_code, | ||
unsigned short int & | stop_confirm_ch, | ||
unsigned int & | stop_confirm_code | ||
) | const |
Definition at line 407 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::give_RoI_borders | ( | const CMAidentity & | ETA, |
const CMAidentity & | PHI, | ||
unsigned int & | firstEtaCode, | ||
unsigned int & | lastEtaCode, | ||
unsigned int & | firstPhiCode, | ||
unsigned int & | lastPhiCode | ||
) | const |
Definition at line 329 of file SectorLogicSetup.cxx.
std::list< unsigned int > SectorLogicSetup::give_strip_code | ( | const CMAidentity & | CMA, |
int | logic_sector, | ||
unsigned short int | lh, | ||
unsigned short int | ijk, | ||
unsigned short int | Channel | ||
) | const |
Definition at line 544 of file SectorLogicSetup.cxx.
Definition at line 88 of file SectorLogicSetup.h.
|
inline |
Definition at line 89 of file SectorLogicSetup.h.
|
inline |
Definition at line 90 of file SectorLogicSetup.h.
Definition at line 86 of file SectorLogicSetup.h.
|
inline |
Definition at line 84 of file SectorLogicSetup.h.
Definition at line 87 of file SectorLogicSetup.h.
bool SectorLogicSetup::global_conn_add | ( | ViewType | side, |
HalfType | h_barrel, | ||
int | station, | ||
int | rpc_index, | ||
int | strip_number, | ||
int & | global_address, | ||
int & | low_eta_strips, | ||
int & | hi_eta_strips | ||
) | const |
Definition at line 272 of file SectorLogicSetup.cxx.
|
inline |
Definition at line 80 of file SectorLogicSetup.h.
bool SectorLogicSetup::local_conn_add | ( | ViewType | side, |
int | station, | ||
int | global_address, | ||
int & | c_number, | ||
int & | rpc_index, | ||
int & | strip_number | ||
) | const |
Definition at line 279 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::local_strip_add | ( | ViewType | side, |
int | station, | ||
int | global_address, | ||
int & | rpc_index, | ||
int & | strip_number | ||
) | const |
Definition at line 256 of file SectorLogicSetup.cxx.
|
inlineinherited |
Definition at line 23 of file BaseObject.h.
|
inline |
Definition at line 78 of file SectorLogicSetup.h.
|
private |
Definition at line 24 of file SectorLogicSetup.cxx.
|
inline |
Definition at line 79 of file SectorLogicSetup.h.
bool SectorLogicSetup::operator+= | ( | CMAcablingdata & | data | ) |
Definition at line 820 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::operator+= | ( | CMApivotdata & | data | ) |
Definition at line 772 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::operator+= | ( | RPCchamberdata & | data | ) |
Definition at line 722 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::operator+= | ( | WiredORdata & | data | ) |
Definition at line 756 of file SectorLogicSetup.cxx.
SectorLogicSetup & SectorLogicSetup::operator<< | ( | int | sector | ) |
Definition at line 571 of file SectorLogicSetup.cxx.
|
delete |
|
default |
|
inline |
Definition at line 77 of file SectorLogicSetup.h.
EvenPhiCMA * SectorLogicSetup::previousCMA | ( | const EvenPhiCMA & | cma | ) |
Definition at line 164 of file SectorLogicSetup.cxx.
Definition at line 171 of file SectorLogicSetup.cxx.
Definition at line 149 of file SectorLogicSetup.cxx.
|
inlinevirtualinherited |
Reimplemented in CMAparameters, RPC_CondCabling::CMApivotdata, RPC_CondCabling::CMAcablingdata, RPC_CondCabling::RPCchamberdata, RPC_CondCabling::WiredORdata, RPC_CondCabling::RPCchamber, CMApatterns, RPC_CondCabling::WiredOR, MuonSimuTrack, RPCdigit, CMAtrigger, PADpatterns, CMAdata, SLpatterns, SLdata, PADdata, RPCtrigDataObject, and bitPATTERN.
Definition at line 25 of file BaseObject.h.
void SectorLogicSetup::PrintElement | ( | std::ostream & | stream, |
int | station, | ||
const std::string & | ele, | ||
int | obj, | ||
bool | detail | ||
) | const |
Definition at line 586 of file SectorLogicSetup.cxx.
|
inline |
Definition at line 81 of file SectorLogicSetup.h.
|
inline |
Definition at line 83 of file SectorLogicSetup.h.
void SectorLogicSetup::SetPtoTrigRoads | ( | const std::map< std::string, std::string > * | RPC_trigroads | ) |
Definition at line 847 of file SectorLogicSetup.cxx.
bool SectorLogicSetup::setup | ( | MsgStream & | log | ) |
Definition at line 42 of file SectorLogicSetup.cxx.
HalfType SectorLogicSetup::side | ( | ) | const |
Definition at line 841 of file SectorLogicSetup.cxx.
|
inlineinherited |
Definition at line 22 of file BaseObject.h.
|
friend |
|
private |
Definition at line 51 of file SectorLogicSetup.h.
|
private |
Definition at line 45 of file SectorLogicSetup.h.
|
private |
Definition at line 46 of file SectorLogicSetup.h.
|
private |
Definition at line 50 of file SectorLogicSetup.h.
|
privateinherited |
Definition at line 16 of file BaseObject.h.
|
private |
Definition at line 36 of file SectorLogicSetup.h.
|
private |
Definition at line 47 of file SectorLogicSetup.h.
|
private |
Definition at line 49 of file SectorLogicSetup.h.
|
private |
Definition at line 35 of file SectorLogicSetup.h.
|
private |
Definition at line 43 of file SectorLogicSetup.h.
|
private |
Definition at line 38 of file SectorLogicSetup.h.
|
private |
Definition at line 39 of file SectorLogicSetup.h.
|
private |
Definition at line 41 of file SectorLogicSetup.h.
|
privateinherited |
Definition at line 15 of file BaseObject.h.
|
private |
Definition at line 64 of file SectorLogicSetup.h.
|
private |
Definition at line 44 of file SectorLogicSetup.h.