|
ATLAS Offline Software
|
#include <TGCSector.h>
|
| TGCSector (TGCArguments *, int idIn, TGCRegionType type, TGCForwardBackwardType forwardBackward, const TGCDatabaseManager *db, std::shared_ptr< const LVL1TGC::TGCTMDB > tmdb, std::shared_ptr< const LVL1TGC::TGCNSW > nsw, std::shared_ptr< const LVL1TGC::TGCBIS78 > bis78) |
|
| TGCSector () |
|
virtual | ~TGCSector () |
|
bool | hasHit () const |
|
void | clearNumberOfHit () |
|
int | distributeSignal (const TGCASDOut *asdOut) |
|
TGCPatchPanel * | getPP (int type, int index) const |
|
TGCSlaveBoard * | getSB (int type, int index) const |
|
TGCHighPtBoard * | getHPB (int type, int index) const |
|
TGCSectorLogic * | getSL () |
|
unsigned int | getNumberOfPP (int type) const |
|
unsigned int | getNumberOfSB (int type) const |
|
unsigned int | getNumberOfHPB (int type) const |
|
TGCRegionType | getRegionType () const |
|
int | getId () const |
|
void | dumpModule () |
|
LVL1TGC::TGCSide | getSideId () const |
|
int | getOctantId () const |
|
int | getModuleId () const |
|
TGCArguments * | tgcArgs () |
|
const TGCArguments * | tgcArgs () const |
|
Definition at line 31 of file TGCSector.h.
◆ TGCHighPtBoardType
Enumerator |
---|
WHPB | |
SHPB | |
NumberOfHighPtBoardType | |
Definition at line 34 of file TGCSector.h.
◆ TGCPatchPanelType
Enumerator |
---|
NOPP | |
WTPP | |
WDPP | |
STPP | |
SDPP | |
WIPP | |
SIPP | |
NumberOfPatchPanelType | |
Definition at line 35 of file TGCSector.h.
◆ TGCSector() [1/3]
◆ TGCSector() [2/3]
LVL1TGCTrigger::TGCSector::TGCSector |
( |
| ) |
|
Definition at line 87 of file TGCSector.cxx.
97 m_PP[iPatchPanelType].clear();
100 m_SB[iSlaveBoardType].clear();
103 m_HPB[iHighPtBoardType].clear();
◆ TGCSector() [3/3]
◆ ~TGCSector()
LVL1TGCTrigger::TGCSector::~TGCSector |
( |
| ) |
|
|
virtual |
Definition at line 376 of file TGCSector.cxx.
380 for (
unsigned int j=0; j<
m_PP[
i].size(); j++) {
387 for (
unsigned int j=0; j <
m_SB[
i].size(); j+=1) {
394 for(
unsigned int j=0; j <
m_HPB[
i].size(); j+=1) {
◆ clearNumberOfHit()
void LVL1TGCTrigger::TGCSector::clearNumberOfHit |
( |
| ) |
|
|
inline |
◆ connectAdjacentHPB()
void LVL1TGCTrigger::TGCSector::connectAdjacentHPB |
( |
| ) |
|
|
private |
◆ connectAdjacentPP()
void LVL1TGCTrigger::TGCSector::connectAdjacentPP |
( |
| ) |
|
|
private |
Definition at line 292 of file TGCSector.cxx.
294 for (
unsigned int iPP = 1; iPP <
m_PP[
WDPP].size(); iPP++) {
299 for (
unsigned int iPP = 1; iPP <
m_PP[
WTPP].size(); iPP++) {
304 for (
unsigned int iPP = 1; iPP <
m_PP[
STPP].size(); iPP++) {
309 for (
unsigned int iPP = 1; iPP <
m_PP[
SDPP].size(); iPP++) {
315 for (TGCPatchPanel* ppasic :
m_PP[
i]) {
◆ connectHPBToSL()
Definition at line 343 of file TGCSector.cxx.
348 for (
unsigned int iHPB = 0; iHPB <
m_HPB[
WHPB].size(); iHPB++){
351 for (
unsigned int iHPB = 0; iHPB <
m_HPB[
SHPB].size(); iHPB++) {
◆ connectPPToSB()
Definition at line 253 of file TGCSector.cxx.
256 int startType, endType;
267 for (
int i=startType;
i <= endType;
i++) {
269 std::cerr <<
"connectionPPToSB :"
272 <<
" #PP=" <<
m_PP[
i].size()
273 <<
" #SB=" <<
m_SB[
i].size()
276 for(
unsigned int iPP = 0; iPP <
m_PP[
i].size(); iPP++) {
277 for ( iPort = 0; iPort < connection->getNumberOfPort(); iPort += 1) {
278 m_PP[
i][iPP]->setIdSlaveBoard(iPort,connection->getSBIdToPP(
i,iPort,iPP));
279 for (
unsigned int iSB = 0; iSB <
m_SB[
i].size(); iSB++) {
◆ connectSBToHPB()
Definition at line 321 of file TGCSector.cxx.
324 if (
i==
WISB )
continue;
325 if (
i==
SISB )
continue;
327 for (
unsigned int iSB = 0; iSB <
m_SB[
i].size(); iSB++) {
328 m_SB[
i][iSB]->setIdHighPtBoard(connection->getHPBIdToSB(
i,iSB));
330 for (
unsigned int iHPB = 0; iHPB <
m_HPB[
type].size(); iHPB += 1){
333 m_HPB[
type].at(iHPB)->setDSB(connection->getHPBPortToSB(
i,iSB),
m_SB[
i][iSB]);
335 m_HPB[
type].at(iHPB)->setTSB(connection->getHPBPortToSB(
i,iSB),
m_SB[
i][iSB]);
◆ distributeSignal()
int LVL1TGCTrigger::TGCSector::distributeSignal |
( |
const TGCASDOut * |
asdOut | ) |
|
Definition at line 31 of file TGCSector.cxx.
37 TGCReadoutIndex readoutIndex;
38 readoutIndex = ASDOut->GetTGCReadoutIndex();
40 int layer = readoutIndex.GetLayerNumber();
41 int rNumber = readoutIndex.GetRNumber();
42 int ch = ASDOut->GetHitID();
56 <<
"signalType= " << ((signalType ==
WIRE) ?
"Wire" :
"Strip")
57 <<
" layer= " <<
layer <<
" rNumber= " <<rNumber <<
" ch= "<<
ch
58 <<
"id(PP)= " <<idPP <<
" connector(PP)= " <<conPP <<
" ch(PP)= " <<chPP
64 m_PP[PPType][idPP]->setASDOut(chPP,conPP,ASDOut);
◆ dumpModule()
void LVL1TGCTrigger::TGCSector::dumpModule |
( |
| ) |
|
Definition at line 403 of file TGCSector.cxx.
410 std::cout <<
"numberOfPP(index in a type): " <<
m_PP[j].size() << std::endl;
411 for (TGCPatchPanel* ppasic :
m_PP[j]) {
412 std::cout <<
" Type:" << ppasic->getType();
413 std::cout <<
" Id:" << ppasic->getId();
421 std::cout <<
"numberOfSB(index in a type): " <<
m_SB[j].size() << std::endl;
422 for (
unsigned int i=0;
i <
m_SB[j].size();
i++) {
423 std::cout <<
" Type:" <<
m_SB[j][
i]->getType();
424 std::cout <<
" Id:" <<
m_SB[j][
i]->getId();
431 std::cout <<
"numberOfHPB(index in a type):" <<
m_HPB[j].size() << std::endl;
432 for(
unsigned int i=0;
i <
m_HPB[j].size();
i+=1) {
433 std::cout <<
" Type:" <<
m_HPB[j][
i]->getType();
434 std::cout <<
" Id:" <<
m_HPB[j][
i]->getId();
439 std::cout <<
"SectorLogic" << std::endl;
441 std::cout <<
"SL:" <<
m_SL << std::endl;
443 std::cout <<
" Region:";
445 std::cout <<
"Endcap" << std::endl;
447 std::cout <<
"Forward" << std::endl;
450 std::cout <<
"NO SL" << std::endl;
◆ getBIS78()
◆ getHPB()
TGCHighPtBoard * LVL1TGCTrigger::TGCSector::getHPB |
( |
int |
type, |
|
|
int |
index |
|
) |
| const |
|
inline |
◆ getId()
int LVL1TGCTrigger::TGCSector::getId |
( |
| ) |
const |
|
inline |
◆ getModuleId()
int LVL1TGCTrigger::TGCSector::getModuleId |
( |
| ) |
const |
|
inline |
◆ getNSW()
◆ getNumberOfHPB()
unsigned int LVL1TGCTrigger::TGCSector::getNumberOfHPB |
( |
int |
type | ) |
const |
|
inline |
◆ getNumberOfPP()
unsigned int LVL1TGCTrigger::TGCSector::getNumberOfPP |
( |
int |
type | ) |
const |
|
inline |
◆ getNumberOfSB()
unsigned int LVL1TGCTrigger::TGCSector::getNumberOfSB |
( |
int |
type | ) |
const |
|
inline |
◆ getOctantId()
int LVL1TGCTrigger::TGCSector::getOctantId |
( |
| ) |
const |
|
inline |
◆ getPatchPanelType()
int LVL1TGCTrigger::TGCSector::getPatchPanelType |
( |
TGCSignalType |
signal, |
|
|
int |
layer |
|
) |
| const |
|
private |
◆ getPP()
TGCPatchPanel * LVL1TGCTrigger::TGCSector::getPP |
( |
int |
type, |
|
|
int |
index |
|
) |
| const |
|
inline |
◆ getRegionType()
◆ getSB()
TGCSlaveBoard * LVL1TGCTrigger::TGCSector::getSB |
( |
int |
type, |
|
|
int |
index |
|
) |
| const |
|
inline |
◆ getSideId()
◆ getSL()
◆ getTMDB()
◆ hasHit()
bool LVL1TGCTrigger::TGCSector::hasHit |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ setModule()
Definition at line 163 of file TGCSector.cxx.
167 for (
int jpp=0; jpp <=
SDPP; jpp++) {
168 m_PP[jpp].resize(connection->getPPToSB()->getNumber(jpp));
169 for (
unsigned int i=0;
i <
m_PP[jpp].size();
i++) {
174 m_PP[jpp][
i]->setId(connection->getPPToSB()->getId(jpp,
i));
175 m_PP[jpp][
i]->setType(jpp);
184 for (
int jsb=0; jsb <=
SDSB; jsb++) {
185 m_SB[jsb].resize(connection->getSBToHPB()->getNumber(jsb));
186 for (
unsigned int i=0;
i <
m_SB[jsb].size();
i++) {
187 if (jsb ==
WTSB) {
m_SB[jsb][
i] =
new TGCWireTripletSB(); }
188 else if (jsb ==
WDSB) {
m_SB[jsb][
i] =
new TGCWireDoubletSB(); }
189 else if (jsb ==
STSB) {
m_SB[jsb][
i] =
new TGCStripTripletSB();}
190 else if (jsb ==
SDSB) {
m_SB[jsb][
i] =
new TGCStripDoubletSB();}
191 m_SB[jsb][
i]->setId(connection->getSBToHPB()->getId(jsb,
i));
192 m_SB[jsb][
i]->setType(jsb);
202 m_HPB[jhp].resize(connection->getHPBToSL()->getNumber(jhp));
203 for (
unsigned int i=0;
i <
m_HPB[jhp].size();
i++) {
204 if(jhp ==
WHPB)
m_HPB[jhp][
i] =
new TGCWireHighPtBoard;
205 if(jhp ==
SHPB)
m_HPB[jhp][
i] =
new TGCStripHighPtBoard;
206 m_HPB[jhp][
i]->setId(connection->getHPBToSL()->getId(jhp,
i));
207 m_HPB[jhp][
i]->setType(jhp);
217 for (
int jpp=0; jpp <=
SDPP; jpp++) {
221 m_PP[jpp].resize(connection->getPPToSB()->getNumber(jpp));
222 for (
unsigned int i=0;
i <
m_PP[jpp].size();
i++) {
225 m_PP[jpp][
i]->setId(connection->getPPToSB()->getId(jpp,
i));
226 m_PP[jpp][
i]->setType(jpp);
232 for (
int jsb=0; jsb<=
SDSB; jsb+=1) {
237 m_SB[jsb][0] =
new TGCInnerSB();
238 m_SB[jsb][0]->setType(jsb);
240 m_SB[jsb][0]->setId(0);
◆ tgcArgs() [1/2]
◆ tgcArgs() [2/2]
◆ TGCTimingManager::startHighPtBoard
◆ TGCTimingManager::startPatchPanel
◆ TGCTimingManager::startSectorLogic
◆ TGCTimingManager::startSlaveBoard
◆ m_ASDToPP
◆ m_BIS78
◆ m_dbMgr
◆ m_forwardBackward
◆ m_HPB
◆ m_id
int LVL1TGCTrigger::TGCSector::m_id {0} |
|
private |
◆ m_moduleId
int LVL1TGCTrigger::TGCSector::m_moduleId |
|
private |
◆ m_NSW
◆ m_numberOfHit
int LVL1TGCTrigger::TGCSector::m_numberOfHit |
|
private |
◆ m_octantId
int LVL1TGCTrigger::TGCSector::m_octantId |
|
private |
◆ m_PP
◆ m_regionType
◆ m_SB
◆ m_sideId
◆ m_SL
◆ m_tgcArgs
◆ m_TMDB
The documentation for this class was generated from the following files:
TGCRegionType getRegion() const
class TGCPatchPanel TGCWireTripletPP
int getPatchPanelType(TGCSignalType signal, int layer) const
void connectPPToSB(const TGCConnectionPPToSB *connection)
void setBIS78(std::shared_ptr< const LVL1TGC::TGCBIS78 > bis78)
class TGCPatchPanel TGCStripTripletPP
const TGCDatabaseManager * m_dbMgr
class TGCPatchPanel TGCWireDoubletPP
void setNSW(std::shared_ptr< const LVL1TGC::TGCNSW > nsw)
TGCForwardBackwardType m_forwardBackward
IMessageSvc * getMessageSvc(bool quiet=false)
std::shared_ptr< const LVL1TGC::TGCTMDB > m_TMDB
void connectHPBToSL(const TGCConnectionHPBToSL *connection)
TGCSSCController * getSSCController()
std::vector< TGCHighPtBoard * > m_HPB[NumberOfHighPtBoardType]
void setTMDB(std::shared_ptr< const LVL1TGC::TGCTMDB > tmdb)
LVL1TGC::TGCSide m_sideId
std::vector< TGCPatchPanel * > m_PP[NumberOfPatchPanelType]
void setWireHighPtBoard(int port, TGCHighPtBoard *highPtBoard)
void setModule(const TGCConnectionPPToSL *connection)
class TGCPatchPanel TGCStripDoubletPP
void connectSBToHPB(const TGCConnectionSBToHPB *connection)
const TGCConnectionASDToPP * m_ASDToPP[NumberOfPatchPanelType]
std::vector< TGCSlaveBoard * > m_SB[NumberOfSlaveBoardType]
void setNumberOfWireHighPtBoard(int iData)
TGCRegionType m_regionType
class TGCPatchPanel TGCStripInnerPP
void setStripHighPtBoard(TGCHighPtBoard *highPtBoard)
class TGCPatchPanel TGCWireInnerPP
TGCSide
The sides of TGC (A- or C-side)
@ NumberOfHighPtBoardType
void connectAdjacentHPB()
std::shared_ptr< const LVL1TGC::TGCNSW > m_NSW
std::shared_ptr< const LVL1TGC::TGCBIS78 > m_BIS78
int getConnection(const int sideId, const int layer, const int chamber, const int line, int *pp, int *connector, int *channel) const