CbmRoot
Loading...
Searching...
No Matches
HitMerger.h
Go to the documentation of this file.
1/* Copyright (C) 2024 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Dominik Smith [committer], Etienne Bechtel, Florian Uhlig */
4
5#pragma once
6
7#include "DigiRec.h"
8#include "Hit.h"
9#include "HitFinderPars.h"
10
11#include <tuple>
12#include <vector>
13
14namespace cbm::algo::trd
15{
19 class HitMerger {
20 public:
21 typedef std::pair<Hit, std::vector<DigiRec>> inputType;
22 typedef std::pair<std::vector<inputType>, std::vector<inputType>> outputType;
23
29 virtual ~HitMerger(){};
30
31 /* \brief Steering routine for building hits */
32 outputType operator()(std::vector<inputType>& hitsRow1, std::vector<inputType>& hitsRow2);
33
34
35 protected:
36 private:
37 HitMerger(const HitMerger& ref);
38 const HitMerger& operator=(const HitMerger& ref);
39
41 };
42
43} // namespace cbm::algo::trd
Rectangular pad module; Hit merging.
Definition HitMerger.h:19
const HitMerger & operator=(const HitMerger &ref)
HitMerger(const HitMerger &ref)
std::pair< std::vector< inputType >, std::vector< inputType > > outputType
Definition HitMerger.h:22
std::pair< Hit, std::vector< DigiRec > > inputType
Definition HitMerger.h:21
outputType operator()(std::vector< inputType > &hitsRow1, std::vector< inputType > &hitsRow2)
Definition HitMerger.cxx:13
HitFinderModPar fParams
Parameter container.
Definition HitMerger.h:40
A light-weight TRD hit class for online reconstruction, based on CbmTrdHit. .