ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimConfTools
src
FPGATrackSimEventSelectionTool.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
#include "
FPGATrackSimConfTools/FPGATrackSimEventSelectionTool.h
"
4
5
FPGATrackSim::FPGATrackSimEventSelectionTool::FPGATrackSimEventSelectionTool
(
const
std::string& algname,
const
std::string& name,
const
IInterface* ifc)
6
:
AthAlgTool
(algname, name, ifc) {
7
}
8
9
StatusCode
FPGATrackSim::FPGATrackSimEventSelectionTool::initialize
() {
10
// Initialize the event selection service
11
ATH_CHECK
(
m_evtSel
.retrieve());
12
13
ATH_MSG_DEBUG
(
"intialized"
);
14
return
StatusCode::SUCCESS;
15
}
16
17
bool
FPGATrackSim::FPGATrackSimEventSelectionTool::selectEvent
(
const
FPGATrackSimEventInputHeader
&
header
)
const
{
18
return
m_evtSel
->selectEvent(&
header
);
19
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
FPGATrackSimEventSelectionTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
FPGATrackSimEventInputHeader
Definition
FPGATrackSimEventInputHeader.h:22
FPGATrackSim::FPGATrackSimEventSelectionTool::FPGATrackSimEventSelectionTool
FPGATrackSimEventSelectionTool(const std::string &, const std::string &, const IInterface *)
Definition
FPGATrackSimEventSelectionTool.cxx:5
FPGATrackSim::FPGATrackSimEventSelectionTool::initialize
virtual StatusCode initialize() override
Definition
FPGATrackSimEventSelectionTool.cxx:9
FPGATrackSim::FPGATrackSimEventSelectionTool::m_evtSel
ServiceHandle< IFPGATrackSimEventSelectionSvc > m_evtSel
Definition
FPGATrackSimEventSelectionTool.h:19
FPGATrackSim::FPGATrackSimEventSelectionTool::selectEvent
bool selectEvent(const FPGATrackSimEventInputHeader &header) const
Definition
FPGATrackSimEventSelectionTool.cxx:17
header
Definition
hcg.cxx:527
Generated on
for ATLAS Offline Software by
1.14.0