EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
TrackerHitReconstruction.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2022 - 2025 Whitney Armstrong, Sylvester Joosten, Wouter Deconinck, Dmitry Romanov
3
4#pragma once
5
6#include <DDRec/CellIDPositionConverter.h>
7#include <algorithms/algorithm.h>
8#include <algorithms/geo.h>
9#include <edm4eic/RawTrackerHitCollection.h>
10#include <edm4eic/TrackerHitCollection.h>
11#include <gsl/pointers>
12#include <string>
13#include <string_view>
14
17
18namespace eicrecon {
19
21 algorithms::Algorithm<algorithms::Input<edm4eic::RawTrackerHitCollection>,
22 algorithms::Output<edm4eic::TrackerHitCollection>>;
23
28 public WithPodConfig<TrackerHitReconstructionConfig> {
29
30public:
31 TrackerHitReconstruction(std::string_view name)
33 name, {"inputRawHits"}, {"outputHits"}, "reconstruct raw hits into tracker hits."} {}
34
36 void init() final {};
37
39 void process(const Input&, const Output&) const final;
40
41private:
42 const algorithms::GeoSvc& m_geo{algorithms::GeoSvc::instance()};
43 const dd4hep::rec::CellIDPositionConverter* m_converter{m_geo.cellIDPositionConverter()};
44};
45
46} // namespace eicrecon
Definition TrackerHitReconstruction.h:28
TrackerHitReconstruction(std::string_view name)
Definition TrackerHitReconstruction.h:31
void init() final
Once in a lifetime initialization.
Definition TrackerHitReconstruction.h:36
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::RawTrackerHitCollection >, algorithms::Output< edm4eic::TrackerHitCollection > > TrackerHitReconstructionAlgorithm
Definition TrackerHitReconstruction.h:22