ATLAS Offline Software
TGCBIS78CoincidenceMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TrigT1TGC_BIS78CoincidenceMap_H_
5 #define TrigT1TGC_BIS78CoincidenceMap_H_
6 
7 #include <vector>
8 #include <map>
9 #include <string>
10 
12 #include "GaudiKernel/ToolHandle.h"
13 #include "TrigT1TGC/TGCNumbering.h"
14 
15 namespace LVL1TGCTrigger {
16 class TGCArguments;
17 }
18 
19 namespace LVL1TGC {
20 
21 class BIS78TrigOut;
22 
24  public:
25  TGCBIS78CoincidenceMap(LVL1TGCTrigger::TGCArguments* tgcargs, const std::string& version);
26  virtual ~TGCBIS78CoincidenceMap() = default;
27 
29 
30  public:
31  int TGCBIS78_pt(const BIS78TrigOut *bis78Out, int /*roi*/) const;
32  int getFlagROI(const unsigned int roi, const unsigned int ssc, const unsigned int sec, const unsigned int side) const;
33  const std::string& getVersion() const { return m_verName; }
34 
35  bool readMap();
38 
39  private:
40  TGCBIS78CoincidenceMap() = delete;// hide default constructor
41 
42  private:
43  static constexpr unsigned int N_DETA = 64;
44  static constexpr unsigned int N_DPHI = 16;
45 
46  private:
47  std::vector<short int> m_CW[N_DETA][N_DPHI];
48 
49  int m_flagROI[kNRoiInSSC][kNMaxSSC][kNEndcapTrigSector];
50  // 1 use; 0: not use; -1: not used for Trigger
51 
52  std::string m_verName;
53 
55 };
56 
57 } // end of namespace
58 
59 #endif // TrigT1TGC_BIS78CoincidenceMap_H_
60 
LVL1TGC::TGCBIS78CoincidenceMap::m_flagROI
int m_flagROI[kNRoiInSSC][kNMaxSSC][kNEndcapTrigSector]
Definition: TGCBIS78CoincidenceMap.h:49
LVL1TGC::BIS78TrigOut
Definition: BIS78TrigOut.h:16
LVL1TGC::TGCBIS78CoincidenceMap::readMap
bool readMap()
Definition: TGCBIS78CoincidenceMap.cxx:91
LVL1TGC::TGCBIS78CoincidenceMap::~TGCBIS78CoincidenceMap
virtual ~TGCBIS78CoincidenceMap()=default
TRT::Hit::side
@ side
Definition: HitInfo.h:83
LVL1TGC::TGCBIS78CoincidenceMap
Definition: TGCBIS78CoincidenceMap.h:23
LVL1TGC::TGCBIS78CoincidenceMap::N_DETA
static constexpr unsigned int N_DETA
Definition: TGCBIS78CoincidenceMap.h:43
LVL1TGC::TGCBIS78CoincidenceMap::m_tgcArgs
LVL1TGCTrigger::TGCArguments * m_tgcArgs
Definition: TGCBIS78CoincidenceMap.h:54
LVL1TGC::TGCBIS78CoincidenceMap::m_verName
std::string m_verName
Definition: TGCBIS78CoincidenceMap.h:52
LVL1TGC
Definition: BigWheelCoincidenceLUT.cxx:20
LVL1TGC::TGCBIS78CoincidenceMap::TGCBIS78CoincidenceMap
TGCBIS78CoincidenceMap(const TGCBIS78CoincidenceMap &right)
LVL1TGC::TGCBIS78CoincidenceMap::m_CW
std::vector< short int > m_CW[N_DETA][N_DPHI]
Definition: TGCBIS78CoincidenceMap.h:47
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
LVL1TGC::TGCBIS78CoincidenceMap::N_DPHI
static constexpr unsigned int N_DPHI
Definition: TGCBIS78CoincidenceMap.h:44
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGC::TGCBIS78CoincidenceMap::getFlagROI
int getFlagROI(const unsigned int roi, const unsigned int ssc, const unsigned int sec, const unsigned int side) const
Definition: TGCBIS78CoincidenceMap.cxx:76
TGCNumbering.h
LVL1TGC::TGCBIS78CoincidenceMap::tgcArgs
const LVL1TGCTrigger::TGCArguments * tgcArgs() const
Definition: TGCBIS78CoincidenceMap.h:37
LVL1TGCTrigger::TGCArguments
Definition: TGCArguments.h:12
get_generator_info.version
version
Definition: get_generator_info.py:33
LVL1TGC::TGCBIS78CoincidenceMap::TGCBIS78CoincidenceMap
TGCBIS78CoincidenceMap()=delete
LVL1TGC::TGCBIS78CoincidenceMap::tgcArgs
LVL1TGCTrigger::TGCArguments * tgcArgs()
Definition: TGCBIS78CoincidenceMap.h:36
LVL1TGC::TGCBIS78CoincidenceMap::getVersion
const std::string & getVersion() const
Definition: TGCBIS78CoincidenceMap.h:33
AthMessaging.h
LVL1TGC::TGCBIS78CoincidenceMap::TGCBIS78_pt
int TGCBIS78_pt(const BIS78TrigOut *bis78Out, int) const
Definition: TGCBIS78CoincidenceMap.cxx:56