ATLAS Offline Software
TileDigiNoiseMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILEMONITORING_TILEDIGINOISEMONITORALGORITHM_H
6 #define TILEMONITORING_TILEDIGINOISEMONITORALGORITHM_H
7 
14 
19 
20 class TileHWID;
21 class TileCablingService;
22 
28 
29  public:
30 
32  virtual ~TileDigiNoiseMonitorAlgorithm() = default;
33  virtual StatusCode initialize() override;
34  virtual StatusCode fillHistograms(const EventContext& ctx) const override;
35 
36  private:
37 
38  Gaudi::Property<bool> m_checkDCS{this, "CheckDCS", false, "Check Tile DCS status"};
39  Gaudi::Property<std::vector<unsigned int>> m_triggerTypes{this,
40  "TriggerTypes", {}, "Given trigger types only events with these TT will be used, otherwise all"};
41 
42  Gaudi::Property<bool> m_fillPedestalDifference{this,
43  "fillPedestalDifference", true, "Fill pedestal difference between monitored pedestal and one from DB"};
44 
45  Gaudi::Property<bool> m_ignoreDisconnectedChannels{this,
46  "ignoreDisconnectedChannels", false, "Ignore disconnected channels"};
47 
48  Gaudi::Property<std::vector<int>> m_fragIDsToIgnoreDMUerrors{this,
49  "FragIDsToIgnoreDMUErrors", {}, "List of Tile frag IDs for which ignore DMU errors"};
50 
52  "TileDQstatus", "TileDQstatus", "Tile DQ status name"};
53 
58  "TileDCS", "TileDCS", "Input Tile DCS status"};
59 
61  "TileDigitsContainer", "TileDigitsCnt", "Input Tile digits container key"};
62 
67  "TileBadChannels", "TileBadChannels", "Input Tile bad channel status"};
68 
69  ToolHandle<TileCondToolNoiseSample> m_tileCondToolNoiseSample{this,
70  "TileCondToolNoiseSample", "TileCondToolNoiseSample", "Tile sample noise tool"};
71 
76  "TileCablingSvc", "TileCablingSvc", "The Tile cabling service"};
77 
78  const TileHWID* m_tileHWID{nullptr};
79  const TileCablingService* m_cabling{nullptr};
80 
81  std::vector<std::vector<int>> m_pedGroups;
82  std::vector<std::vector<int>> m_hfnGroups;
83 };
84 
85 
86 #endif // TILEMONITORING_TILEDIGINOISEMONITORALGORITHM_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileDCSState.h
TileDigiNoiseMonitorAlgorithm::m_ignoreDisconnectedChannels
Gaudi::Property< bool > m_ignoreDisconnectedChannels
Definition: TileDigiNoiseMonitorAlgorithm.h:45
TileCablingSvc.h
TileDigiNoiseMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TileDigiNoiseMonitorAlgorithm.cxx:42
TileDigiNoiseMonitorAlgorithm::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileDigiNoiseMonitorAlgorithm.h:78
TileDigiNoiseMonitorAlgorithm::m_DCSStateKey
SG::ReadCondHandleKey< TileDCSState > m_DCSStateKey
Name of TileDCSState object in condition store.
Definition: TileDigiNoiseMonitorAlgorithm.h:57
TileDigiNoiseMonitorAlgorithm::~TileDigiNoiseMonitorAlgorithm
virtual ~TileDigiNoiseMonitorAlgorithm()=default
SG::ReadHandleKey< TileDQstatus >
TileDigiNoiseMonitorAlgorithm::m_checkDCS
Gaudi::Property< bool > m_checkDCS
Definition: TileDigiNoiseMonitorAlgorithm.h:38
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileCondToolNoiseSample.h
TileDigiNoiseMonitorAlgorithm::m_badChannelsKey
SG::ReadCondHandleKey< TileBadChannels > m_badChannelsKey
Name of TileBadChannels in condition store.
Definition: TileDigiNoiseMonitorAlgorithm.h:66
TileDigitsContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileDigiNoiseMonitorAlgorithm::m_fillPedestalDifference
Gaudi::Property< bool > m_fillPedestalDifference
Definition: TileDigiNoiseMonitorAlgorithm.h:42
AthMonitorAlgorithm.h
TileDigiNoiseMonitorAlgorithm
Definition: TileDigiNoiseMonitorAlgorithm.py:1
TileDigiNoiseMonitorAlgorithm::m_triggerTypes
Gaudi::Property< std::vector< unsigned int > > m_triggerTypes
Definition: TileDigiNoiseMonitorAlgorithm.h:39
TileDigiNoiseMonitorAlgorithm::m_tileCondToolNoiseSample
ToolHandle< TileCondToolNoiseSample > m_tileCondToolNoiseSample
Definition: TileDigiNoiseMonitorAlgorithm.h:69
TileCablingService
Definition: TileCablingService.h:23
TileDigiNoiseMonitorAlgorithm::m_hfnGroups
std::vector< std::vector< int > > m_hfnGroups
Definition: TileDigiNoiseMonitorAlgorithm.h:82
TileDQstatus.h
Information produced by TileDQstatusAlg (used to be done by TileBeamInfoProvider).
TileDigiNoiseMonitorAlgorithm::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileDigiNoiseMonitorAlgorithm.h:75
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadCondHandleKey.h
TileDigiNoiseMonitorAlgorithm::m_cabling
const TileCablingService * m_cabling
Definition: TileDigiNoiseMonitorAlgorithm.h:79
TileDigiNoiseMonitorAlgorithm::m_pedGroups
std::vector< std::vector< int > > m_pedGroups
Definition: TileDigiNoiseMonitorAlgorithm.h:81
SG::ReadCondHandleKey< TileDCSState >
TileDigiNoiseMonitorAlgorithm::m_DQstatusKey
SG::ReadHandleKey< TileDQstatus > m_DQstatusKey
Definition: TileDigiNoiseMonitorAlgorithm.h:51
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: AthMonitorAlgorithm.cxx:7
TileBadChannels.h
TileDigiNoiseMonitorAlgorithm::m_fragIDsToIgnoreDMUerrors
Gaudi::Property< std::vector< int > > m_fragIDsToIgnoreDMUerrors
Definition: TileDigiNoiseMonitorAlgorithm.h:48
TileDigiNoiseMonitorAlgorithm::m_digitsContainerKey
SG::ReadHandleKey< TileDigitsContainer > m_digitsContainerKey
Definition: TileDigiNoiseMonitorAlgorithm.h:60
ServiceHandle< TileCablingSvc >
TileDigiNoiseMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TileDigiNoiseMonitorAlgorithm.cxx:12