|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/ISvcLocator.h"
16 #include "GaudiKernel/Bootstrap.h"
17 #include "GaudiKernel/MsgStream.h"
18 #include "GaudiKernel/IMessageSvc.h"
26 ISvcLocator* svcLocator = Gaudi::svcLocator();
27 if (svcLocator->service(
"MessageSvc",
msgSvc) == StatusCode::FAILURE) return ;
28 MsgStream
log(
msgSvc,
"LVL1TGCTrigger::TGCPatchPanel");
38 log << MSG::INFO <<
"\t "
43 <<
m_id<<
" "<<
i<<
" "<<j;
70 for( j=0; j<nCh; j+=1)
102 m_bunchCounter(0), m_hasASDOut(false), m_hasBIDOut(false), m_nHit(0), m_tgcArgs(tgcargs)
127 if (
this != &right) {
273 std::cout<<std::endl;
291 for( j=0; j<nCh; j+=1){
311 std::cerr <<
"NO BID OUT" << std::endl;
316 std::cerr <<
"NO PP IN" << std::endl;
336 for ( j=0; j<nCh; j+=1)
341 #ifdef TGCDEBUG_CONNECTION
342 std::cout <<
"#PP Oring:PPOutID= " <<
i
343 <<
" ConID= " << con <<
" ChID= " << j
422 std::cerr <<
"TGCPatchPanel::getOutput: illeagal SBID "<< SBId << std::endl;
437 std::cout <<
"TGCPatchPanel::setASDOut "
440 std::cout <<
"setASDOut0: ch= "<<
ch<<
" con= "<<connector
443 std::cout<<
"setASDOut: Double Count.";
472 std::cout<<
"TGCPatchPanel::setAdjacentPP: connect PP(type="<<PP->
getType()<<
",ID="<<PP->
getId()<<
")to Side"<<
side<<
" PP(type="<<this->
getType()<<
",ID="<<this->
getId()<<
")"<<std::endl;
void setOrigin(const TGCPatchPanel *pp)
TGCReadoutIndex GetTGCReadoutIndex() const
int getConnectorIn(int connectorOut, int chOut)
void print(int unit) const
TGCConnectionInPP * m_connectionInPP
int getIdSlaveBoard(int port) const
const TGCASDOut * m_ASDOut[NChOfPPOutputConnector][MaxNumberOfConnector]
TGCPatchPanel(TGCArguments *)
int getOredChannelIn(int connectorOut, int chOut)
const int NChOfPPOutputConnector
TGCPatchPanel * m_PPAdj[2]
TGCPatchPanel * getOredPPIn(int connectorOut, int chOut)
int getNumberOfChannel(int i) const
int getChannelIn(int connectorOut, int chOut)
void setHitPattern(int connector, int nCh)
void eraseOutput(int SBId)
void onChannel(int iChannel)
int GetLayerNumber() const
void setASDOut(int ch, int connector, const TGCASDOut *asdOut)
bool existOredSignal() const
TGCBIDOut * m_BIDOut[NChOfPPOutputConnector][MaxNumberOfConnector][NumberOfBunchKeptInPP]
msgSvc
Provide convenience handles for various services.
TGCSignalType GetSignalType() const
TGCPatchPanelOut * m_PPOut[NumberOfPatchPanelOut]
void setAdjacentPP(int side, TGCPatchPanel *PP)
void readConnectionTable(TGCPatchPanel *PP)
const int NumberOfBunchKeptInPP
void setIdSlaveBoard(int port, int id)
TGCBIDOut * getBIDOut(int ch, int connector, int bunch)
TGCPatchPanelOut * getOutput(int SBId)
const int NumberOfConnectorPerPPOut
int m_idSlaveBoard[NumberOfPatchPanelOut]
TGCPatchPanel & operator=(const TGCPatchPanel &right)
void setBid(const int bidIn)
void clockIn(int bunch, TGCDatabaseManager *db=0)
std::string getTypeName(int typeIn) const
int getInputConnectorIndex(const int connectorId) const
const TGCHitPattern * getHitPattern(int connector) const
int getOredConnectorIn(int connectorOut, int chOut)
const TGCArguments * tgcArgs() const
const int NumberOfPatchPanelOut
const int MaxNumberOfConnector
TGCPatchPanel * getPPIn(int connectorOut, int chOut)