ECCE @ EIC Software
Reference for
ECCE @ 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
TrackSelector.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrackSelector.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2019 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 <limits>
12
#include <string>
13
14
#include "
ACTFW/Framework/BareAlgorithm.hpp
"
15
16
namespace
FW {
17
19
class
TrackSelector
final :
public
BareAlgorithm
{
20
public
:
21
struct
Config
{
23
std::string
input
;
25
std::string
output
;
27
double
rhoMax
=
std::numeric_limits<double>::max
();
29
double
absZMax
=
std::numeric_limits<double>::max
();
30
// Track cuts
31
double
phiMin
= std::numeric_limits<double>::lowest();
32
double
phiMax
=
std::numeric_limits<double>::max
();
33
double
etaMin
= std::numeric_limits<double>::lowest();
34
double
etaMax
=
std::numeric_limits<double>::max
();
35
double
absEtaMin
= std::numeric_limits<double>::lowest();
36
double
absEtaMax
=
std::numeric_limits<double>::max
();
37
double
ptMin
= 0.0;
38
double
ptMax
=
std::numeric_limits<double>::max
();
40
bool
keepNeutral
=
true
;
41
};
42
43
TrackSelector
(
const
Config
& cfg,
44
Acts::Logging::Level
level =
Acts::Logging::INFO
);
45
46
ProcessCode
execute
(
const
AlgorithmContext
& ctx)
const
final
override
;
47
48
private
:
49
Config
m_cfg
;
50
};
51
52
}
// namespace FW
acts
blob
master
Examples
Algorithms
TruthTracking
ACTFW
TruthTracking
TrackSelector.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:23
using
1.8.2 with
ECCE GitHub integration