CbmRoot
Loading...
Searching...
No Matches
TofHitfindQaParameters.h
Go to the documentation of this file.
1/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergei Zharko [committer] */
4
9
10#pragma once
11
12#include "tof/HitfindSetup.h"
13
14#include <unordered_map>
15#include <vector>
16
17namespace cbm::algo::tof
18{
22
24 struct Rpc {
25 std::vector<uint32_t> chAddresses;
26 uint32_t address;
27 };
28
29 std::unordered_map<uint32_t, uint32_t> lookupMap;
30 std::vector<Rpc> rpcs;
31
34
37 HitfindQaParameters(const HitfindSetup& hitSetup);
38 };
39} // namespace cbm::algo::tof
std::vector< uint32_t > chAddresses
Address of channel vs channel ID.
A structure to handle TOF QA parameters.
std::unordered_map< uint32_t, uint32_t > lookupMap
A lookup map for RPC addresses.
std::vector< Rpc > rpcs
A map for different RPC properties.
HitfindQaParameters()=default
Default constructor.
Hitfind setup / Hardware cabling for TOF Used to create the hardware mapping for the TOF hitfinder.