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"
12
13namespace TrigDec {
14
20 {
21
22 public:
23
24 TrigDecisionMakerValidator(const std::string &name, ISvcLocator *pSvcLocator);
26
27 virtual StatusCode initialize() override;
28 virtual StatusCode execute( const EventContext& context ) const override;
29
30 private:
31
32 StatusCode reportError(const std::string& item, const std::string& msg) const;
33
34 PublicToolHandle<Trig::TrigDecisionTool> m_tdt {this, "TrigDecisionTool", "", "Handle to the public trigger decision tool."};
35
36 Gaudi::Property<int> m_edmVersion{this, "EDMVersion", 3, "Is the input from the Run 1, 2 trigger or the Run 3 trigger?"};
37 Gaudi::Property<int> m_samplingFrequence{this, "samplingFrequency", 10, "Sample one in every N events."};
38 Gaudi::Property<bool> m_doL1{this, "doL1", true, "Read & verify L1 trigger information."};
39 Gaudi::Property<bool> m_doHLT{this, "doHLT", true, "Read & verify HLT trigger information."};
40 Gaudi::Property<bool> m_errorOnFailure{this, "errorOnFailure", false, "If false, issues found are just WARNINGs rather than ERRORs."};
41
42 SG::ReadHandleKey<TrigCompositeUtils::DecisionContainer> m_navigationReadHandleKey{this, "NavigationKey", "For the Run 3 trigger, what is the primary navigation container?"};
43
44 };
45}
46
47#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
StatusCode reportError(const std::string &item, const std::string &msg) const