7#include <DD4hep/Detector.h>
8#include <DDRec/CellIDPositionConverter.h>
9#include <algorithms/algorithm.h>
10#include <algorithms/geo.h>
11#include <edm4eic/ReconstructedParticleCollection.h>
12#include <edm4eic/TrackerHitCollection.h>
13#include <edm4hep/MCParticleCollection.h>
14#include <gsl/pointers>
24 algorithms::Input<edm4hep::MCParticleCollection, edm4eic::TrackerHitCollection>,
25 algorithms::Output<edm4eic::ReconstructedParticleCollection>>;
34 {
"mcParticles",
"inputHitCollection"},
35 {
"outputParticleCollection"},
36 "Apply polynomial matrix method reconstruction to hits."} {}
39 void process(const Input&, const Output&) const final;
42 const
dd4hep::Detector* m_detector{algorithms::GeoSvc::instance().detector()};
43 const dd4hep::rec::CellIDPositionConverter* m_converter{
44 algorithms::GeoSvc::instance().cellIDPositionConverter()};
45 double calculateOffsetFromXL(
int whichOffset,
double x_L,
double beamEnergy)
const;
46 double calculateMatrixValueFromXL(
int whichElement,
double x_L,
double beamEnergy)
const;
Definition PolynomialMatrixReconstruction.h:28
PolynomialMatrixReconstruction(std::string_view name)
Definition PolynomialMatrixReconstruction.h:31
Definition WithPodConfig.h:22
Definition ActsGeometryProvider.h:28
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4hep::MCParticleCollection, edm4eic::TrackerHitCollection >, algorithms::Output< edm4eic::ReconstructedParticleCollection > > PolynomialMatrixReconstructionAlgorithm
Definition PolynomialMatrixReconstruction.h:25