File indexing completed on 2024-04-06 12:21:38
0001 #ifndef INTERFACE_TTUCONFIGURATION_H
0002 #define INTERFACE_TTUCONFIGURATION_H 1
0003
0004
0005 #include "CondFormats/RPCObjects/interface/TTUBoardSpecs.h"
0006
0007 #include "L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h"
0008 #include "L1Trigger/RPCTechnicalTrigger/interface/TTULogicUnit.h"
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <memory>
0020
0021 class TTUConfiguration {
0022 public:
0023 TTUConfiguration(const char*);
0024 TTUConfiguration(const TTUBoardSpecs*);
0025 virtual ~TTUConfiguration() = default;
0026 virtual bool initialise(int, int) = 0;
0027
0028 virtual void preprocess(TTUInput&) = 0;
0029
0030 TTULogicUnit* ttulogic() { return &m_ttulogic; }
0031
0032 const TTUBoardSpecs* m_ttuboardspecs;
0033
0034 protected:
0035 private:
0036 TTULogicUnit m_ttulogic;
0037 };
0038 #endif