EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
CalorimeterTruthClustering.h
Go to the documentation of this file.
1
2// SPDX-License-Identifier: LGPL-3.0-or-later
3// Copyright (C) 2022 Sylvester Joosten, Whitney Armstrong, Wouter Deconinck
4
5#pragma once
6
7#include <algorithms/algorithm.h>
8#include <edm4eic/CalorimeterHitCollection.h>
9#include <edm4eic/ProtoClusterCollection.h>
10#include <edm4hep/SimCalorimeterHitCollection.h>
11#include <string>
12#include <string_view>
13
15
16namespace eicrecon {
17
18using CalorimeterTruthClusteringAlgorithm = algorithms::Algorithm<
19 algorithms::Input<edm4eic::CalorimeterHitCollection, edm4hep::SimCalorimeterHitCollection>,
20 algorithms::Output<edm4eic::ProtoClusterCollection>>;
21
23 public WithPodConfig<NoConfig> {
24
25public:
26 CalorimeterTruthClustering(std::string_view name)
28 {"inputHitCollection", "inputSimHitCollection"},
29 {"outputProtoClusterCollection"},
30 "Use truth information for clustering."} {}
31
32public:
33 void init() final;
34 void process(const Input&, const Output&) const final;
35};
36
37} // namespace eicrecon
Definition CalorimeterTruthClustering.h:23
CalorimeterTruthClustering(std::string_view name)
Definition CalorimeterTruthClustering.h:26
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::CalorimeterHitCollection, edm4hep::SimCalorimeterHitCollection >, algorithms::Output< edm4eic::ProtoClusterCollection > > CalorimeterTruthClusteringAlgorithm
Definition CalorimeterTruthClustering.h:20