EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
TrackProjector.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2022 - 2025 Dmitry Romanov, Dmitry Kalinkin
3
4#pragma once
5
6#include <Acts/EventData/VectorMultiTrajectory.hpp>
7#include <Acts/EventData/VectorTrackContainer.hpp>
8#include <algorithms/algorithm.h>
9#include <edm4eic/TrackCollection.h>
10#include <edm4eic/TrackSegmentCollection.h>
11#include <memory>
12#include <string>
13#include <string_view>
14
17
18namespace eicrecon {
19
20using TrackProjectorAlgorithm = algorithms::Algorithm<
21 algorithms::Input<Acts::ConstVectorMultiTrajectory, Acts::ConstVectorTrackContainer,
22 edm4eic::TrackCollection>,
23 algorithms::Output<edm4eic::TrackSegmentCollection>>;
24
25class TrackProjector : public TrackProjectorAlgorithm, public WithPodConfig<NoConfig> {
26public:
27 TrackProjector(std::string_view name)
29 {"inputActsTrackStates", "inputActsTracks", "inputTracks"},
30 {"outputTrackSegments"},
31 "Exports track states as segments"} {}
32
33 void init() final;
34 void process(const Input&, const Output&) const final;
35
36private:
37 std::shared_ptr<const ActsGeometryProvider> m_geo_provider;
38};
39
40} // namespace eicrecon
Definition ActsGeometryProvider.h:39
Definition TrackProjector.h:25
TrackProjector(std::string_view name)
Definition TrackProjector.h:27
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< Acts::ConstVectorMultiTrajectory, Acts::ConstVectorTrackContainer, edm4eic::TrackCollection >, algorithms::Output< edm4eic::TrackSegmentCollection > > TrackProjectorAlgorithm
Definition TrackProjector.h:23
Definition SimCalorimeterHitProcessor.cc:35