EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
IterativeVertexFinder.h
Go to the documentation of this file.
1// Created by Joe Osborn
2// Subject to the terms in the LICENSE file found in the top-level directory.
3//
4
5#pragma once
6
7#include <Acts/EventData/VectorMultiTrajectory.hpp>
8#include <Acts/EventData/VectorTrackContainer.hpp>
9#include <Acts/MagneticField/MagneticFieldProvider.hpp>
10#include <algorithms/algorithm.h>
11#include <edm4eic/ReconstructedParticleCollection.h>
12#include <edm4eic/VertexCollection.h>
13#include <memory>
14#include <string>
15#include <string_view>
16
21
22namespace eicrecon {
23
24using IterativeVertexFinderAlgorithm = algorithms::Algorithm<
25 algorithms::Input<Acts::ConstVectorMultiTrajectory, Acts::ConstVectorTrackContainer,
26 edm4eic::ReconstructedParticleCollection>,
27 algorithms::Output<edm4eic::VertexCollection>>;
28
30 public WithPodConfig<eicrecon::IterativeVertexFinderConfig> {
31public:
32 IterativeVertexFinder(std::string_view name)
34 name,
35 {"inputActsTrackStates", "inputActsTracks", "inputReconstructedParticles"},
36 {"outputVertices"},
37 "Iterative vertex finder"} {}
38
39 void init() final {};
40 void process(const Input&, const Output&) const final;
41
42private:
43 std::shared_ptr<const ActsGeometryProvider> m_geoSvc{
44 algorithms::ActsSvc::instance().acts_geometry_provider()};
45 std::shared_ptr<const Acts::MagneticFieldProvider> m_BField{m_geoSvc->getFieldProvider()};
46};
47} // namespace eicrecon
Definition IterativeVertexFinder.h:30
void init() final
Definition IterativeVertexFinder.h:39
IterativeVertexFinder(std::string_view name)
Definition IterativeVertexFinder.h:32
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< Acts::ConstVectorMultiTrajectory, Acts::ConstVectorTrackContainer, edm4eic::ReconstructedParticleCollection >, algorithms::Output< edm4eic::VertexCollection > > IterativeVertexFinderAlgorithm
Definition IterativeVertexFinder.h:27