ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimConfTools
FPGATrackSimConfTools
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
6
#include "
AthenaBaseComps/AthAlgTool.h
"
7
#include "
xAODTruth/TruthParticle.h
"
8
#include "
GeneratorObjects/HepMcParticleLink.h
"
9
#include "
GeneratorObjects/xAODTruthParticleLink.h
"
10
11
#include "
FPGATrackSimConfTools/IFPGATrackSimEventSelectionSvc.h
"
12
#include "
FPGATrackSimObjects/FPGATrackSimTruthTrackCollection.h
"
13
14
15
namespace
FPGATrackSim
{
16
class
FPGATrackSimEventSelectionTool
:
public
AthAlgTool
{
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*);
23
virtual
~FPGATrackSimEventSelectionTool
() =
default
;
24
25
virtual
StatusCode
initialize
()
override
;
26
27
bool
selectEvent
(
const
FPGATrackSimEventInputHeader
&
header
)
const
;
28
void
setSelectedEvent
(
bool
s) {
m_evtSel
->setSelectedEvent(s); }
29
unsigned
getRegionID
()
const
{
return
m_evtSel
->getRegionID(); }
30
};
31
}
32
#endif
AthAlgTool.h
TruthParticle.h
FPGATrackSimTruthTrackCollection.h
HepMcParticleLink.h
IFPGATrackSimEventSelectionSvc.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::getRegionID
unsigned getRegionID() const
Definition
FPGATrackSimEventSelectionTool.h:29
FPGATrackSim::FPGATrackSimEventSelectionTool::FPGATrackSimEventSelectionTool
FPGATrackSimEventSelectionTool(const std::string &, const std::string &, const IInterface *)
Definition
FPGATrackSimEventSelectionTool.cxx:5
FPGATrackSim::FPGATrackSimEventSelectionTool::setSelectedEvent
void setSelectedEvent(bool s)
Definition
FPGATrackSimEventSelectionTool.h:28
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
FPGATrackSim::FPGATrackSimEventSelectionTool::~FPGATrackSimEventSelectionTool
virtual ~FPGATrackSimEventSelectionTool()=default
ServiceHandle
Definition
ClusterMakerTool.h:36
header
Definition
hcg.cxx:527
FPGATrackSim
Definition
FPGATrackSimRegionMergingAlg.h:25
xAODTruthParticleLink.h
Generated on
for ATLAS Offline Software by
1.14.0