EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
CALOROCDigitization.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2025 Minho Kim, Wouter Deconinck, Dmitry Kalinkin, Derek Anderson, Simon Gardner, Sylvester Joosten, Maria Zurek
3
4#pragma once
5
6#include <algorithms/algorithm.h>
7#include <edm4eic/RawCALOROCHitCollection.h>
8#include <edm4eic/SimPulseCollection.h>
9#include <string>
10#include <string_view>
11
14
15namespace eicrecon {
16
18 algorithms::Algorithm<algorithms::Input<edm4eic::SimPulseCollection>,
19 algorithms::Output<edm4eic::RawCALOROCHitCollection>>;
20
22 public WithPodConfig<CALOROCDigitizationConfig> {
23
24public:
25 CALOROCDigitization(std::string_view name)
27 {"InputPulses"},
28 {"OutputDigiHits"},
29 {"Digitizes simulated pulses from a CALOROC chip"}} {}
30 virtual void init() final;
31 void process(const Input&, const Output&) const;
32
33private:
34 double get_crossing_time(double thres, double dt, double t, double amp1, double amp2) const;
35};
36
37} // namespace eicrecon
Definition CALOROCDigitization.h:22
CALOROCDigitization(std::string_view name)
Definition CALOROCDigitization.h:25
virtual void init() final
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::SimPulseCollection >, algorithms::Output< edm4eic::RawCALOROCHitCollection > > CALOROCDigitizationAlgorithm
Definition CALOROCDigitization.h:19