4#ifndef AFP_BYTESTREAM2RAWCNV_AFP_LINKNUMTRANSLATOR_H
5#define AFP_BYTESTREAM2RAWCNV_AFP_LINKNUMTRANSLATOR_H
29 virtual StatusCode
finalize()
override;
32 enum LinkNums :
unsigned int {
kNS0=0,
kNS1=1,
kNS2=2,
kNS3=3,
kFS0=8,
kFS1=9,
kFS2=10,
kFS3=11,
kFS5=12,
kFS4=13,
kUnknown=99};
34 unsigned int translate(
unsigned int origlink)
const override;
37 Gaudi::Property<bool>
m_useDB {
this,
"UseDB",
false,
"whether to use COOL DB (true) or hard-coded values (false) to obtain link numbers"};
38 Gaudi::Property<int>
m_forceRunConfig {
this,
"ForceRunConfig", 0,
"force run configuration for link translation regardless of actual run number; set to 2 for Run-2, set to 3 for Run-3; set 0 to disable"};
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Gaudi::Property< bool > m_useDB
Gaudi::Property< int > m_forceRunConfig
virtual StatusCode initialize() override
unsigned int translate(unsigned int origlink) const override
virtual ~AFP_LinkNumTranslator() override
virtual StatusCode finalize() override
AFP_LinkNumTranslator(const std::string &type, const std::string &name, const IInterface *parent)