/* ===================================================================== * The Active Frontend List. This class provides some simple functionality * around it. * ===================================================================== */ /* *Author: C. Lippmann, Christian.Lippmann@cern.ch */ //use when to compile on outdated slc #include #include #include #ifndef AFL_H #define AFL_H #include #include #include "../Logger/Logger.h" #include "../CentralHeaders/TpcException.h" using namespace std; class Afl{ public: Afl(); ~Afl(); void fill(uint32_t position, bool FECon); void fill(uint32_t branch, uint32_t fec, bool FECon); uint32_t get(); void reset(); void setDebugLevel(int dbl) { fLogger->setDebugLevel(dbl); }; int32_t getDebugLevel() { return fLogger->getDebugLevel(); }; private: uint32_t fAFL; // The Active Frontend List in 32bit Logger *fLogger; // Logging class int32_t fDebugLevel; }; #endif // AFL_H