ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
24
26public:
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;
31private:
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
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};
69 GP<int> m_MBTSPattern {this, "MBTSPattern", TileCell::MASK_TIME };
70 GP<int> m_nBkgWords {this, "NBkgWords", 32};
71};
72#endif
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
GP< int > m_unpairNonIsoBG
GP< float > m_MBTSTimeCut
RHK< LUCID_RawDataContainer > m_LUCID_RawDataContainerKey
RHK< LArCollisionTime > m_LArCollisionTimeKey
RHK< SpacePointContainer > m_sctSpacePointKey
RHK< MBTSCollisionTime > m_MBTSCollisionTimeKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Gaudi::Property< T > GP
RHK< SpacePointContainer > m_pixSpacePointKey
GP< float > m_MBTSThresholdCut
RHK< BeamBackgroundData > m_BeamBackgroundDataKey
RHK< TileCellContainer > m_TileCellContainerKey
RHK< xAOD::VertexContainer > m_VertexContainerKey
SG::ReadHandle< T > RH
SG::ReadHandleKey< T > RHK
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
@ MASK_TIME
Definition TileCell.h:67
@ MASK_OVER
Definition TileCell.h:64
@ MASK_BADCH
Definition TileCell.h:63
void initialize()