ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonLearning
MuonInference
src
DVInferenceAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONINFERENCE_DVINFERENCEALG_H
5
#define MUONINFERENCE_DVINFERENCEALG_H
6
7
#include "
DVInferenceToolBase.h
"
8
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
#include "
xAODTrigger/TrigCompositeContainer.h
"
12
13
namespace
MuonML
{
14
20
class
DVInferenceAlg
final :
public
AthReentrantAlgorithm
{
21
public
:
22
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
23
24
StatusCode
initialize
()
override
;
25
StatusCode
execute
(
const
EventContext& ctx)
const override
;
26
27
private
:
28
ToolHandle<MuonML::DVInferenceToolBase>
m_inferenceTool
{
29
this
,
"InferenceTool"
,
"MuonML::DVInferenceToolBase/DisplacedVertexInferenceTool"
};
30
31
Gaudi::Property<bool>
m_writeDVoutput
{
32
this
,
"WriteDVoutput"
,
false
,
"Whether to write the DV inference output into storegate"
};
33
34
SG::WriteHandleKey<xAOD::TrigCompositeContainer>
m_trigCompositeKey
{
35
this
,
"TrigCompositeKey"
,
"EF_MuonDVInferenceOutput"
,
"Optional: Dummy xAOD::TrigComposite object to be decorated with DV inference outputs"
};
36
37
Gaudi::Property<float>
m_scoreThreshold
{
38
this
,
"ScoreThreshold"
, 0.5f,
"DV event score threshold used for the pass decision"
};
39
Gaudi::Property<std::string>
m_thresholdMode
{
40
this
,
"ThresholdMode"
,
"score"
,
"Quantity compared to ScoreThreshold."
};
41
Gaudi::Property<bool>
m_printEveryEvent
{
42
this
,
"PrintEveryEvent"
,
false
,
"Print the DV inference result for every event at INFO level"
};
43
bool
m_useRawThreshold
{
false
};
44
std::string
m_thresholdModeName
{
"score"
};
45
};
46
47
}
// namespace MuonML
48
49
#endif
AthReentrantAlgorithm.h
DVInferenceToolBase.h
TrigCompositeContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonML::DVInferenceAlg
Run the DV event classifier and publish one score per event.
Definition
DVInferenceAlg.h:20
MuonML::DVInferenceAlg::m_thresholdMode
Gaudi::Property< std::string > m_thresholdMode
Definition
DVInferenceAlg.h:39
MuonML::DVInferenceAlg::m_trigCompositeKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_trigCompositeKey
Definition
DVInferenceAlg.h:34
MuonML::DVInferenceAlg::m_useRawThreshold
bool m_useRawThreshold
Definition
DVInferenceAlg.h:43
MuonML::DVInferenceAlg::m_writeDVoutput
Gaudi::Property< bool > m_writeDVoutput
Definition
DVInferenceAlg.h:31
MuonML::DVInferenceAlg::m_inferenceTool
ToolHandle< MuonML::DVInferenceToolBase > m_inferenceTool
Definition
DVInferenceAlg.h:28
MuonML::DVInferenceAlg::m_printEveryEvent
Gaudi::Property< bool > m_printEveryEvent
Definition
DVInferenceAlg.h:41
MuonML::DVInferenceAlg::m_thresholdModeName
std::string m_thresholdModeName
Definition
DVInferenceAlg.h:44
MuonML::DVInferenceAlg::initialize
StatusCode initialize() override
Definition
DVInferenceAlg.cxx:10
MuonML::DVInferenceAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
DVInferenceAlg.cxx:27
MuonML::DVInferenceAlg::m_scoreThreshold
Gaudi::Property< float > m_scoreThreshold
Definition
DVInferenceAlg.h:37
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
MuonML
Definition
BucketGraphUtils.h:18
Generated on
for ATLAS Offline Software by
1.17.0