EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SeedFilter.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SeedFilter.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2018-2020 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 "
Acts/Seeding/IExperimentCuts.hpp
"
12
#include "
Acts/Seeding/InternalSeed.hpp
"
13
#include "
Acts/Seeding/Seed.hpp
"
14
#include "
Acts/Seeding/SeedFilterConfig.hpp
"
15
16
#include <memory>
17
#include <mutex>
18
#include <queue>
19
#include <vector>
20
21
namespace
Acts {
22
25
template
<
typename
external_spacepo
int
_t>
26
class
SeedFilter
{
27
public
:
28
SeedFilter
(
SeedFilterConfig
config
,
29
IExperimentCuts<external_spacepoint_t>
* expCuts = 0);
30
31
SeedFilter
() =
delete
;
32
virtual
~SeedFilter
() =
default
;
33
43
virtual
std::vector
<std::pair<
44
float, std::unique_ptr<const InternalSeed<external_spacepoint_t>>>>
45
filterSeeds_2SpFixed
(
46
const
InternalSpacePoint<external_spacepoint_t>
& bottomSP,
47
const
InternalSpacePoint<external_spacepoint_t>
& middleSP,
48
std::vector
<
const
InternalSpacePoint<external_spacepoint_t>
*>& topSpVec,
49
std::vector<float>& invHelixDiameterVec,
50
std::vector<float>& impactParametersVec,
float
zOrigin)
const
;
51
56
virtual
void
filterSeeds_1SpFixed
(
57
std::vector
<std::pair<
58
float
, std::unique_ptr<
const
InternalSeed<external_spacepoint_t>
>>>&
59
seedsPerSpM,
60
std::vector
<
Seed<external_spacepoint_t>
>& outVec)
const
;
61
const
SeedFilterConfig
getSeedFilterConfig
()
const
{
return
m_cfg
; }
62
const
IExperimentCuts<external_spacepoint_t>
*
getExperimentCuts
()
const
{
63
return
m_experimentCuts
;
64
}
65
66
private
:
67
const
SeedFilterConfig
m_cfg
;
68
const
IExperimentCuts<external_spacepoint_t>
*
m_experimentCuts
;
69
};
70
}
// namespace Acts
71
#include "
Acts/Seeding/SeedFilter.ipp
"
acts
blob
sPHENIX
Core
include
Acts
Seeding
SeedFilter.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:23
using
1.8.2 with
EIC GitHub integration