ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCountHypoAlg.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGMINBIAS_TRACKCOUNTHYPOALG_H
5#define TRIGMINBIAS_TRACKCOUNTHYPOALG_H
6
7// Framework includes
13#include "Gaudi/Property.h"
14
15// STL includes
16#include <string>
17
19public:
20 TrackCountHypoAlg(const std::string& name, ISvcLocator* pSvcLocator);
21
22 virtual StatusCode initialize() override;
23 virtual StatusCode execute(const EventContext& context) const override;
24
25private:
26 ToolHandleArray< TrackCountHypoTool > m_hypoTools {this, "HypoTools", {}, "Tools that perform actual selection"};
29 Gaudi::Property<std::vector<float>> m_minPt{this, "minPt", {100, 200, 200, 500, 800, 1000, 2000, 4000, 6000, 8000, 10000}, "Accept events with momentum higher than this limit in MeV"};
30 Gaudi::Property<std::vector<float>> m_maxZ0{this, "maxZ0", {401, 401, 401, 401, 401, 401, 401, 401, 401, 401, 401}, "Accept events with absolute value of z position of track passing beamline lower than this limit in mm"};
31 Gaudi::Property<std::vector<float>> m_vertexZ{this, "vertexZ", {803, 803, 10, 803, 803, 803, 803, 803, 803, 803, 803}, "Accept events with distance to vertex z position lower than this limit in mm"};
32
33 ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool", "", "Monitoring tool"};
34};
35
36#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.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey
ToolHandleArray< TrackCountHypoTool > m_hypoTools
TrackCountHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
Gaudi::Property< std::vector< float > > m_vertexZ
Gaudi::Property< std::vector< float > > m_maxZ0
Gaudi::Property< std::vector< float > > m_minPt
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode execute(const EventContext &context) const override
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_trackCountKey