ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DataQuality
DataQualityTools
DataQualityTools
DQTBackgroundMon.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
12
#ifndef DQTBACKGROUNDMON_H
13
#define DQTBACKGROUNDMON_H
14
15
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
16
17
#include "
LArRecEvent/LArCollisionTime.h
"
18
#include "
TileEvent/MBTSCollisionTime.h
"
19
#include "
TileEvent/TileContainer.h
"
20
#include "
LUCID_RawEvent/LUCID_RawDataContainer.h
"
21
#include "
RecBackgroundEvent/BeamBackgroundData.h
"
22
#include "
TrkSpacePoint/SpacePointContainer.h
"
23
#include "
xAODTracking/VertexContainer.h
"
24
25
class
DQTBackgroundMon
:
public
AthMonitorAlgorithm
{
26
public
:
27
DQTBackgroundMon
(
const
std::string& name, ISvcLocator* pSvcLocator);
28
virtual
~DQTBackgroundMon
();
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
31
private
:
32
template
<
class
T>
using
RH
=
SG::ReadHandle<T>
;
33
template
<
class
T>
using
RHK
=
SG::ReadHandleKey<T>
;
34
template
<
class
T>
using
GP
= Gaudi::Property<T>;
35
36
// Activates trigger and muon parts of the algorithm
37
GP<bool>
m_doMuons
{
this
,
"Muons"
,
true
};
38
39
// StoreGate keys
40
RHK<LArCollisionTime>
m_LArCollisionTimeKey
{
this
,
"LArCollisionTimeKey"
,
"LArCollisionTime"
,
""
};
41
RHK<MBTSCollisionTime>
m_MBTSCollisionTimeKey
{
this
,
"MBTSCollisionTimeKey"
,
"MBTSCollisionTime"
,
""
};
42
RHK<TileCellContainer>
m_TileCellContainerKey
{
this
,
"MBTSContainerName"
,
"MBTSContainer"
,
""
};
43
RHK<LUCID_RawDataContainer>
m_LUCID_RawDataContainerKey
{
this
,
"Lucid_RawDataKey"
,
"Lucid_RawData"
,
""
};
44
RHK<BeamBackgroundData>
m_BeamBackgroundDataKey
{
this
,
"BeamBackgroundDataKey"
,
"BeamBackgroundData"
,
""
};
45
RHK<xAOD::VertexContainer>
m_VertexContainerKey
{
this
,
"PrimaryVerticesKey"
,
"PrimaryVertices"
,
""
};
46
RHK<SpacePointContainer>
m_sctSpacePointKey
{
this
,
"SCT_SpacePointKey"
,
"SCT_SpacePoints"
,
""
};
47
RHK<SpacePointContainer>
m_pixSpacePointKey
{
this
,
"Pixel_SpacePointKey"
,
"PixelSpacePoints"
,
""
};
48
49
SG::ReadDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"eventInfoDecorKey"
,
50
"EventInfo.backgroundWord"
,
51
"Key to enforce scheduling"
};
52
// we dp not need a decorhandle key for the MBTS background because we already depend on MBTSCollisionTime
53
54
55
// For parsing the int returned by TrigDecTool's getBGCode()
56
GP<int>
m_filledBG
{
this
,
"FilledBGIndex"
, 1};
57
GP<int>
m_emptyBG
{
this
,
"EmptyBGIndex"
, 3};
58
GP<int>
m_unpairIsoBG
{
this
,
"UnpairIsoBGIndex"
, 4};
59
GP<int>
m_unpairNonIsoBG
{
this
,
"UnpairNonIsoBGIndex"
, 5};
60
61
// Various cuts used in fillHistograms()
62
GP<int>
m_upPixSP
{
this
,
"UpPixSP"
, 5000};
63
GP<int>
m_upSctSP
{
this
,
"UpSctSP"
, 10000};
64
GP<int>
m_LArECSideCut
{
this
,
"LArECSideCut"
, 1};
65
GP<int>
m_MBTSSideCut
{
this
,
"MBTSSideCut"
, 2};
66
GP<float>
m_MBTSTimeCut
{
this
,
"MBTSTimeCut"
, 15};
67
GP<float>
m_MBTSThresholdCut
{
this
,
"MBTSThresholdCut"
, 40.0/222.0};
68
GP<int>
m_MBTSMask
{
this
,
"MBTSMask"
,
TileCell::MASK_BADCH
|
TileCell::MASK_OVER
|
TileCell::MASK_TIME
};
69
GP<int>
m_MBTSPattern
{
this
,
"MBTSPattern"
,
TileCell::MASK_TIME
};
70
GP<int>
m_nBkgWords
{
this
,
"NBkgWords"
, 32};
71
};
72
#endif
AthMonitorAlgorithm.h
BeamBackgroundData.h
LArCollisionTime.h
LUCID_RawDataContainer.h
MBTSCollisionTime.h
TileContainer.h
SpacePointContainer.h
VertexContainer.h
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
DQTBackgroundMon::m_MBTSMask
GP< int > m_MBTSMask
Definition
DQTBackgroundMon.h:68
DQTBackgroundMon::m_nBkgWords
GP< int > m_nBkgWords
Definition
DQTBackgroundMon.h:70
DQTBackgroundMon::m_emptyBG
GP< int > m_emptyBG
Definition
DQTBackgroundMon.h:57
DQTBackgroundMon::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
DQTBackgroundMon.cxx:27
DQTBackgroundMon::m_MBTSSideCut
GP< int > m_MBTSSideCut
Definition
DQTBackgroundMon.h:65
DQTBackgroundMon::m_doMuons
GP< bool > m_doMuons
Definition
DQTBackgroundMon.h:37
DQTBackgroundMon::m_unpairIsoBG
GP< int > m_unpairIsoBG
Definition
DQTBackgroundMon.h:58
DQTBackgroundMon::m_unpairNonIsoBG
GP< int > m_unpairNonIsoBG
Definition
DQTBackgroundMon.h:59
DQTBackgroundMon::m_MBTSPattern
GP< int > m_MBTSPattern
Definition
DQTBackgroundMon.h:69
DQTBackgroundMon::m_upPixSP
GP< int > m_upPixSP
Definition
DQTBackgroundMon.h:62
DQTBackgroundMon::m_MBTSTimeCut
GP< float > m_MBTSTimeCut
Definition
DQTBackgroundMon.h:66
DQTBackgroundMon::m_LArECSideCut
GP< int > m_LArECSideCut
Definition
DQTBackgroundMon.h:64
DQTBackgroundMon::m_LUCID_RawDataContainerKey
RHK< LUCID_RawDataContainer > m_LUCID_RawDataContainerKey
Definition
DQTBackgroundMon.h:43
DQTBackgroundMon::m_LArCollisionTimeKey
RHK< LArCollisionTime > m_LArCollisionTimeKey
Definition
DQTBackgroundMon.h:40
DQTBackgroundMon::m_filledBG
GP< int > m_filledBG
Definition
DQTBackgroundMon.h:56
DQTBackgroundMon::m_sctSpacePointKey
RHK< SpacePointContainer > m_sctSpacePointKey
Definition
DQTBackgroundMon.h:46
DQTBackgroundMon::m_MBTSCollisionTimeKey
RHK< MBTSCollisionTime > m_MBTSCollisionTimeKey
Definition
DQTBackgroundMon.h:41
DQTBackgroundMon::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
DQTBackgroundMon.h:49
DQTBackgroundMon::GP
Gaudi::Property< T > GP
Definition
DQTBackgroundMon.h:34
DQTBackgroundMon::m_pixSpacePointKey
RHK< SpacePointContainer > m_pixSpacePointKey
Definition
DQTBackgroundMon.h:47
DQTBackgroundMon::m_MBTSThresholdCut
GP< float > m_MBTSThresholdCut
Definition
DQTBackgroundMon.h:67
DQTBackgroundMon::m_upSctSP
GP< int > m_upSctSP
Definition
DQTBackgroundMon.h:63
DQTBackgroundMon::m_BeamBackgroundDataKey
RHK< BeamBackgroundData > m_BeamBackgroundDataKey
Definition
DQTBackgroundMon.h:44
DQTBackgroundMon::m_TileCellContainerKey
RHK< TileCellContainer > m_TileCellContainerKey
Definition
DQTBackgroundMon.h:42
DQTBackgroundMon::m_VertexContainerKey
RHK< xAOD::VertexContainer > m_VertexContainerKey
Definition
DQTBackgroundMon.h:45
DQTBackgroundMon::RH
SG::ReadHandle< T > RH
Definition
DQTBackgroundMon.h:32
DQTBackgroundMon::RHK
SG::ReadHandleKey< T > RHK
Definition
DQTBackgroundMon.h:33
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::ReadHandle
Definition
StoreGate/StoreGate/ReadHandle.h:67
TileCell::MASK_TIME
@ MASK_TIME
Definition
TileCell.h:67
TileCell::MASK_OVER
@ MASK_OVER
Definition
TileCell.h:64
TileCell::MASK_BADCH
@ MASK_BADCH
Definition
TileCell.h:63
DQTBackgroundMon
Definition
DQTBackgroundMon.py:1
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0