EIC Software
 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 "Acts/Utilities/Units.hpp"
14 
15 #include <limits>
16 #include <string>
17 
18 namespace ActsExamples {
19 
25 class ParticleSmearing final : public BareAlgorithm {
26  public:
27  struct Config {
29  std::string inputParticles;
31  std::string outputTrackParameters;
49  double sigmaPRel = 0.001;
51  std::shared_ptr<RandomNumbers> randomNumbers = nullptr;
52  };
53 
55 
56  ProcessCode execute(const AlgorithmContext& ctx) const final override;
57 
58  private:
60 };
61 
62 } // namespace ActsExamples