ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileMonitoring
src
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
9
#include "
TileEvent/TileRawChannelContainer.h
"
10
#include "
TileConditions/ITileCondToolTMDB.h
"
11
#include "
TileConditions/TileCablingSvc.h
"
12
13
// Atlas includes
14
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
15
#include "
AthenaMonitoringKernel/Monitored.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
xAODMuon/MuonContainer.h
"
18
#include "
xAODTrigger/MuonRoIContainer.h
"
19
20
class
TileHWID
;
21
22
class
TileTMDBRawChannelMonitorAlgorithm
:
public
AthMonitorAlgorithm
{
23
public
:
24
25
using
AthMonitorAlgorithm::AthMonitorAlgorithm
;
26
virtual
~TileTMDBRawChannelMonitorAlgorithm
() =
default
;
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
53
SG::ReadHandleKey<TileRawChannelContainer>
m_rawChannelContainerKey
{
this
,
54
"MuRcvRawChCnt"
,
"MuRcvRawChCnt"
,
"TMDB raw container"
};
55
56
SG::ReadHandleKey<xAOD::MuonContainer>
m_muonContainerKey
{
this
,
57
"MuonContainer"
,
"Muons"
,
"Input Muons container key"
};
58
59
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_muonRoIsContainerKey
{
this
,
60
"TrigMuonContainer"
,
"LVL1MuonRoIs"
,
"Input LVL1 Muon RoIs container key"
};
61
62
ToolHandle<ITileCondToolTMDB>
m_tileCondToolTMDB
{
this
,
63
"TileCondToolTMDB"
,
"TileCondToolTMDB"
,
"Tile TMDB conditions tool"
};
64
68
ServiceHandle<TileCablingSvc>
m_cablingSvc
{
this
,
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
AthMonitorAlgorithm.h
MuonContainer.h
ITileCondToolTMDB.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
MuonRoIContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileCablingSvc.h
TileRawChannelContainer.h
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileTMDBRawChannelMonitorAlgorithm::m_amplitudeThreshold
Gaudi::Property< float > m_amplitudeThreshold
Definition
TileTMDBRawChannelMonitorAlgorithm.h:38
TileTMDBRawChannelMonitorAlgorithm::m_timeCell
std::vector< std::vector< int > > m_timeCell
Definition
TileTMDBRawChannelMonitorAlgorithm.h:76
TileTMDBRawChannelMonitorAlgorithm::m_muonRoIsContainerKey
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_muonRoIsContainerKey
Definition
TileTMDBRawChannelMonitorAlgorithm.h:59
TileTMDBRawChannelMonitorAlgorithm::tilemodule_to_check
int tilemodule_to_check(int sector) const
Definition
TileTMDBRawChannelMonitorAlgorithm.cxx:251
TileTMDBRawChannelMonitorAlgorithm::~TileTMDBRawChannelMonitorAlgorithm
virtual ~TileTMDBRawChannelMonitorAlgorithm()=default
TileTMDBRawChannelMonitorAlgorithm::m_tgcSectorGroup
std::vector< int > m_tgcSectorGroup
Definition
TileTMDBRawChannelMonitorAlgorithm.h:78
TileTMDBRawChannelMonitorAlgorithm::m_isDSP
Gaudi::Property< bool > m_isDSP
Definition
TileTMDBRawChannelMonitorAlgorithm.h:41
TileTMDBRawChannelMonitorAlgorithm::m_numberOfThresholds
Gaudi::Property< unsigned > m_numberOfThresholds
Definition
TileTMDBRawChannelMonitorAlgorithm.h:50
TileTMDBRawChannelMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
TileTMDBRawChannelMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
TileTMDBRawChannelMonitorAlgorithm.cxx:66
TileTMDBRawChannelMonitorAlgorithm::m_muonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Definition
TileTMDBRawChannelMonitorAlgorithm.h:56
TileTMDBRawChannelMonitorAlgorithm::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition
TileTMDBRawChannelMonitorAlgorithm.h:68
TileTMDBRawChannelMonitorAlgorithm::m_timeGroups
std::vector< int > m_timeGroups
Definition
TileTMDBRawChannelMonitorAlgorithm.h:74
TileTMDBRawChannelMonitorAlgorithm::m_ampCell
std::vector< std::vector< int > > m_ampCell
Definition
TileTMDBRawChannelMonitorAlgorithm.h:75
TileTMDBRawChannelMonitorAlgorithm::m_coinThrDGroup
std::vector< std::vector< std::vector< int > > > m_coinThrDGroup
Definition
TileTMDBRawChannelMonitorAlgorithm.h:79
TileTMDBRawChannelMonitorAlgorithm::m_tileCondToolTMDB
ToolHandle< ITileCondToolTMDB > m_tileCondToolTMDB
Definition
TileTMDBRawChannelMonitorAlgorithm.h:62
TileTMDBRawChannelMonitorAlgorithm::m_fillRawChannelHistograms
Gaudi::Property< bool > m_fillRawChannelHistograms
Definition
TileTMDBRawChannelMonitorAlgorithm.h:44
TileTMDBRawChannelMonitorAlgorithm::m_nChannels
Gaudi::Property< std::vector< int > > m_nChannels
Definition
TileTMDBRawChannelMonitorAlgorithm.h:35
TileTMDBRawChannelMonitorAlgorithm::m_ampGroups
std::vector< int > m_ampGroups
Definition
TileTMDBRawChannelMonitorAlgorithm.h:73
TileTMDBRawChannelMonitorAlgorithm::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition
TileTMDBRawChannelMonitorAlgorithm.h:53
TileTMDBRawChannelMonitorAlgorithm::calc_dR
float calc_dR(float dEta, float dPhi) const
Definition
TileTMDBRawChannelMonitorAlgorithm.cxx:244
TileTMDBRawChannelMonitorAlgorithm::m_fillEfficiencyHistograms
Gaudi::Property< bool > m_fillEfficiencyHistograms
Definition
TileTMDBRawChannelMonitorAlgorithm.h:47
TileTMDBRawChannelMonitorAlgorithm::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileTMDBRawChannelMonitorAlgorithm.h:71
TileTMDBRawChannelMonitorAlgorithm
Definition
TileTMDBRawChannelMonitorAlgorithm.py:1
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0