EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
SecondaryVerticesHelix.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2025 Xin Dong
3
4#pragma once
5
6#include <DD4hep/Detector.h>
7#include <algorithms/algorithm.h>
8#include <algorithms/geo.h>
9#include <edm4eic/ReconstructedParticleCollection.h>
10#include <edm4eic/VertexCollection.h>
11#include <gsl/pointers>
12#include <string> // for basic_string
13#include <string_view> // for string_view
14
17
18namespace eicrecon {
19
20using SecondaryVerticesHelixAlgorithm = algorithms::Algorithm<
21 algorithms::Input<edm4eic::VertexCollection, edm4eic::ReconstructedParticleCollection>,
22 algorithms::Output<edm4eic::VertexCollection>>;
23
25 public WithPodConfig<SecondaryVerticesHelixConfig> {
26
27public:
28 SecondaryVerticesHelix(std::string_view name)
30 name,
31 {"inputVertices", "inputParticles"},
32 {"outputSecondaryVertices"},
33 "Reconstruct secondary vertices in SecondaryVertices collection"} {}
34
35 void init() final;
36 void process(const Input&, const Output&) const final;
37
38private:
39 const dd4hep::Detector* m_det{algorithms::GeoSvc::instance().detector()};
40};
41
42} // namespace eicrecon
Definition SecondaryVerticesHelix.h:25
SecondaryVerticesHelix(std::string_view name)
Definition SecondaryVerticesHelix.h:28
Definition WithPodConfig.h:22
Definition ActsGeometryProvider.h:28
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::VertexCollection, edm4eic::ReconstructedParticleCollection >, algorithms::Output< edm4eic::VertexCollection > > SecondaryVerticesHelixAlgorithm
Definition SecondaryVerticesHelix.h:22