ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "GaudiKernel/ToolHandle.h"
13
14namespace TrigDec {
15
21 {
22
23 public:
24
25 TrigDecisionMakerValidator(const std::string &name, ISvcLocator *pSvcLocator);
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
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigDecisionMakerValidator(const std::string &name, ISvcLocator *pSvcLocator)
PublicToolHandle< Trig::TrigDecisionTool > m_tdt
virtual StatusCode execute(const EventContext &context) const override
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_navigationReadHandleKey
SG::ReadHandleKey< xAOD::CTPResult > m_CTPResultKeyIn
StatusCode reportError(const std::string &item, const std::string &msg) const