EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
EICROCDigitization.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2024 Souvik Paul, Chun Yuen Tsang, Prithwish Tribedy
3// Special Acknowledgement: Kolja Kauder
4//
5// Convert ADC pulses from EICROCGeneration into ADC and TDC values
6
7#pragma once
8
9#include <algorithms/algorithm.h>
10#include <edm4eic/RawTrackerHitCollection.h>
11#include <edm4hep/RawTimeSeriesCollection.h>
12#include <cmath>
13#include <string>
14#include <string_view>
15
18
19namespace eicrecon {
20
22 algorithms::Algorithm<algorithms::Input<edm4hep::RawTimeSeriesCollection>,
23 algorithms::Output<edm4eic::RawTrackerHitCollection>>;
24
26 public WithPodConfig<EICROCDigitizationConfig> {
27
28public:
29 EICROCDigitization(std::string_view name)
30 : EICROCDigitizationAlgorithm{name, {"EICROC"}, {"ADCTDCOutput"}, {}} {}
31 void init() {};
32 void process(const Input&, const Output&) const final;
33};
34
35} // namespace eicrecon
Definition EICROCDigitization.h:26
void init()
Definition EICROCDigitization.h:31
EICROCDigitization(std::string_view name)
Definition EICROCDigitization.h:29
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4hep::RawTimeSeriesCollection >, algorithms::Output< edm4eic::RawTrackerHitCollection > > EICROCDigitizationAlgorithm
Definition EICROCDigitization.h:23