45 template<fles::Subsystem DetID>
48 if constexpr (DetID == fles::Subsystem::STS) {
51 else if constexpr (DetID == fles::Subsystem::TRD) {
54 else if constexpr (DetID == fles::Subsystem::TOF) {
63 void Use(fles::Subsystem det,
bool flag =
true)
65 using fles::Subsystem;
67 case Subsystem::STS:
fbUseSts = flag;
break;
68 case Subsystem::MVD:
break;
69 case Subsystem::MUCH:
break;
70 case Subsystem::TRD:
fbUseTrd = flag;
break;
71 case Subsystem::TOF:
fbUseTof = flag;
break;
A detector setup interface class for tracking input data initialization.
sts::TrackingInterface fSts
STS tracking interface.
void Init()
Initializer function.
trd::TrackingInterface fTrd
TRD tracking interface.
~TrackingSetup()=default
Destructor.
tof::TrackingInterface fTof
TOF tracking interface.
TrackingSetup(const TrackingSetup &)=delete
Copy constructor.
void Use(fles::Subsystem det, bool flag=true)
Set detector subsystem usage.
TrackingSetup()=default
Default constructor.
TrackingSetup(TrackingSetup &&)=delete
Move constructor.
int GetTrackingStation(uint32_t address) const
Returns tracking station index by the detector element address.
int GetTrackingStation(uint32_t address) const
Returns tracking station index by the TOF address.
int GetTrackingStation(uint32_t address) const
Returns tracking station index by the TOF address.
int GetTrackingStation(uint32_t address) const
Returns tracking station index by the TOF address.
A STS-parameter and geometry interface used for tracking input data initialization (header)
A TOF-parameter and geometry interface used for tracking input data initialization (header)
A TRD-parameter and geometry interface used for tracking input data initialization (header)