CbmRoot
Loading...
Searching...
No Matches
tof/TrackingInterface.h
Go to the documentation of this file.
1/* Copyright (C) 2024 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 "SubChain.h"
13
14namespace cbm::algo::tof
15{
16 class TrackingInterface : public SubChain {
17 public:
19 TrackingInterface() = default;
20
23
26
28 ~TrackingInterface() = default;
29
31 void Init();
32
36 int GetTrackingStation(uint32_t address) const;
37
38 private:
39 std::vector<int> fvNofRpc;
40 std::vector<int> fvNofSm;
41 std::vector<std::vector<int>> fvTrackingStationId;
42 };
43} // namespace cbm::algo::tof
std::vector< std::vector< int > > fvTrackingStationId
Index of tracking station [NbSmt][NbSm * NbRpc].
std::vector< int > fvNofRpc
Number of RPCs [NbSmt].
std::vector< int > fvNofSm
Number of super modules [NbSmt].
TrackingInterface(const TrackingInterface &)=delete
Copy constructor.
int GetTrackingStation(uint32_t address) const
Returns tracking station index by the TOF address.
TrackingInterface()=default
Default constructor.
TrackingInterface(TrackingInterface &&)=delete
Move constructor.
~TrackingInterface()=default
Destructor.