ATLAS Offline Software
Loading...
Searching...
No Matches
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>
12class TileTBID;
13
14namespace LVL1 {
24 class TrigT1MBTS: public AthAlgorithm {
25 public:
26 TrigT1MBTS(const std::string& name, ISvcLocator* pSvcLocator);
27
28 StatusCode initialize();
29 StatusCode execute();
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< float > m_thresholds_short_c
Definition TrigT1MBTS.h:48
std::vector< float > m_thresholds_c
Definition TrigT1MBTS.h:47
const TileTBID * m_tileTBID
A data member to retain a pointer to the Tile Test Beam Identifier service.
Definition TrigT1MBTS.h:36
StatusCode initialize()
StatusCode execute()
std::vector< std::vector< unsigned int > > m_thresholdNumber12
Definition TrigT1MBTS.h:57
std::vector< float > m_thresholds_a
The thresholds for the level 1 MBTS trigger.
Definition TrigT1MBTS.h:45
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
std::vector< int > m_cablestarts_a
Definition TrigT1MBTS.h:52
std::vector< std::vector< unsigned int > > m_thresholdNumber
A data member containing the mapping from channel,phi to threshold number.
Definition TrigT1MBTS.h:56
Gaudi::Property< unsigned int > m_tZeroBin
The index of the sample bin corresponding to a particle arriving from the IP.
Definition TrigT1MBTS.h:60
TrigT1MBTS(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< int > m_cablestarts_c
Definition TrigT1MBTS.h:53
bool m_badDataFound
A flag to prevent the trigger simulation from running over bad input data.
Definition TrigT1MBTS.h:64
std::vector< float > m_thresholds_short_a
Definition TrigT1MBTS.h:46
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...