EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
LGADHitCalibration.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2025 Chun Yuen Tsang
3
4#pragma once
5
6#include <DDRec/CellIDPositionConverter.h>
7#include <algorithms/algorithm.h>
8#include <edm4eic/RawTrackerHitCollection.h>
9#include <edm4eic/TrackerHitCollection.h>
10#include <spdlog/logger.h>
11#include <memory>
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
25 public WithPodConfig<LGADHitCalibrationConfig> {
26
27public:
28 LGADHitCalibration(std::string_view name)
29 : LGADHitCalibrationAlgorithm{name, {"TOFBarrelADCTDC"}, {"TOFBarrelCalHit"}, ""} {};
30
31 void init() final;
32 void process(const Input&, const Output&) const final;
33
34private:
35 std::shared_ptr<spdlog::logger> m_log;
36
37 const dd4hep::rec::CellIDPositionConverter* m_converter = nullptr;
38};
39} // namespace eicrecon
Definition LGADHitCalibration.h:25
LGADHitCalibration(std::string_view name)
Definition LGADHitCalibration.h:28
Definition WithPodConfig.h:22
Definition ActsGeometryProvider.h:28
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::RawTrackerHitCollection >, algorithms::Output< edm4eic::TrackerHitCollection > > LGADHitCalibrationAlgorithm
Definition LGADHitCalibration.h:22
Definition SimCalorimeterHitProcessor.cc:35