EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrintHits.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PrintHits.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 
12 
13 #include <cstddef>
14 #include <string>
15 
16 namespace ActsExamples {
17 
19 class PrintHits : public BareAlgorithm {
20  public:
21  struct Config {
23  std::string inputClusters;
25  std::string inputHitParticlesMap;
27  std::string inputHitIds;
28  // the following values are (invalid) defaults; should be set by user
30  size_t hitIdStart = 0u;
31  size_t hitIdLength = 0u;
33  size_t volumeId = 0u;
34  size_t layerId = 0u;
35  size_t moduleId = 0u;
36  };
37 
38  PrintHits(const Config& cfg, Acts::Logging::Level level);
39 
40  ProcessCode execute(const AlgorithmContext& ctx) const;
41 
42  private:
44 };
45 
46 } // namespace ActsExamples