ATLAS Offline Software
Loading...
Searching...
No Matches
TrigVSIHypoAlg.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGVSIHYPOALG_H
5#define TRIGVSIHYPOALG_H
6
7// Framework includes
8#include "TrigVSIHypoTool.h"
9
15#include "Gaudi/Property.h"
16#include "AthViews/View.h"
17#include <map>
18
19// STL includes
20#include <string>
21class TrigVSIHypoAlg : public ::HypoBase {
22 public:
23 TrigVSIHypoAlg(const std::string& name, ISvcLocator* pSvcLocator);
24
25 virtual ~TrigVSIHypoAlg() = default;
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext& context) const override;
28
29 private:
31 ToolHandleArray<TrigVSIHypoTool> m_hypoTools {this, "HypoTools", {},"Tools that perform actual selection"};
32 SG::ReadHandleKey<xAOD::VertexContainer> m_verticesKey {this, "verticesKey", "Undefined",""};
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"};
39};
40#endif
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
Definition HypoBase.cxx:12
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