5#ifndef TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_H
6#define TILEMONITORING_TILERAWCHANNELTIMEMONITORALGORITHM_H
36 virtual StatusCode
fillHistograms(
const EventContext& ctx)
const override;
40 Gaudi::Property<bool>
m_checkDCS{
this,
"CheckDCS",
false,
"Check Tile DCS status"};
43 "TriggerTypes", {},
"Given trigger types only events with these TTs will be used, otherwise all"};
46 "EnergyThresholds", {10, 40},
"Energy thresholds [LG, HG]"};
49 "PartitionTimeCorrections", {-15.18, -15.37, 47.65, 47.42},
50 "Partition time corrections [LBA, LBC, EBA, EBC]"};
53 "PartitionTimeDiffferncePairs", {},
"Partition (ROS - 1) pairs to monitor time differnce"};
56 "FakeTime", -100,
"Fake time to fill if there is no signal, but it's expected"};
59 "FillFakeTime",
true,
"File fake time to fill if there is no signal, but it's expected"};
62 "AmplitudeFragIDs", {},
"Tile Frag IDs of modules to fill histograms with amplitude vs LB."};
65 "TileDQstatus",
"TileDQstatus",
"Tile DQ status name"};
68 "TileRawChannelContainer",
"TileRawChannelFit",
"Input Tile raw channel container key"};
74 "TileDCS",
"TileDCS",
"Input Tile DCS status"};
80 "TileBadChannels",
"TileBadChannels",
"Input Tile bad channel status"};
86 "TileEMScale",
"TileEMScale",
"Input Tile EMS calibration constants"};
92 "TileCablingSvc",
"TileCablingSvc",
"The Tile cabling service"};
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.
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
virtual ~TileRawChannelTimeMonitorAlgorithm()=default
const TileCablingService * m_cabling
std::vector< int > m_timeLBGroups
Gaudi::Property< std::vector< std::pair< int, int > > > m_partitionTimeDifferencePairs
Gaudi::Property< bool > m_fillFakeTime
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
Gaudi::Property< bool > m_checkDCS
Gaudi::Property< int > m_fakeTime
SG::ReadHandleKey< TileDQstatus > m_DQstatusKey
std::map< std::string, int > m_amplitudeVsLBGroups
Gaudi::Property< std::vector< double > > m_partitionTimeCorrection
std::vector< int > m_timeGroups
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
const TileHWID * m_tileHWID
std::vector< int > m_timeDiffLBGroups
SG::ReadCondHandleKey< TileBadChannels > m_badChannelsKey
Name of TileBadChannels in condition store.
std::vector< int > m_amplitudeGroups
std::vector< int > m_uncorrTimeGroups
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
static constexpr int s_nDigitizers
std::array< bool, TileCalibUtils::MAX_DRAWERIDX > m_amplitudeMonitoredDrawerIdx