EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
MC2ReconstructedParticle.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2022 - 2025 Sylvester Joosten, Whitney Armstrong, Wouter Deconinck, Dmitry Romanov
3
4#pragma once
5
6#include <algorithms/algorithm.h>
7#include <edm4eic/ReconstructedParticleCollection.h>
8#include <edm4hep/MCParticleCollection.h>
9#include <string>
10#include <string_view>
11
13
14namespace eicrecon {
15
17 algorithms::Algorithm<algorithms::Input<edm4hep::MCParticleCollection>,
18 algorithms::Output<edm4eic::ReconstructedParticleCollection>>;
19
24 public WithPodConfig<NoConfig> {
25public:
26 MC2ReconstructedParticle(std::string_view name)
28 {"inputMCParticles"},
29 {"outputReconstructedParticles"},
30 "Convert truth MC particles into reconstructed particles,"
31 "optionally applying momentum smearing."} {}
32
34 void init() final;
35
37 void process(const Input&, const Output&) const final;
38};
39
40} // namespace eicrecon
Definition MC2ReconstructedParticle.h:24
MC2ReconstructedParticle(std::string_view name)
Definition MC2ReconstructedParticle.h:26
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4hep::MCParticleCollection >, algorithms::Output< edm4eic::ReconstructedParticleCollection > > MC2ReconstructedParticleAlgorithm
Definition MC2ReconstructedParticle.h:18