EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
ScatteredElectronsTruth.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2024 Daniel Brandenburg
3
4#pragma once
5
6#include <algorithms/algorithm.h>
7#include <edm4eic/MCRecoParticleAssociationCollection.h>
8#include <edm4eic/ReconstructedParticleCollection.h>
9#include <edm4hep/MCParticleCollection.h>
10#include <string>
11#include <string_view>
12
15
16namespace eicrecon {
17
18using ScatteredElectronsTruthAlgorithm = algorithms::Algorithm<
19 algorithms::Input<edm4hep::MCParticleCollection, edm4eic::ReconstructedParticleCollection,
20 edm4eic::MCRecoParticleAssociationCollection>,
21 algorithms::Output<edm4eic::ReconstructedParticleCollection>>;
22
24 public WithPodConfig<NoConfig> {
25
26public:
27 ScatteredElectronsTruth(std::string_view name)
29 {"MCParticles", "inputParticles", "inputAssociations"},
30 {"ReconstructedParticles"},
31 "Output a list of possible scattered electrons using "
32 "truth MC Particle associations."} {}
33
34 void init() final;
35 void process(const Input&, const Output&) const final;
36
37private:
38 const algorithms::ParticleSvc& m_particleSvc = algorithms::ParticleSvc::instance();
39};
40
41} // namespace eicrecon
Definition ScatteredElectronsTruth.h:24
ScatteredElectronsTruth(std::string_view name)
Definition ScatteredElectronsTruth.h:27
Definition WithPodConfig.h:22
Definition ActsSvc.h:11
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4hep::MCParticleCollection, edm4eic::ReconstructedParticleCollection, edm4eic::MCRecoParticleAssociationCollection >, algorithms::Output< edm4eic::ReconstructedParticleCollection > > ScatteredElectronsTruthAlgorithm
Definition ScatteredElectronsTruth.h:21