ATLAS Offline Software
TrigT1MBTS.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1MBTS_H
6 #define TRIGT1MBTS_H
7 
9 
10 #include <string>
11 #include <vector>
12 class TileTBID;
13 
14 namespace LVL1 {
24  class TrigT1MBTS: public AthAlgorithm {
25  public:
26  TrigT1MBTS(const std::string& name, ISvcLocator* pSvcLocator);
27 
30 
31  private:
36  const TileTBID* m_tileTBID{nullptr};
37 
42  Gaudi::Property<std::string> m_tileTTL1ContainerName{this, "TileTTL1ContainerName", "TileTTL1MBTS"};
43 
45  std::vector<float> m_thresholds_a; // backward thresholds
46  std::vector<float> m_thresholds_short_a; // backward thresholds with size 12
47  std::vector<float> m_thresholds_c; // forward thresholds
48  std::vector<float> m_thresholds_short_c; // forward thresholds with size 12
49 
50  int m_cablestart_a{0}; // backward threshold cable start
51  int m_cablestart_c{0}; // forward threshold cable start
52  std::vector<int> m_cablestarts_a; // backward threshold cable starts
53  std::vector<int> m_cablestarts_c; // forward threshold cable starts
54 
56  std::vector<std::vector<unsigned int> > m_thresholdNumber;
57  std::vector<std::vector<unsigned int> > m_thresholdNumber12;
58 
60  Gaudi::Property<unsigned int> m_tZeroBin{this, "TzeroBin", 3};
61  float m_CFD_fraction{0.9};
62 
64  bool m_badDataFound{false};
65 
66  bool m_ThrVecSize12{false};
69  //bool m_singleCounterInputs;
70  };
71 }
72 
73 #endif
LVL1::TrigT1MBTS::initialize
StatusCode initialize()
Definition: TrigT1MBTS.cxx:20
LVL1::TrigT1MBTS::m_thresholds_a
std::vector< float > m_thresholds_a
The thresholds for the level 1 MBTS trigger.
Definition: TrigT1MBTS.h:45
LVL1::TrigT1MBTS::m_thresholds_short_c
std::vector< float > m_thresholds_short_c
Definition: TrigT1MBTS.h:48
LVL1::TrigT1MBTS::m_cablestart_c
int m_cablestart_c
Definition: TrigT1MBTS.h:51
LVL1::TrigT1MBTS::m_tileTBID
const TileTBID * m_tileTBID
A data member to retain a pointer to the Tile Test Beam Identifier service.
Definition: TrigT1MBTS.h:36
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::TrigT1MBTS::m_thresholdNumber12
std::vector< std::vector< unsigned int > > m_thresholdNumber12
Definition: TrigT1MBTS.h:57
LVL1::TrigT1MBTS::execute
StatusCode execute()
Definition: TrigT1MBTS.cxx:181
LVL1::TrigT1MBTS::m_cablestarts_a
std::vector< int > m_cablestarts_a
Definition: TrigT1MBTS.h:52
AthAlgorithm.h
LVL1::TrigT1MBTS::m_thresholdNumber
std::vector< std::vector< unsigned int > > m_thresholdNumber
A data member containing the mapping from channel,phi to threshold number.
Definition: TrigT1MBTS.h:56
LVL1::TrigT1MBTS::m_tZeroBin
Gaudi::Property< unsigned int > m_tZeroBin
The index of the sample bin corresponding to a particle arriving from the IP.
Definition: TrigT1MBTS.h:60
LVL1::TrigT1MBTS
Definition: TrigT1MBTS.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::TrigT1MBTS::m_ThrVecSize12
bool m_ThrVecSize12
Definition: TrigT1MBTS.h:66
AthAlgorithm
Definition: AthAlgorithm.h:47
LVL1::TrigT1MBTS::m_badDataFound
bool m_badDataFound
A flag to prevent the trigger simulation from running over bad input data.
Definition: TrigT1MBTS.h:64
TrigConf::name
Definition: HLTChainList.h:35
LVL1::TrigT1MBTS::m_thresholds_short_a
std::vector< float > m_thresholds_short_a
Definition: TrigT1MBTS.h:46
LVL1::TrigT1MBTS::TrigT1MBTS
TrigT1MBTS(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigT1MBTS.cxx:13
LVL1::TrigT1MBTS::m_tileTTL1ContainerName
Gaudi::Property< std::string > m_tileTTL1ContainerName
A data member to contain the name of the TileTTL1 container that contains the input MBTS information.
Definition: TrigT1MBTS.h:42
LVL1::TrigT1MBTS::m_cablestarts_c
std::vector< int > m_cablestarts_c
Definition: TrigT1MBTS.h:53
LVL1::TrigT1MBTS::m_thresholds_c
std::vector< float > m_thresholds_c
Definition: TrigT1MBTS.h:47
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
LVL1::TrigT1MBTS::m_CFD_fraction
float m_CFD_fraction
Definition: TrigT1MBTS.h:61
LVL1::TrigT1MBTS::m_cablestart_a
int m_cablestart_a
Definition: TrigT1MBTS.h:50