EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
InclusiveKinematicsTruth.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2022, 2023 Sylvester Joosten, Dmitry Romanov, Wouter Deconinck
3
4#pragma once
5
6#include <algorithms/algorithm.h>
7#include <edm4eic/InclusiveKinematicsCollection.h>
8#include <edm4hep/MCParticleCollection.h>
9#include <string>
10#include <string_view>
11
14
15namespace eicrecon {
16
18 algorithms::Algorithm<algorithms::Input<edm4hep::MCParticleCollection>,
19 algorithms::Output<edm4eic::InclusiveKinematicsCollection>>;
20
22 public WithPodConfig<NoConfig> {
23
24public:
25 InclusiveKinematicsTruth(std::string_view name)
27 name,
28 {"MCParticles"},
29 {"inclusiveKinematics"},
30 "Determine inclusive kinematics from truth information."} {}
31
32 void init() final;
33 void process(const Input&, const Output&) const final;
34
35private:
36 const algorithms::ParticleSvc& m_particleSvc = algorithms::ParticleSvc::instance();
37};
38
39} // namespace eicrecon
Definition InclusiveKinematicsTruth.h:22
InclusiveKinematicsTruth(std::string_view name)
Definition InclusiveKinematicsTruth.h:25
Definition WithPodConfig.h:22
Definition ActsSvc.h:11
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4hep::MCParticleCollection >, algorithms::Output< edm4eic::InclusiveKinematicsCollection > > InclusiveKinematicsTruthAlgorithm
Definition InclusiveKinematicsTruth.h:19