13 ,
m_grlTool(
"GoodRunsListSelectionTool", this)
29 return StatusCode::SUCCESS;
35 return StatusCode::SUCCESS;
46 const bool isSelected =
m_grlTool->passRunLB(*evtInfo);
47 dec_isGRLDecorator(*evtInfo) = isSelected;
48 if(!isSelected)
return StatusCode::SUCCESS;
50 filter.setPassed (
true);
52 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
a guard class for use with ref FilterReporterParams
GRLSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize()
virtual StatusCode finalize()
virtual ~GRLSelectorAlg()
FilterReporterParams m_filterParams
Gaudi::Property< bool > m_noFilter
virtual StatusCode execute()
ToolHandle< IGoodRunsListSelectionTool > m_grlTool
SG::WriteDecorHandleKey< xAOD::EventInfo > m_grlKey
Handle class for adding a decoration to an object.
EventInfo_v1 EventInfo
Definition of the latest event info version.