ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelTimeMonitorAlgorithm.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_TILERAWCHANNELTIMEMONITORALGORITHM_H
6#define TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_H
7
14
19
20class TileHWID;
22
23#include <array>
24
28
30
31 public:
32
35 virtual StatusCode initialize() override;
36 virtual StatusCode fillHistograms(const EventContext& ctx) const override;
37
38 private:
39
40 Gaudi::Property<bool> m_checkDCS{this, "CheckDCS", false, "Check Tile DCS status"};
41
42 Gaudi::Property<std::vector<unsigned int>> m_triggerTypes{this,
43 "TriggerTypes", {}, "Given trigger types only events with these TTs will be used, otherwise all"};
44
45 Gaudi::Property<std::vector<double>> m_energyThresholds{this,
46 "EnergyThresholds", {10, 40}, "Energy thresholds [LG, HG]"};
47
48 Gaudi::Property<std::vector<double>> m_partitionTimeCorrection{this,
49 "PartitionTimeCorrections", {-15.18, -15.37, 47.65, 47.42},
50 "Partition time corrections [LBA, LBC, EBA, EBC]"};
51
52 Gaudi::Property<std::vector<std::pair<int, int>>> m_partitionTimeDifferencePairs{this,
53 "PartitionTimeDiffferncePairs", {}, "Partition (ROS - 1) pairs to monitor time differnce"};
54
55 Gaudi::Property<int> m_fakeTime{this,
56 "FakeTime", -100, "Fake time to fill if there is no signal, but it's expected"};
57
58 Gaudi::Property<bool> m_fillFakeTime{this,
59 "FillFakeTime", true, "File fake time to fill if there is no signal, but it's expected"};
60
61 Gaudi::Property<std::vector<int>> m_amplitudeFragIDs{this,
62 "AmplitudeFragIDs", {}, "Tile Frag IDs of modules to fill histograms with amplitude vs LB."};
63
65 "TileDQstatus", "TileDQstatus", "Tile DQ status name"};
66
68 "TileRawChannelContainer", "TileRawChannelFit", "Input Tile raw channel container key"};
69
74 "TileDCS", "TileDCS", "Input Tile DCS status"};
75
80 "TileBadChannels", "TileBadChannels", "Input Tile bad channel status"};
81
86 "TileEMScale", "TileEMScale", "Input Tile EMS calibration constants"};
87
92 "TileCablingSvc", "TileCablingSvc", "The Tile cabling service"};
93
94 const TileHWID* m_tileHWID{nullptr};
96
97 std::vector<int> m_timeGroups;
98 std::vector<int> m_uncorrTimeGroups;
99 std::vector<int> m_timeLBGroups;
100 std::vector<int> m_timeDiffLBGroups;
101 std::vector<std::vector<std::vector<int>>> m_digiTimeLBGroups;
102 std::vector<int> m_amplitudeGroups;
103 std::map<std::string, int> m_amplitudeVsLBGroups;
104
105 std::array<bool, TileCalibUtils::MAX_DRAWERIDX> m_amplitudeMonitoredDrawerIdx{};
106
107 static constexpr int s_nDigitizers = 8;
109};
110
111
112#endif // TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_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.
Information produced by TileDQstatusAlg (used to be done by TileBeamInfoProvider).
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
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
virtual ~TileRawChannelTimeMonitorAlgorithm()=default
Gaudi::Property< std::vector< std::pair< int, int > > > m_partitionTimeDifferencePairs
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
Gaudi::Property< std::vector< double > > m_partitionTimeCorrection
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::vector< unsigned int > > m_triggerTypes
Gaudi::Property< std::vector< double > > m_energyThresholds
SG::ReadCondHandleKey< TileDCSState > m_DCSStateKey
Name of TileDCSState object in condition store.
Gaudi::Property< std::vector< int > > m_amplitudeFragIDs
std::vector< std::vector< std::vector< int > > > m_digiTimeLBGroups
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadCondHandleKey< TileBadChannels > m_badChannelsKey
Name of TileBadChannels in condition store.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
std::array< bool, TileCalibUtils::MAX_DRAWERIDX > m_amplitudeMonitoredDrawerIdx
void initialize()