ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimGNN
src
FPGATrackSimGNNGraphHitSelectorTool.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
#ifndef FPGATRACKSIMGNNGRAPHHITSELECTORTOOL_H
4
#define FPGATRACKSIMGNNGRAPHHITSELECTORTOOL_H
5
16
17
#include "
AthenaBaseComps/AthAlgTool.h
"
18
19
#include "
FPGATrackSimObjects/FPGATrackSimHit.h
"
20
#include "
FPGATrackSimObjects/FPGATrackSimGNNHit.h
"
21
22
class
FPGATrackSimGNNGraphHitSelectorTool
:
public
AthAlgTool
23
{
24
public
:
25
27
// AthAlgTool
28
29
FPGATrackSimGNNGraphHitSelectorTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
30
32
// Functions
33
34
virtual
StatusCode
selectHits
(
const
std::vector<std::shared_ptr<const FPGATrackSimHit>> & hits, std::vector<std::shared_ptr<FPGATrackSimGNNHit>> & graph_hits);
35
36
private
:
37
39
// Helpers
40
41
float
getEta
(
const
std::shared_ptr<const FPGATrackSimHit> &
hit
);
42
44
// Properties
45
46
Gaudi::Property<bool>
m_doPixelHits
{
this
,
"doPixelHits"
,
true
,
"Flag for selecting pixel hits"
};
47
Gaudi::Property<bool>
m_doStripHits
{
this
,
"doStripHits"
,
true
,
"Flag for selecting strip hits"
};
48
49
};
50
51
52
#endif
// FPGATRACKSIMGNNGRAPHHITSELECTORTOOL_H
AthAlgTool.h
FPGATrackSimGNNHit.h
FPGATrackSim-specific class to represent an hit in the detector used for GNN pattern recognition.
FPGATrackSimHit.h
: FPGATrackSim-specific class to represent an hit in the detector.
hit
bool hit(const Container &ids, int pdgId)
Definition
JetIRCSafeLabelTool.cxx:64
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
FPGATrackSimGNNGraphHitSelectorTool::m_doStripHits
Gaudi::Property< bool > m_doStripHits
Definition
FPGATrackSimGNNGraphHitSelectorTool.h:47
FPGATrackSimGNNGraphHitSelectorTool::FPGATrackSimGNNGraphHitSelectorTool
FPGATrackSimGNNGraphHitSelectorTool(const std::string &, const std::string &, const IInterface *)
Definition
FPGATrackSimGNNGraphHitSelectorTool.cxx:11
FPGATrackSimGNNGraphHitSelectorTool::m_doPixelHits
Gaudi::Property< bool > m_doPixelHits
Definition
FPGATrackSimGNNGraphHitSelectorTool.h:46
FPGATrackSimGNNGraphHitSelectorTool::selectHits
virtual StatusCode selectHits(const std::vector< std::shared_ptr< const FPGATrackSimHit > > &hits, std::vector< std::shared_ptr< FPGATrackSimGNNHit > > &graph_hits)
Definition
FPGATrackSimGNNGraphHitSelectorTool.cxx:17
FPGATrackSimGNNGraphHitSelectorTool::getEta
float getEta(const std::shared_ptr< const FPGATrackSimHit > &hit)
Definition
FPGATrackSimGNNGraphHitSelectorTool.cxx:87
Generated on
for ATLAS Offline Software by
1.17.0