ATLAS Offline Software
getQuadrant.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 #ifndef XAODTRIGGER_GETQUADRANT_H
3 #define XAODTRIGGER_GETQUADRANT_H
4 
5 namespace {
13  inline unsigned int getQuadrant(unsigned int fpgaNumber) {
14  switch(fpgaNumber) {
15  case 2:
16  return 3;
17  case 3:
18  return 2;
19  default:
20  return fpgaNumber;
21  }
22  }
23 }
24 
25 #endif // XAODTRIGGER_GETQUADRANT_H