![]() |
ATLAS Offline Software
|
#include <RpcCablingCondData.h>
Public Types | |
typedef std::map< int, RDOindex, std::less< int > > | RDOmap |
typedef std::vector< const RDOindex * > | OfflineOnlineHashMap |
typedef std::map< Identifier, const RDOindex *, std::less< Identifier > > | OfflineOnlineMap |
typedef std::vector< RPC_CondCabling::SectorLogicSetup > | STvec |
typedef std::map< IdentifierHash, std::set< IdentifierHash > > | PRD_RDO_Map |
typedef std::map< IdentifierHash, std::set< uint32_t > > | PRD_ROB_Map |
typedef std::map< uint32_t, std::set< IdentifierHash > > | ROB_RDO_Map |
Public Member Functions | |
RpcCablingCondData ()=default | |
virtual | ~RpcCablingCondData ()=default |
const RDOmap & | give_RDOs (void) const |
bool | give_ROBid (const Identifier &compactID, unsigned short int &id) const |
bool | give_ROBid (const unsigned int hashID, unsigned short int &id) const |
bool | give_RODid (const Identifier &compactID, unsigned short int &id) const |
bool | give_RODid (const unsigned int hashID, unsigned short int &id) const |
bool | give_side (const Identifier &compactID, unsigned short int &id) const |
bool | give_side (const unsigned int hashID, unsigned short int &id) const |
bool | give_SLid (const Identifier &compactID, unsigned short int &id) const |
bool | give_SLid (const unsigned int hashID, unsigned short int &id) const |
bool | give_RXid (const Identifier &compactID, unsigned short int &id) const |
bool | give_RXid (const unsigned int hashID, unsigned short int &id) const |
bool | give_PADid (const Identifier &compactID, unsigned short int &id) const |
bool | give_PADid (const unsigned int hashID, unsigned short int &id) const |
const std::vector< uint32_t > & | giveFullListOfRobIds () const |
StatusCode | giveROB_fromRDO (const IdentifierHash rdoHashId, uint32_t &robId) const |
StatusCode | giveROB_fromRDO (const std::vector< IdentifierHash > &rdoHashVec, std::vector< uint32_t > &robIdVec) const |
std::list< Identifier > | give_strip_id (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int PADId, unsigned short int CMAId, unsigned short ijk, unsigned short int Channel, const RpcIdHelper *rpcId) const |
const CMAparameters::CMAlist | give_CMAs (const int logic_sector, const ViewType side, const int station, const int cabling_code) const |
unsigned long int | strip_code_fromOffId (const std::string &stationName, int stationEta, int stationPhi, int doubletR, int doubletZ, int doubletPhi, int gasGap, int measuresPhi, int strip) const |
unsigned int | computeZIndexInCablingStation (const std::string &stationName, int logicSector, int stationEta, int doubletR, int doubletZ, int cabStat) const |
StatusCode | giveRDO_fromPRD (const IdentifierHash prdHashId, std::vector< IdentifierHash > &rdoHashVec) const |
StatusCode | giveRDO_fromPRD (const std::vector< IdentifierHash > &prdHashVec, std::vector< IdentifierHash > &rdoHashVec) const |
StatusCode | giveRDO_fromROB (const std::vector< uint32_t > &robIdVec, std::vector< IdentifierHash > &rdoHashVec) const |
StatusCode | giveROB_fromPRD (const IdentifierHash prdHashId, std::vector< uint32_t > &robIdVec) const |
virtual bool | give_Pad_Parameters (unsigned short int logic_sector, unsigned short int PADId, bool &feet, bool &eta_and_phi, unsigned short int &cma_mask, unsigned short int &feet_th0, unsigned short int &feet_th1, unsigned short int &feet_th2) const |
bool | give_PAD_address (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, unsigned int &padIdHash) const |
bool | give_RoI_borders_id (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, Identifier &EtaLowBorder_id, Identifier &EtaHighBorder_id, Identifier &PhiLowBorder_id, Identifier &PhiHighBorder_id, const RpcIdHelper *rpcId) const |
bool | give_RoI_borders (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, unsigned int &EtaLowBorder, unsigned int &EtaHighBorder, unsigned int &PhiLowBorder, unsigned int &PhiHighBorder) const |
Identifier | protected_strip_OffId_fromCode (unsigned long int strip_code, const RpcIdHelper *rpcId) const |
RPCofflineId | strip_id_fromCode (unsigned long int strip_code) const |
bool | give_LowPt_borders (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, unsigned int &EtaLowBorder, unsigned int &EtaHighBorder, unsigned int &PhiLowBorder, unsigned int &PhiHighBorder) const |
bool | give_LowPt_borders_id (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, Identifier &EtaLowBorder_id, Identifier &EtaHighBorder_id, Identifier &PhiLowBorder_id, Identifier &PhiHighBorder_id, const RpcIdHelper *rpcId) const |
bool | give_HighPt_borders (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, unsigned int &EtaLowBorder, unsigned int &EtaHighBorder, unsigned int &PhiLowBorder, unsigned int &PhiHighBorder) const |
bool | give_HighPt_borders_id (unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int RoIId, Identifier &EtaLowBorder_id, Identifier &EtaHighBorder_id, Identifier &PhiLowBorder_id, Identifier &PhiHighBorder_id, const RpcIdHelper *rpcId) const |
Identifier | strip_OffId_fromCode (unsigned long int strip_code, const RpcIdHelper *rpcId) const |
bool | giveOfflineId (const unsigned short int side, const unsigned short int sector, const unsigned short int padId, Identifier &id) const |
Identifier | identifier (int i) const |
int | operator() (const Identifier &id) const |
int | max () const |
std::vector< IdentifierHash > | rod2hash (uint16_t subsystem, uint16_t rod) const |
uint32_t | hash2source (unsigned int h) const |
void | setIds (const std::vector< Identifier > &int2id) |
void | setLookup (const std::vector< Identifier > &ids) |
Static Public Member Functions | |
static unsigned long int | strip_code_fromOffline (int etaPhiView, int logicSector, int cablingStation, int gasGap, int zIndexInCablingStation, int strip) |
static bool | largeSector (const std::string &stName) |
static int | offset () |
Private Attributes | |
RDOmap | m_RDOs |
OfflineOnlineMap | m_RDOmap |
OfflineOnlineHashMap | m_HashVec |
std::string | m_map |
std::string | m_corr |
std::vector< std::string > | m_vecetaCM_File |
std::vector< std::string > | m_vecetaTh0 |
std::vector< std::string > | m_vecetaSequence_Th |
std::vector< std::string > | m_vecetaInfo |
std::map< std::string, std::string > | m_trigroads |
std::vector< std::string > | m_vecphiCM_File |
std::vector< std::string > | m_vecphiTh0 |
std::vector< std::string > | m_vecphiInfo |
std::vector< Identifier > | m_int2id |
std::vector< IdentifierHash > | m_rod2hash [2][16] |
std::map< Identifier, int > | m_lookup |
std::vector< uint32_t > | m_fullListOfRobIds |
int | m_SectorMap [64] {} |
STvec | m_SectorType |
PRD_RDO_Map | m_PRD_RDO_map |
PRD_ROB_Map | m_PRD_ROB_map |
ROB_RDO_Map | m_ROB_RDO_map |
int | m_MaxType =-999999 |
RPCPadParameters | m_RPCPadParameters_array [MAX_LOGICSECTOR][MAX_PADID] |
Identifier | m_offline_id [2][32][10] |
Static Private Attributes | |
static constexpr unsigned | MAX_PADID = 10 |
static constexpr unsigned | MAX_LOGICSECTOR = 64 |
Friends | |
class | RpcCablingCondAlg |
Definition at line 21 of file RpcCablingCondData.h.
typedef std::vector<const RDOindex*> RpcCablingCondData::OfflineOnlineHashMap |
Definition at line 26 of file RpcCablingCondData.h.
typedef std::map<Identifier, const RDOindex*, std::less<Identifier> > RpcCablingCondData::OfflineOnlineMap |
Definition at line 27 of file RpcCablingCondData.h.
typedef std::map<IdentifierHash, std::set<IdentifierHash> > RpcCablingCondData::PRD_RDO_Map |
Definition at line 29 of file RpcCablingCondData.h.
typedef std::map<IdentifierHash, std::set<uint32_t> > RpcCablingCondData::PRD_ROB_Map |
Definition at line 30 of file RpcCablingCondData.h.
typedef std::map<int, RDOindex, std::less<int> > RpcCablingCondData::RDOmap |
Definition at line 25 of file RpcCablingCondData.h.
typedef std::map<uint32_t, std::set<IdentifierHash> > RpcCablingCondData::ROB_RDO_Map |
Definition at line 31 of file RpcCablingCondData.h.
typedef std::vector<RPC_CondCabling::SectorLogicSetup> RpcCablingCondData::STvec |
Definition at line 28 of file RpcCablingCondData.h.
|
default |
|
virtualdefault |
unsigned int RpcCablingCondData::computeZIndexInCablingStation | ( | const std::string & | stationName, |
int | logicSector, | ||
int | stationEta, | ||
int | doubletR, | ||
int | doubletZ, | ||
int | cabStat | ||
) | const |
Definition at line 239 of file RpcCablingCondData.cxx.
const CMAparameters::CMAlist RpcCablingCondData::give_CMAs | ( | const int | logic_sector, |
const ViewType | side, | ||
const int | station, | ||
const int | cabling_code | ||
) | const |
Definition at line 178 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_HighPt_borders | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
unsigned int & | EtaLowBorder, | ||
unsigned int & | EtaHighBorder, | ||
unsigned int & | PhiLowBorder, | ||
unsigned int & | PhiHighBorder | ||
) | const |
Definition at line 592 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_HighPt_borders_id | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
Identifier & | EtaLowBorder_id, | ||
Identifier & | EtaHighBorder_id, | ||
Identifier & | PhiLowBorder_id, | ||
Identifier & | PhiHighBorder_id, | ||
const RpcIdHelper * | rpcId | ||
) | const |
Definition at line 633 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_LowPt_borders | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
unsigned int & | EtaLowBorder, | ||
unsigned int & | EtaHighBorder, | ||
unsigned int & | PhiLowBorder, | ||
unsigned int & | PhiHighBorder | ||
) | const |
Definition at line 534 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_LowPt_borders_id | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
Identifier & | EtaLowBorder_id, | ||
Identifier & | EtaHighBorder_id, | ||
Identifier & | PhiLowBorder_id, | ||
Identifier & | PhiHighBorder_id, | ||
const RpcIdHelper * | rpcId | ||
) | const |
Definition at line 575 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_PAD_address | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
unsigned int & | padIdHash | ||
) | const |
Definition at line 420 of file RpcCablingCondData.cxx.
|
virtual |
Definition at line 405 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_PADid | ( | const Identifier & | compactID, |
unsigned short int & | id | ||
) | const |
Definition at line 92 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_PADid | ( | const unsigned int | hashID, |
unsigned short int & | id | ||
) | const |
const RpcCablingCondData::RDOmap & RpcCablingCondData::give_RDOs | ( | void | ) | const |
Definition at line 10 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_ROBid | ( | const Identifier & | compactID, |
unsigned short int & | id | ||
) | const |
Definition at line 12 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_ROBid | ( | const unsigned int | hashID, |
unsigned short int & | id | ||
) | const |
bool RpcCablingCondData::give_RODid | ( | const Identifier & | compactID, |
unsigned short int & | id | ||
) | const |
Definition at line 28 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_RODid | ( | const unsigned int | hashID, |
unsigned short int & | id | ||
) | const |
bool RpcCablingCondData::give_RoI_borders | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
unsigned int & | EtaLowBorder, | ||
unsigned int & | EtaHighBorder, | ||
unsigned int & | PhiLowBorder, | ||
unsigned int & | PhiHighBorder | ||
) | const |
Definition at line 456 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_RoI_borders_id | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | RoIId, | ||
Identifier & | EtaLowBorder_id, | ||
Identifier & | EtaHighBorder_id, | ||
Identifier & | PhiLowBorder_id, | ||
Identifier & | PhiHighBorder_id, | ||
const RpcIdHelper * | rpcId | ||
) | const |
Definition at line 438 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_RXid | ( | const Identifier & | compactID, |
unsigned short int & | id | ||
) | const |
Definition at line 76 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_RXid | ( | const unsigned int | hashID, |
unsigned short int & | id | ||
) | const |
bool RpcCablingCondData::give_side | ( | const Identifier & | compactID, |
unsigned short int & | id | ||
) | const |
Definition at line 44 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_side | ( | const unsigned int | hashID, |
unsigned short int & | id | ||
) | const |
bool RpcCablingCondData::give_SLid | ( | const Identifier & | compactID, |
unsigned short int & | id | ||
) | const |
Definition at line 60 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::give_SLid | ( | const unsigned int | hashID, |
unsigned short int & | id | ||
) | const |
std::list< Identifier > RpcCablingCondData::give_strip_id | ( | unsigned short int | SubsystemId, |
unsigned short int | SectorId, | ||
unsigned short int | PADId, | ||
unsigned short int | CMAId, | ||
unsigned short | ijk, | ||
unsigned short int | Channel, | ||
const RpcIdHelper * | rpcId | ||
) | const |
Definition at line 269 of file RpcCablingCondData.cxx.
const std::vector< uint32_t > & RpcCablingCondData::giveFullListOfRobIds | ( | ) | const |
Definition at line 108 of file RpcCablingCondData.cxx.
bool RpcCablingCondData::giveOfflineId | ( | const unsigned short int | side, |
const unsigned short int | sector, | ||
const unsigned short int | padId, | ||
Identifier & | id | ||
) | const |
Definition at line 657 of file RpcCablingCondData.cxx.
StatusCode RpcCablingCondData::giveRDO_fromPRD | ( | const IdentifierHash | prdHashId, |
std::vector< IdentifierHash > & | rdoHashVec | ||
) | const |
Definition at line 336 of file RpcCablingCondData.cxx.
StatusCode RpcCablingCondData::giveRDO_fromPRD | ( | const std::vector< IdentifierHash > & | prdHashVec, |
std::vector< IdentifierHash > & | rdoHashVec | ||
) | const |
Definition at line 350 of file RpcCablingCondData.cxx.
StatusCode RpcCablingCondData::giveRDO_fromROB | ( | const std::vector< uint32_t > & | robIdVec, |
std::vector< IdentifierHash > & | rdoHashVec | ||
) | const |
Definition at line 371 of file RpcCablingCondData.cxx.
StatusCode RpcCablingCondData::giveROB_fromPRD | ( | const IdentifierHash | prdHashId, |
std::vector< uint32_t > & | robIdVec | ||
) | const |
Definition at line 391 of file RpcCablingCondData.cxx.
StatusCode RpcCablingCondData::giveROB_fromRDO | ( | const IdentifierHash | rdoHashId, |
uint32_t & | robId | ||
) | const |
Definition at line 146 of file RpcCablingCondData.cxx.
StatusCode RpcCablingCondData::giveROB_fromRDO | ( | const std::vector< IdentifierHash > & | rdoHashVec, |
std::vector< uint32_t > & | robIdVec | ||
) | const |
Definition at line 160 of file RpcCablingCondData.cxx.
uint32_t RpcCablingCondData::hash2source | ( | unsigned int | h | ) | const |
Identifier RpcCablingCondData::identifier | ( | int | i | ) | const |
|
static |
Definition at line 228 of file RpcCablingCondData.cxx.
int RpcCablingCondData::max | ( | ) | const |
Definition at line 126 of file RpcCablingCondData.cxx.
|
static |
Definition at line 128 of file RpcCablingCondData.cxx.
int RpcCablingCondData::operator() | ( | const Identifier & | id | ) | const |
Identifier RpcCablingCondData::protected_strip_OffId_fromCode | ( | unsigned long int | strip_code, |
const RpcIdHelper * | rpcId | ||
) | const |
Definition at line 488 of file RpcCablingCondData.cxx.
std::vector< IdentifierHash > RpcCablingCondData::rod2hash | ( | uint16_t | subsystem, |
uint16_t | rod | ||
) | const |
Definition at line 130 of file RpcCablingCondData.cxx.
void RpcCablingCondData::setIds | ( | const std::vector< Identifier > & | int2id | ) |
Definition at line 666 of file RpcCablingCondData.cxx.
void RpcCablingCondData::setLookup | ( | const std::vector< Identifier > & | ids | ) |
unsigned long int RpcCablingCondData::strip_code_fromOffId | ( | const std::string & | stationName, |
int | stationEta, | ||
int | stationPhi, | ||
int | doubletR, | ||
int | doubletZ, | ||
int | doubletPhi, | ||
int | gasGap, | ||
int | measuresPhi, | ||
int | strip | ||
) | const |
Definition at line 185 of file RpcCablingCondData.cxx.
|
static |
RPCofflineId RpcCablingCondData::strip_id_fromCode | ( | unsigned long int | strip_code | ) | const |
Definition at line 504 of file RpcCablingCondData.cxx.
Identifier RpcCablingCondData::strip_OffId_fromCode | ( | unsigned long int | strip_code, |
const RpcIdHelper * | rpcId | ||
) | const |
Definition at line 651 of file RpcCablingCondData.cxx.
|
friend |
Definition at line 22 of file RpcCablingCondData.h.
|
private |
Definition at line 137 of file RpcCablingCondData.h.
|
private |
Definition at line 155 of file RpcCablingCondData.h.
|
private |
Definition at line 134 of file RpcCablingCondData.h.
|
private |
Definition at line 151 of file RpcCablingCondData.h.
|
private |
Definition at line 153 of file RpcCablingCondData.h.
|
private |
Definition at line 136 of file RpcCablingCondData.h.
|
private |
Definition at line 163 of file RpcCablingCondData.h.
|
private |
Definition at line 171 of file RpcCablingCondData.h.
|
private |
Definition at line 159 of file RpcCablingCondData.h.
|
private |
Definition at line 160 of file RpcCablingCondData.h.
|
private |
Definition at line 133 of file RpcCablingCondData.h.
|
private |
Definition at line 132 of file RpcCablingCondData.h.
|
private |
Definition at line 161 of file RpcCablingCondData.h.
|
private |
Definition at line 152 of file RpcCablingCondData.h.
|
private |
Definition at line 169 of file RpcCablingCondData.h.
|
private |
Definition at line 156 of file RpcCablingCondData.h.
|
private |
Definition at line 158 of file RpcCablingCondData.h.
|
private |
Definition at line 144 of file RpcCablingCondData.h.
|
private |
Definition at line 139 of file RpcCablingCondData.h.
|
private |
Definition at line 142 of file RpcCablingCondData.h.
|
private |
Definition at line 141 of file RpcCablingCondData.h.
|
private |
Definition at line 140 of file RpcCablingCondData.h.
|
private |
Definition at line 146 of file RpcCablingCondData.h.
|
private |
Definition at line 148 of file RpcCablingCondData.h.
|
private |
Definition at line 147 of file RpcCablingCondData.h.
|
staticconstexprprivate |
Definition at line 168 of file RpcCablingCondData.h.
|
staticconstexprprivate |
Definition at line 167 of file RpcCablingCondData.h.