4#ifndef TRIGVSIHYPOALG_H
5#define TRIGVSIHYPOALG_H
15#include "Gaudi/Property.h"
27 virtual StatusCode
execute(
const EventContext& context)
const override;
31 ToolHandleArray<TrigVSIHypoTool>
m_hypoTools {
this,
"HypoTools", {},
"Tools that perform actual selection"};
34 Gaudi::Property<bool>
m_isViewBased {
this,
"isViewBased",
true,
"Flag to toggle the hypo to run in a view or in whole-event level"};
35 Gaudi::Property<float>
m_minPt {
this,
"minPt", 1000.,
"Preselection. Accept vertices with momentum higher than this limit"};
36 Gaudi::Property<float>
m_minR {
this,
"minR" , 20.,
"Preselection. Accept vertices with decay position R higher this limit"};
37 Gaudi::Property<float>
m_requiredNTrks {
this,
"requiredNTrks", 2,
"Preselection. Accept vertices with tracks more than this limit"};
38 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool"};
Header file to be included by clients of the Monitored infrastructure.
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
ToolHandleArray< TrigVSIHypoTool > m_hypoTools
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &context) const override
SG::ReadHandleKey< xAOD::VertexContainer > m_verticesKey
Gaudi::Property< float > m_minPt
virtual ~TrigVSIHypoAlg()=default
Gaudi::Property< bool > m_isViewBased
ToolHandle< GenericMonitoringTool > m_monTool
TrigVSIHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< float > m_minR
Gaudi::Property< float > m_requiredNTrks
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_vtxCountKey