|
ATLAS Offline Software
|
Go to the documentation of this file.
60 bool orChannel)
const {
71 bool orChannel)
const {
72 if(orChannel)
return nullptr;
73 if(asdout->
isValid()==
false)
return nullptr;
107 if(
i<0)
return nullptr;
116 if(
channel==-1)
return nullptr;
130 bool orChannel)
const {
131 if(orChannel)
return nullptr;
132 if(asdin->
isValid()==
false)
return nullptr;
134 const bool asdinisEndcap = asdin->
isEndcap();
135 const bool asdinisTriplet = asdin->
isTriplet();
136 const int asdinLayer = asdin->
getLayer();
176 for(
int i=0;
i<MaxEntry;
i++){
179 if(asdinisEndcap&&asdinisTriplet)
180 dbChamber = dbChamber-1;
182 int dbChannel = asdinChannel-1;
193 bool is_Backward =
false;
196 if(asdin->
isAside()) is_Backward = (sector%2==1);
197 else is_Backward = (sector%2==0);
202 if(asdin->
isAside()) is_Backward =
false;
203 else is_Backward =
true;
204 }
else if(sector == 16) {
205 if(asdin->
isAside()) is_Backward =
true;
206 else is_Backward =
false;
210 if(asdin->
isAside()) is_Backward = (sector%3==2);
211 else is_Backward = (sector%3!=2);
215 if(asdin->
isAside()) is_Backward =
true;
217 if(( is_Backward && asdin->
isAside()) ||
218 (!is_Backward && asdin->
isCside()))
223 if(
channel==-1)
return nullptr;
virtual bool isValid() const
SideType getSideType(void) const
SignalType getSignalType(void) const
virtual TGCChannelId * getChannelOut(const TGCChannelId *asdin, bool orChannel=false) const
RegionType getRegionType(void) const
ModuleType getModuleType(void) const
static constexpr int NUM_INNER_SECTOR
virtual TGCChannelId * getChannelIn(const TGCChannelId *asdout, bool orChannel=false) const
static constexpr int NUM_FORWARD_SECTOR
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
virtual int getIndexDBIn(int *indexIn) const
virtual int getEntry(int entry, int column) const
virtual int getMaxEntry(void) const
virtual int getSector() const
TGCDatabase * m_database[TGCId::MaxRegionType][TGCId::MaxModuleType]
static constexpr int NUM_ENDCAP_SECTOR
virtual ~TGCCableInASD(void)