ATLAS Offline Software
Loading...
Searching...
No Matches
TileTMDBRawChannelMonitorAlgorithm.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 TILEMONITORING_TILETMDBRAWCHANNELMONITORALGORITHM_H
6#define TILEMONITORING_TILETMDBRAWCHANNELMONITORALGORITHM_H
7
8// Tile includes
12
13// Atlas includes
19
20class TileHWID;
21
23 public:
24
27
28 virtual StatusCode initialize() override;
29 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
30 private:
31
32 int tilemodule_to_check(int sector) const;
33 float calc_dR(float dEta, float dPhi) const;
34
35 Gaudi::Property<std::vector<int>> m_nChannels{this,
36 "NumberOfChannels", {8, 8, 4, 4}, "Number of TMDB channels per module in (LBA, LBC, EBA, EBC)"};
37
38 Gaudi::Property<float> m_amplitudeThreshold{this,
39 "AmplitudeThresholdForTime", 80, "Amplitude threashold for timing histograms"};
40
41 Gaudi::Property<bool> m_isDSP{this,
42 "DSP", true, "TMDB Raw Channels container comes from DSP"};
43
44 Gaudi::Property<bool> m_fillRawChannelHistograms{this,
45 "FillRawChannelHistograms", true, "Fill TMDB raw channel histograms"};
46
47 Gaudi::Property<bool> m_fillEfficiencyHistograms{this,
48 "FillEfficiencyHistograms", false, "Fill TMDB efficiency histograms"};
49
50 Gaudi::Property<unsigned> m_numberOfThresholds{this,
51 "NumberOfThresholds", 1, "Number of thresholds to check (Run2: 2, Run3: 1)"};
52
54 "MuRcvRawChCnt", "MuRcvRawChCnt", "TMDB raw container"};
55
57 "MuonContainer", "Muons", "Input Muons container key"};
58
60 "TrigMuonContainer", "LVL1MuonRoIs", "Input LVL1 Muon RoIs container key"};
61
62 ToolHandle<ITileCondToolTMDB> m_tileCondToolTMDB{this,
63 "TileCondToolTMDB", "TileCondToolTMDB", "Tile TMDB conditions tool"};
64
69 "TileCablingSvc", "TileCablingSvc", "The Tile cabling service"};
70
71 const TileHWID* m_tileHWID{nullptr};
72
73 std::vector<int> m_ampGroups;
74 std::vector<int> m_timeGroups;
75 std::vector<std::vector<int>> m_ampCell;
76 std::vector<std::vector<int>> m_timeCell;
77
78 std::vector<int> m_tgcSectorGroup;
79 std::vector<std::vector<std::vector<int>>> m_coinThrDGroup;
80};
81#endif // TILEMONITORING_TILETMDBRAWCHANNELMONITORALGORITHM_H
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_muonRoIsContainerKey
virtual ~TileTMDBRawChannelMonitorAlgorithm()=default
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
std::vector< std::vector< std::vector< int > > > m_coinThrDGroup
Gaudi::Property< std::vector< int > > m_nChannels
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
void initialize()