ATLAS Offline Software
EndOfEventFilterAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGGENERICALGS_EndOfEventFilterAlg_h
5 #define TRIGGENERICALGS_EndOfEventFilterAlg_h
6 
11 
12 #include <vector>
13 #include <string>
14 
22  public:
23  EndOfEventFilterAlg(const std::string& name, ISvcLocator* pSvcLocator);
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute(const EventContext& context) const override;
27 
28  private:
30  this, "HLTSeedingSummaryKey", "HLTSeedingSummary", "All chain decisions after L1 and prescaling"};
31 
33  this, "StreamsSummaryKey", "HLTStreamsSummary", "Set of streams accepted in the event"};
34 
35  Gaudi::Property<std::string> m_chainName {
36  this, "ChainName", "", "Name of the chain to check the prescale"};
37 
38  Gaudi::Property<std::vector<std::string>> m_streamFilter {
39  this, "StreamFilter", {}, "Require event to be accepted to at least one of the listed streams "
40  "for this filter alg to pass. Empty list means no requirement."};
41 
43 };
44 
45 #endif // TRIGGENERICALGS_EndOfEventFilterAlg_h
EndOfEventFilterAlg::EndOfEventFilterAlg
EndOfEventFilterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: EndOfEventFilterAlg.cxx:26
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
EndOfEventFilterAlg::m_streamsSummaryKey
SG::ReadHandleKey< std::vector< std::string > > m_streamsSummaryKey
Definition: EndOfEventFilterAlg.h:32
EndOfEventFilterAlg::initialize
virtual StatusCode initialize() override
Definition: EndOfEventFilterAlg.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EndOfEventFilterAlg::m_chainName
Gaudi::Property< std::string > m_chainName
Definition: EndOfEventFilterAlg.h:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigCompositeContainer.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
EndOfEventFilterAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: EndOfEventFilterAlg.cxx:53
HLTIdentifier.h
EndOfEventFilterAlg
Filter alg passing if the chain given by the ChainName property is active (seeded and not prescaled) ...
Definition: EndOfEventFilterAlg.h:21
EndOfEventFilterAlg::m_streamFilter
Gaudi::Property< std::vector< std::string > > m_streamFilter
Definition: EndOfEventFilterAlg.h:38
EndOfEventFilterAlg::m_chainId
HLT::Identifier m_chainId
Definition: EndOfEventFilterAlg.h:42
EndOfEventFilterAlg::m_hltSeedingSummaryKey
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_hltSeedingSummaryKey
Definition: EndOfEventFilterAlg.h:29