ATLAS Offline Software
GRLSelectorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GOODRUNSLISTS_GRLSELECTORALG_H
6 #define GOODRUNSLISTS_GRLSELECTORALG_H 1
7 
9 #include <AsgTools/ToolHandle.h>
19 
20 
22  public:
23  GRLSelectorAlg( const std::string& name, ISvcLocator* pSvcLocator );
24  virtual ~GRLSelectorAlg();
25 
26  virtual StatusCode initialize();
27  virtual StatusCode execute();
28  virtual StatusCode finalize();
29 
30  private:
31  SG::WriteDecorHandleKey<xAOD::EventInfo> m_grlKey {this, "grlKey", "EventInfo.decoratorName", "Decoration for GRL"};
32  ToolHandle<IGoodRunsListSelectionTool> m_grlTool;
33  FilterReporterParams m_filterParams {this, "GoodRunsList", "Good Runs Lists selection"};
34  Gaudi::Property<bool> m_noFilter {this, "noFilter", false, "whether to not apply a GRL decoration"};
35 };
36 
37 #endif //> !GOODRUNSLISTS_GRLSELECTORALG_H
SG::WriteDecorHandleKey< xAOD::EventInfo >
IGoodRunsListSelectionTool.h
PropertyWrapper.h
GRLSelectorAlg::execute
virtual StatusCode execute()
Definition: GRLSelectorAlg.cxx:38
GRLSelectorAlg::m_noFilter
Gaudi::Property< bool > m_noFilter
Definition: GRLSelectorAlg.h:34
GRLSelectorAlg::~GRLSelectorAlg
virtual ~GRLSelectorAlg()
Definition: GRLSelectorAlg.cxx:21
GRLSelectorAlg::m_grlTool
ToolHandle< IGoodRunsListSelectionTool > m_grlTool
Definition: GRLSelectorAlg.h:32
FilterReporterParams
a handle for applying algorithm filter decisions
Definition: FilterReporterParams.h:58
AnaAlgorithm.h
GRLSelectorAlg
Author: will buttinger To use this alg in your joboptions: masterseq = CfgMgr.AthSequencer("AthMaster...
Definition: GRLSelectorAlg.h:21
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GRLSelectorAlg::GRLSelectorAlg
GRLSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GRLSelectorAlg.cxx:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
GRLSelectorAlg::m_grlKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_grlKey
Definition: GRLSelectorAlg.h:31
WriteDecorHandleKey.h
GRLSelectorAlg::initialize
virtual StatusCode initialize()
Definition: GRLSelectorAlg.cxx:24
GRLSelectorAlg::m_filterParams
FilterReporterParams m_filterParams
Definition: GRLSelectorAlg.h:33
ToolHandle.h
GRLSelectorAlg::finalize
virtual StatusCode finalize()
Definition: GRLSelectorAlg.cxx:32
FilterReporterParams.h