CbmRoot
Loading...
Searching...
No Matches
trd/TrackingInterface.cxx
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#include "TrackingInterface.h"
11
13#include "CbmTrdAddress.h"
14
16
17// ---------------------------------------------------------------------------------------------------------------------
18//
19void TrackingInterface::Init() { L_(info) << "TRD: TrackingInterface initialization"; }
20
21// ---------------------------------------------------------------------------------------------------------------------
22//
23int TrackingInterface::GetTrackingStation(uint32_t address) const { return CbmTrdAddress::GetLayerId(address); }
#define L_(level)
Helper class to convert unique channel ID back and forth.
static uint32_t GetLayerId(uint32_t address)
Return layer ID from address.
int GetTrackingStation(uint32_t address) const
Returns tracking station index by the TOF address.
A TRD-parameter and geometry interface used for tracking input data initialization (header)