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
ParticleSmearing.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ParticleSmearing.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
#include "
ACTFW/Framework/RandomNumbers.hpp
"
16
#include "
Acts/Utilities/Units.hpp
"
17
18
namespace
FW {
19
25
class
ParticleSmearing
final :
public
BareAlgorithm
{
26
public
:
27
struct
Config
{
29
std::string
inputParticles
;
31
std::string
outputTrackParameters
;
33
double
sigmaD0
= 30 *
Acts::UnitConstants::um
;
35
double
sigmaD0PtA
= 0 *
Acts::UnitConstants::um
;
36
double
sigmaD0PtB
= 1 /
Acts::UnitConstants::GeV
;
38
double
sigmaZ0
= 30 *
Acts::UnitConstants::um
;
40
double
sigmaZ0PtA
= 0 *
Acts::UnitConstants::um
;
41
double
sigmaZ0PtB
= 1 /
Acts::UnitConstants::GeV
;
43
double
sigmaT0
= 5 *
Acts::UnitConstants::ns
;
45
double
sigmaPhi
= 1 *
Acts::UnitConstants::degree
;
47
double
sigmaTheta
= 1 *
Acts::UnitConstants::degree
;
49
double
sigmaPRel
= 0.001;
51
std::shared_ptr<RandomNumbers>
randomNumbers
=
nullptr
;
52
};
53
54
ParticleSmearing
(
const
Config
& cfg,
Acts::Logging::Level
lvl);
55
56
ProcessCode
execute
(
const
AlgorithmContext
& ctx)
const
final
override
;
57
58
private
:
59
Config
m_cfg
;
60
};
61
62
}
// namespace FW
acts
blob
master
Examples
Algorithms
TruthTracking
ACTFW
TruthTracking
ParticleSmearing.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:23
using
1.8.2 with
ECCE GitHub integration