ATLAS Offline Software
TrigT1MBTS.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1MBTS_H
6 #define TRIGT1MBTS_H
7 
9 
10 #include "GaudiKernel/ServiceHandle.h"
11 
14 
15 #include <string>
16 #include <vector>
17 
18 namespace LVL1 {
28  class TrigT1MBTS: public AthAlgorithm {
29  public:
30  TrigT1MBTS(const std::string& name, ISvcLocator* pSvcLocator);
31 
34 
35  private:
40  const TileTBID* m_tileTBID{nullptr};
41 
46  Gaudi::Property<std::string> m_tileTTL1ContainerName{this, "TileTTL1ContainerName", "TileTTL1MBTS"};
47 
49  std::vector<float> m_thresholds_a; // backward thresholds
50  std::vector<float> m_thresholds_short_a; // backward thresholds with size 12
51  std::vector<float> m_thresholds_c; // forward thresholds
52  std::vector<float> m_thresholds_short_c; // forward thresholds with size 12
53 
54  int m_cablestart_a{0}; // backward threshold cable start
55  int m_cablestart_c{0}; // forward threshold cable start
56  std::vector<int> m_cablestarts_a; // backward threshold cable starts
57  std::vector<int> m_cablestarts_c; // forward threshold cable starts
58 
60  std::vector<std::vector<unsigned int> > m_thresholdNumber;
61  std::vector<std::vector<unsigned int> > m_thresholdNumber12;
62 
64  Gaudi::Property<unsigned int> m_tZeroBin{this, "TzeroBin", 3};
65  float m_CFD_fraction{0.9};
66 
68  bool m_badDataFound{false};
69 
70  bool m_ThrVecSize12{false};
73  //bool m_singleCounterInputs;
74  };
75 }
76 
77 #endif
LVL1::TrigT1MBTS::initialize
StatusCode initialize()
Definition: TrigT1MBTS.cxx:18
LVL1::TrigT1MBTS::m_thresholds_a
std::vector< float > m_thresholds_a
The thresholds for the level 1 MBTS trigger.
Definition: TrigT1MBTS.h:49
LVL1::TrigT1MBTS::m_thresholds_short_c
std::vector< float > m_thresholds_short_c
Definition: TrigT1MBTS.h:52
LVL1::TrigT1MBTS::m_cablestart_c
int m_cablestart_c
Definition: TrigT1MBTS.h:55
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:40
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:61
LVL1::TrigT1MBTS::execute
StatusCode execute()
Definition: TrigT1MBTS.cxx:179
LVL1::TrigT1MBTS::m_cablestarts_a
std::vector< int > m_cablestarts_a
Definition: TrigT1MBTS.h:56
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:60
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:64
LVL1::TrigT1MBTS
Definition: TrigT1MBTS.h:28
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:70
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:68
TrigConf::name
Definition: HLTChainList.h:35
LVL1::TrigT1MBTS::m_thresholds_short_a
std::vector< float > m_thresholds_short_a
Definition: TrigT1MBTS.h:50
LVL1::TrigT1MBTS::TrigT1MBTS
TrigT1MBTS(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigT1MBTS.cxx:11
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:46
LVL1::TrigT1MBTS::m_cablestarts_c
std::vector< int > m_cablestarts_c
Definition: TrigT1MBTS.h:57
LVL1::TrigT1MBTS::m_thresholds_c
std::vector< float > m_thresholds_c
Definition: TrigT1MBTS.h:51
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
TileTBID.h
LVL1::TrigT1MBTS::m_CFD_fraction
float m_CFD_fraction
Definition: TrigT1MBTS.h:65
TileContainer.h
LVL1::TrigT1MBTS::m_cablestart_a
int m_cablestart_a
Definition: TrigT1MBTS.h:54