ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAnalysis
TrigDecisionMaker
src
TrigDecisionMakerValidator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigDecisionMaker_TrigDecisionMakerValidator_H
6
#define TrigDecisionMaker_TrigDecisionMakerValidator_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
xAODTrigger/TrigCompositeContainer.h
"
11
#include "
TrigDecisionTool/TrigDecisionTool.h
"
12
#include "
xAODTrigger/CTPResult.h
"
13
14
namespace
TrigDec
{
15
20
class
TrigDecisionMakerValidator
:
public
::AthReentrantAlgorithm
21
{
22
23
public
:
24
25
TrigDecisionMakerValidator
(
const
std::string &name, ISvcLocator *pSvcLocator);
26
~TrigDecisionMakerValidator
();
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
execute
(
const
EventContext& context )
const override
;
30
31
private
:
32
33
StatusCode
reportError
(
const
std::string& item,
const
std::string&
msg
)
const
;
34
35
PublicToolHandle<Trig::TrigDecisionTool>
m_tdt
{
this
,
"TrigDecisionTool"
,
""
,
"Handle to the public trigger decision tool."
};
36
37
Gaudi::Property<int>
m_edmVersion
{
this
,
"EDMVersion"
, 3,
"Is the input from the Run 1, 2 trigger or the Run 3 trigger?"
};
38
Gaudi::Property<int>
m_samplingFrequence
{
this
,
"samplingFrequency"
, 10,
"Sample one in every N events."
};
39
Gaudi::Property<bool>
m_doL1
{
this
,
"doL1"
,
true
,
"Read & verify L1 trigger information."
};
40
Gaudi::Property<bool>
m_doHLT
{
this
,
"doHLT"
,
true
,
"Read & verify HLT trigger information."
};
41
Gaudi::Property<bool>
m_errorOnFailure
{
this
,
"errorOnFailure"
,
false
,
"If false, issues found are just WARNINGs rather than ERRORs."
};
42
43
SG::ReadHandleKey<TrigCompositeUtils::DecisionContainer>
m_navigationReadHandleKey
{
this
,
"NavigationKey"
,
"For the Run 3 trigger, what is the primary navigation container?"
};
44
45
// Need to potentially skip the checks on L1 when using xAOD::CTPResult (see ATR-32736)
46
Gaudi::Property<bool>
m_checkForValidCTPResult
{
this
,
"checkForValidCTPResult"
,
false
,
"Flag whether to check if the xAOD::CTPResult object used is valid"
};
47
SG::ReadHandleKey<xAOD::CTPResult>
m_CTPResultKeyIn
{
this
,
"CTPResult"
,
"CTPResult"
,
"Key to retrieve the L1 xAOD CTP result from SG"
};
48
};
49
}
50
51
#endif
AthReentrantAlgorithm.h
CTPResult.h
TrigCompositeContainer.h
TrigDecisionTool.h
AthCommonAlgorithm< Gaudi::Algorithm >::msg
MsgStream & msg() const
Definition
AthCommonMsg.h:24
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TrigDec::TrigDecisionMakerValidator::TrigDecisionMakerValidator
TrigDecisionMakerValidator(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigDecisionMakerValidator.cxx:8
TrigDec::TrigDecisionMakerValidator::m_doL1
Gaudi::Property< bool > m_doL1
Definition
TrigDecisionMakerValidator.h:39
TrigDec::TrigDecisionMakerValidator::m_errorOnFailure
Gaudi::Property< bool > m_errorOnFailure
Definition
TrigDecisionMakerValidator.h:41
TrigDec::TrigDecisionMakerValidator::m_edmVersion
Gaudi::Property< int > m_edmVersion
Definition
TrigDecisionMakerValidator.h:37
TrigDec::TrigDecisionMakerValidator::m_tdt
PublicToolHandle< Trig::TrigDecisionTool > m_tdt
Definition
TrigDecisionMakerValidator.h:35
TrigDec::TrigDecisionMakerValidator::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
TrigDecisionMakerValidator.cxx:31
TrigDec::TrigDecisionMakerValidator::m_navigationReadHandleKey
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_navigationReadHandleKey
Definition
TrigDecisionMakerValidator.h:43
TrigDec::TrigDecisionMakerValidator::~TrigDecisionMakerValidator
~TrigDecisionMakerValidator()
Definition
TrigDecisionMakerValidator.cxx:12
TrigDec::TrigDecisionMakerValidator::m_doHLT
Gaudi::Property< bool > m_doHLT
Definition
TrigDecisionMakerValidator.h:40
TrigDec::TrigDecisionMakerValidator::initialize
virtual StatusCode initialize() override
Definition
TrigDecisionMakerValidator.cxx:15
TrigDec::TrigDecisionMakerValidator::m_samplingFrequence
Gaudi::Property< int > m_samplingFrequence
Definition
TrigDecisionMakerValidator.h:38
TrigDec::TrigDecisionMakerValidator::m_CTPResultKeyIn
SG::ReadHandleKey< xAOD::CTPResult > m_CTPResultKeyIn
Definition
TrigDecisionMakerValidator.h:47
TrigDec::TrigDecisionMakerValidator::reportError
StatusCode reportError(const std::string &item, const std::string &msg) const
Definition
TrigDecisionMakerValidator.cxx:22
TrigDec::TrigDecisionMakerValidator::m_checkForValidCTPResult
Gaudi::Property< bool > m_checkForValidCTPResult
Definition
TrigDecisionMakerValidator.h:46
TrigDec
Definition
ITrigDecisionCnvTool.h:18
Generated on
for ATLAS Offline Software by
1.17.0