ATLAS Offline Software
TileRawChannelTimeMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_H
6 #define TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_H
7 
14 
19 
20 class TileHWID;
21 class TileCablingService;
22 
23 #include <array>
24 
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 
56  "TileDQstatus", "TileDQstatus", "Tile DQ status name"};
57 
59  "TileRawChannelContainer", "TileRawChannelFit", "Input Tile raw channel container key"};
60 
65  "TileDCS", "TileDCS", "Input Tile DCS status"};
66 
71  "TileBadChannels", "TileBadChannels", "Input Tile bad channel status"};
72 
77  "TileEMScale", "TileEMScale", "Input Tile EMS calibration constants"};
78 
83  "TileCablingSvc", "TileCablingSvc", "The Tile cabling service"};
84 
85  const TileHWID* m_tileHWID{nullptr};
86  const TileCablingService* m_cabling{nullptr};
87 
88  std::vector<int> m_timeGroups;
89  std::vector<int> m_uncorrTimeGroups;
90  std::vector<int> m_timeLBGroups;
91  std::vector<int> m_timeDiffLBGroups;
92  std::vector<std::vector<std::vector<int>>> m_digiTimeLBGroups;
93  std::vector<int> m_amplitudeGroups;
94 };
95 
96 
97 #endif // TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileDCSState.h
TileRawChannelTimeMonitorAlgorithm::m_DQstatusKey
SG::ReadHandleKey< TileDQstatus > m_DQstatusKey
Definition: TileRawChannelTimeMonitorAlgorithm.h:55
TileCablingSvc.h
TileRawChannelTimeMonitorAlgorithm::m_amplitudeGroups
std::vector< int > m_amplitudeGroups
Definition: TileRawChannelTimeMonitorAlgorithm.h:93
TileRawChannelTimeMonitorAlgorithm::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition: TileRawChannelTimeMonitorAlgorithm.h:58
TileRawChannelTimeMonitorAlgorithm::m_digiTimeLBGroups
std::vector< std::vector< std::vector< int > > > m_digiTimeLBGroups
Definition: TileRawChannelTimeMonitorAlgorithm.h:92
TileRawChannelTimeMonitorAlgorithm::~TileRawChannelTimeMonitorAlgorithm
virtual ~TileRawChannelTimeMonitorAlgorithm()=default
TileRawChannelTimeMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TileRawChannelTimeMonitorAlgorithm.cxx:47
SG::ReadHandleKey< TileDQstatus >
TileRawChannelTimeMonitorAlgorithm::m_cabling
const TileCablingService * m_cabling
Definition: TileRawChannelTimeMonitorAlgorithm.h:86
TileRawChannelTimeMonitorAlgorithm::m_timeLBGroups
std::vector< int > m_timeLBGroups
Definition: TileRawChannelTimeMonitorAlgorithm.h:90
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
TileRawChannelContainer.h
TileRawChannelTimeMonitorAlgorithm::m_partitionTimeDifferencePairs
Gaudi::Property< std::vector< std::pair< int, int > > > m_partitionTimeDifferencePairs
Definition: TileRawChannelTimeMonitorAlgorithm.h:52
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileCondToolNoiseSample.h
TileRawChannelTimeMonitorAlgorithm
Definition: TileRawChannelTimeMonitorAlgorithm.py:1
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
TileCablingService
Definition: TileCablingService.h:23
TileRawChannelTimeMonitorAlgorithm::m_uncorrTimeGroups
std::vector< int > m_uncorrTimeGroups
Definition: TileRawChannelTimeMonitorAlgorithm.h:89
TileDQstatus.h
Information produced by TileDQstatusAlg (used to be done by TileBeamInfoProvider).
TileRawChannelTimeMonitorAlgorithm::m_timeGroups
std::vector< int > m_timeGroups
Definition: TileRawChannelTimeMonitorAlgorithm.h:88
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TileRawChannelTimeMonitorAlgorithm::m_timeDiffLBGroups
std::vector< int > m_timeDiffLBGroups
Definition: TileRawChannelTimeMonitorAlgorithm.h:91
TileRawChannelTimeMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TileRawChannelTimeMonitorAlgorithm.cxx:12
ReadCondHandleKey.h
TileRawChannelTimeMonitorAlgorithm::m_badChannelsKey
SG::ReadCondHandleKey< TileBadChannels > m_badChannelsKey
Name of TileBadChannels in condition store.
Definition: TileRawChannelTimeMonitorAlgorithm.h:70
TileRawChannelTimeMonitorAlgorithm::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileRawChannelTimeMonitorAlgorithm.h:82
TileRawChannelTimeMonitorAlgorithm::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileRawChannelTimeMonitorAlgorithm.h:85
TileRawChannelTimeMonitorAlgorithm::m_emScaleKey
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
Definition: TileRawChannelTimeMonitorAlgorithm.h:76
SG::ReadCondHandleKey< TileDCSState >
TileRawChannelTimeMonitorAlgorithm::m_DCSStateKey
SG::ReadCondHandleKey< TileDCSState > m_DCSStateKey
Name of TileDCSState object in condition store.
Definition: TileRawChannelTimeMonitorAlgorithm.h:64
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: AthMonitorAlgorithm.cxx:7
TileRawChannelTimeMonitorAlgorithm::m_energyThresholds
Gaudi::Property< std::vector< double > > m_energyThresholds
Definition: TileRawChannelTimeMonitorAlgorithm.h:45
TileRawChannelTimeMonitorAlgorithm::m_checkDCS
Gaudi::Property< bool > m_checkDCS
Definition: TileRawChannelTimeMonitorAlgorithm.h:40
TileBadChannels.h
TileRawChannelTimeMonitorAlgorithm::m_triggerTypes
Gaudi::Property< std::vector< unsigned int > > m_triggerTypes
Definition: TileRawChannelTimeMonitorAlgorithm.h:42
TileRawChannelTimeMonitorAlgorithm::m_partitionTimeCorrection
Gaudi::Property< std::vector< double > > m_partitionTimeCorrection
Definition: TileRawChannelTimeMonitorAlgorithm.h:48
ServiceHandle< TileCablingSvc >