File indexing completed on 2025-04-03 08:49:41
0001
0002
0003
0004
0005
0006
0007 #pragma once
0008
0009 #include <algorithms/algorithm.h>
0010 #include <edm4eic/RawTrackerHitCollection.h>
0011 #include <edm4hep/RawTimeSeriesCollection.h>
0012 #include <string>
0013 #include <string_view>
0014
0015 #include "algorithms/digi/LGADPulseDigitizationConfig.h"
0016 #include "algorithms/interfaces/WithPodConfig.h"
0017
0018 namespace eicrecon {
0019
0020 using LGADPulseDigitizationAlgorithm =
0021 algorithms::Algorithm<algorithms::Input<edm4hep::RawTimeSeriesCollection>,
0022 algorithms::Output<edm4eic::RawTrackerHitCollection>>;
0023
0024 class LGADPulseDigitization : public LGADPulseDigitizationAlgorithm,
0025 public WithPodConfig<LGADPulseDigitizationConfig> {
0026
0027 public:
0028 LGADPulseDigitization(std::string_view name)
0029 : LGADPulseDigitizationAlgorithm{name, {"LGADPulse"}, {"ADCTDCOutput"}, {}} {}
0030 void init(){};
0031 void process(const Input&, const Output&) const final;
0032 };
0033
0034 }