EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
CFDROCDigitization.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// Convert ADC pulses from CFDROCGeneration into ADC and TDC values
5
6#pragma once
7
8#include <algorithms/algorithm.h>
9#include <edm4eic/RawTrackerHitCollection.h>
10#include <edm4hep/RawTimeSeriesCollection.h>
11#include <cmath>
12#include <string>
13#include <string_view>
14
17
18namespace eicrecon {
19
21 algorithms::Algorithm<algorithms::Input<edm4hep::RawTimeSeriesCollection>,
22 algorithms::Output<edm4eic::RawTrackerHitCollection>>;
23
25 public WithPodConfig<CFDROCDigitizationConfig> {
26
27public:
28 CFDROCDigitization(std::string_view name)
30 name,
31 {"inputWaveforms"},
32 {"outputRawHits"},
33 "Discriminate and digitize signals with timing based on what is expected from a CFD"} {}
34 void init() {};
35 void process(const Input&, const Output&) const final;
36};
37
38} // namespace eicrecon
Definition CFDROCDigitization.h:25
void init()
Definition CFDROCDigitization.h:34
CFDROCDigitization(std::string_view name)
Definition CFDROCDigitization.h:28
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4hep::RawTimeSeriesCollection >, algorithms::Output< edm4eic::RawTrackerHitCollection > > CFDROCDigitizationAlgorithm
Definition CFDROCDigitization.h:22