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
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
11
#include "
ActsExamples/Framework/BareAlgorithm.hpp
"
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
= 0
u
;
31
size_t
hitIdLength
= 0
u
;
33
size_t
volumeId
= 0
u
;
34
size_t
layerId
= 0
u
;
35
size_t
moduleId
= 0
u
;
36
};
37
38
PrintHits
(
const
Config
& cfg,
Acts::Logging::Level
level);
39
40
ProcessCode
execute
(
const
AlgorithmContext
& ctx)
const
;
41
42
private
:
43
Config
m_cfg
;
44
};
45
46
}
// namespace ActsExamples
acts
blob
sPHENIX
Examples
Algorithms
Printers
ActsExamples
Printers
PrintHits.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:24
using
1.8.2 with
EIC GitHub integration