Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PrototracksToSeeds.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PrototracksToSeeds.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2023 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include "
ActsExamples/EventData/ProtoTrack.hpp
"
12
#include "
ActsExamples/EventData/SimSeed.hpp
"
13
#include "
ActsExamples/Framework/DataHandle.hpp
"
14
#include "
ActsExamples/Framework/IAlgorithm.hpp
"
15
16
namespace
ActsExamples {
17
18
class
PrototracksToSeeds
final :
public
IAlgorithm
{
19
public
:
20
struct
Config
{
21
std::string
inputProtoTracks
;
22
std::string
inputSpacePoints
;
23
std::string
outputSeeds
=
"seeds-from-prototracks"
;
24
std::string
outputProtoTracks
=
"remaining-prototracks"
;
25
};
26
31
PrototracksToSeeds
(
Config
cfg
,
Acts::Logging::Level
lvl);
32
37
ProcessCode
execute
(
const
AlgorithmContext
& ctx)
const
final
;
38
40
const
Config
&
config
()
const
{
return
m_cfg
; }
41
42
private
:
43
Config
m_cfg
;
44
45
WriteDataHandle<SimSeedContainer>
m_outputSeeds
{
this
,
"OutputSeeds"
};
46
WriteDataHandle<ProtoTrackContainer>
m_outputProtoTracks
{
this
,
47
"OutputProtoTracks"
};
48
ReadDataHandle<SimSpacePointContainer>
m_inputSpacePoints
{
this
,
49
"InputSpacePoints"
};
50
ReadDataHandle<ProtoTrackContainer>
m_inputProtoTracks
{
this
,
51
"InputProtoTracks"
};
52
};
53
54
}
// namespace ActsExamples
acts
blob
sPHENIX
Examples
Algorithms
Utilities
include
ActsExamples
Utilities
PrototracksToSeeds.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:37
using
1.8.2 with
sPHENIX GitHub integration