ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimEventSelectionTool.h
Go to the documentation of this file.
1// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3#ifndef FPGATRACKSIMEVENTSELECTIONTOOL_H
4#define FPGATRACKSIMEVENTSELECTIONTOOL_H
5
10
13
14
15namespace FPGATrackSim {
17 private:
18 // Handles
19 ServiceHandle<IFPGATrackSimEventSelectionSvc> m_evtSel {this, "evtSelectionService", "", "Event selection Svc"};
20
21 public:
22 FPGATrackSimEventSelectionTool(const std::string&, const std::string&, const IInterface*);
24
25 virtual StatusCode initialize() override;
26
28 void setSelectedEvent(bool s) { m_evtSel->setSelectedEvent(s); }
29 unsigned getRegionID() const { return m_evtSel->getRegionID(); }
30 };
31}
32#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
FPGATrackSimEventSelectionTool(const std::string &, const std::string &, const IInterface *)
ServiceHandle< IFPGATrackSimEventSelectionSvc > m_evtSel
bool selectEvent(const FPGATrackSimEventInputHeader &header) const