  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
    7 #include "GaudiKernel/StatusCode.h" 
   29                const std::string& filenameInPP,
 
   30                const std::string& filenamePPToSL,
 
   31                const std::string& filenameSLBToROD)
 
   56   for (
auto& 
p : m_slbModuleIdMap) {
 
   90   int indexFromReadoutWithoutChannel  
 
   93     = m_slbModuleIdMap.find(indexFromReadoutWithoutChannel); 
 
   94   if(
it!=m_slbModuleIdMap.end()) { 
 
  101   int readoutSector = rodId -1 ; 
 
  107     m_slbModuleIdMap.insert(std::pair<int, TGCModuleId*>(indexFromReadoutWithoutChannel, 0));
 
  113   const int sswMapsize = sswMap->
size();
 
  114   for(
int i=0; 
i<sswMapsize; 
i++){
 
  115     if((sswMap->
moduleId(
i))->getId()==sswId){
 
  123     m_slbModuleIdMap.
insert(std::pair<int, TGCModuleId*>(indexFromReadoutWithoutChannel, 0));
 
  132     m_slbModuleIdMap.insert(std::pair<int, TGCModuleId*>(indexFromReadoutWithoutChannel, 0));
 
  138   const int slbMapsize = slbMap->
size();
 
  139   for(
int i=0; 
i<slbMapsize; 
i++){
 
  150     m_slbModuleIdMap.
insert(std::pair<int, TGCModuleId*>(indexFromReadoutWithoutChannel, 0));
 
  154   m_slbModuleIdMap.insert(std::pair<int, TGCModuleId*>(indexFromReadoutWithoutChannel, slb));
 
  167   int readoutSector = rodId -1 ; 
 
  172   if(!sswMap) 
return rxId;
 
  176   const int sswMapsize = sswMap->
size();
 
  177   for(
int i=0; 
i<sswMapsize; 
i++){
 
  178     if((sswMap->
moduleId(
i))->getId()==sswId){
 
  185   if(!
found || !ssw) 
return rxId; 
 
  191   if(!slbMap) 
return rxId;
 
  195   const int slbMapsize = slbMap->
size();
 
  196   for(
int i=0; 
i<slbMapsize; 
i++){
 
  217   int readoutSector = rodId -1 ; 
 
  222   if(!sswMap) 
return nullptr;
 
  228     if((sswMap->
moduleId(
i))->getId()==sswId){
 
  235   if(!
found || !ssw) 
return nullptr; 
 
  241   if(!slbMap) 
return nullptr;
 
  244   int ip = slbMap->
find(rxId);
 
  245   if(ip <0 || ip >= slbMap->
size()){
 
  246     delete slbMap; slbMap = 
nullptr;
 
  252   if(!slb) 
return nullptr; 
 
  271   if(!slb) 
return false;
 
  278   if(!sswMap) 
return false;
 
  283   if(!ssw) 
return false;
 
  287   sswId = ssw->
getId();
 
  297       delete ssw; ssw = 
nullptr;
 
  334   if(!rodMap) 
return false;
 
  339   if(!
rod) 
return false;
 
  342   rodId = 
rod->getId();
 
  362                      bool orChannel)
 const  
  371   int readoutSector = (rodId -1); 
 
  372   int sector = sectorInReadout;
 
  395   if(!hpbin.
isValid()) 
return false;
 
  398   if(!slbout) 
return 0;
 
  406   if(!slbin) 
return false;
 
  411   if(!slb) 
return false;
 
  435                      int & sectorInReadout,
 
  443   sectorInReadout = -1;
 
  471   hpbId  = hpbin->
getId();
 
  491   bool orChannel = 
flag;    
 
  509   if(!slbin) 
return false;
 
  541   if(!slbin.
isValid()) 
return false;
 
  544   if(!slbout) 
return false;
 
  560                            bool orChannel)
 const {
 
  565   if(!slb) 
return nullptr;
 
  573   if(!slbin.
isValid()) 
return nullptr;  
 
  586                       bool orChannel)
 const {
 
  598   if(!slbin) 
return false;
 
  603   if(!slb) 
return false;
 
  618                      bool orChannel)
 const {
 
  625       if(!asdout) 
return nullptr;
 
  632       if(!ppin) 
return nullptr;
 
  639       if(!ppout) 
return nullptr;
 
  656       if(!ppin) 
return nullptr;
 
  663       if(!ppout) 
return nullptr;
 
  690       if(!slbout) 
return nullptr; 
 
  703       if(!ppout) 
return nullptr;
 
  710       if(!ppin) 
return nullptr;
 
  721       if(!ppout) 
return nullptr;
 
  728       if(!ppin) 
return nullptr;
 
  735       if(!asdout) 
return nullptr;
 
  755       if(!slbout) 
return nullptr;
 
  817                           const int sbLoc)
 const { 
 
  
JetConstituentVector::iterator iterator
 
bool getReadoutFromHighPtID(TGCId::SideType side, int rodId, int &sswId, int &sbLoc, int &channel, TGCId::SignalType signal, TGCId::RegionType region, int sectorInReadout, int hpbId, int block, int hitId, int pos, TGCId::ModuleType moduleType, bool orChannel) const
 
ModuleIdType getModuleIdType(void) const
 
virtual bool isValid() const
 
TGCChannelId * getChannel(const TGCChannelId *channelId, TGCChannelId::ChannelIdType type, bool orChannel=false) const
 
SideType getSideType(void) const
 
TGCCableSSWToROD * m_cableSSWToROD
 
SignalType getSignalType(void) const
 
TGCCableInASD * m_cableInASD
 
TGCCableInPP * m_cableInPP
 
TGCCableSLBToHPB * m_cableSLBToHPB
 
RegionType getRegionType(void) const
 
TGCModuleId * moduleId(int entry)
 
int getRxIdFromReadout(TGCId::SideType side, int rodId, int sswId, int sbLoc) const
 
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
 
static constexpr int N_RODS
 
ModuleType getModuleType(void) const
 
virtual TGCModuleId * getModule(void) const
 
TGCCableSLBToSSW * m_cableSLBToSSW
 
const TGCModuleId * getSLBFromReadout(TGCId::SideType side, int rodId, int sswId, int sbLoc) const
 
static constexpr int NUM_FORWARD_SECTOR
 
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
 
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
 
virtual bool isValid(void) const
 
TGCCableHPBToSL * m_cableHPBToSL
 
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
 
TGCChannelId * getASDOutFromReadout(TGCId::SideType side, int rodId, int sswId, int sbLoc, int channel, bool orChannel=false) const
 
TGCCableASDToPP * m_cableASDToPP
 
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
 
int getSectorInReadout(void) const
 
TGCChannelId * getChannelInforHPB(const TGCChannelId *hpbin, TGCId::ModuleType moduleType, bool orChannel=false) const
 
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
virtual TGCChannelId * getASDOutChannel(const TGCChannelId *slb_in) const
 
TGCModuleMap * getModule(const TGCModuleId *moduleId, TGCModuleId::ModuleIdType type) const
 
StatusCode updateDatabase()
 
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
 
TGCCablePPToSLB * m_cablePPToSLB
 
TGCCableInSLB * m_cableInSLB
 
void insert(int connector, TGCModuleId *moduleId)
 
virtual ~TGCCabling(void)
 
bool getReadoutFromLowPtCoincidence(TGCId::SideType side, int rodId, int sswId, int sbLoc, int &channel, int block, int pos, bool middle=false) const
 
TGCModuleId * popModuleId(int entry)
 
bool getLowPtCoincidenceFromReadout(TGCId::SideType side, int rodId, int sswId, int sbLoc, int channel, int &block, int &pos, bool middle=false) const
 
virtual int getSector() const
 
virtual bool isValid(void) const
 
static constexpr int NUM_ENDCAP_SECTOR
 
bool getHighPtIDFromReadout(TGCId::SideType side, int rodId, int sswId, int sbLoc, int channel, TGCId::SignalType &signal, TGCId::RegionType ®ion, int §orInReadout, int &hpbId, int &block, int &hitId, int &pos) const
 
int getIndexFromReadoutWithoutChannel(const TGCId::SideType side, const int rodId, const int sswId, const int sbLoc) const
 
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
 
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
 
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
 
StatusCode updateCableASDToPP()
 
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, const bool orChannel=false) const
 
bool getReadoutFromASDOut(const TGCChannelASDOut *asdout, TGCId::SideType &side, int &rodId, int &sswId, int &sbLoc, int &channel, bool orChannel=false) const
 
TGCModuleId * getSLBFromRxId(TGCId::SideType side, int rodId, int sswId, int rxId) const
 
bool getReadoutFromSLB(const TGCModuleSLB *slb, TGCId::SideType &side, int &rodId, int &sswId, int &sbLoc) const