Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:38

0001 #ifndef INTERFACE_TTUCONFIGURATION_H
0002 #define INTERFACE_TTUCONFIGURATION_H 1
0003 
0004 // Include files
0005 #include "CondFormats/RPCObjects/interface/TTUBoardSpecs.h"
0006 
0007 #include "L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h"
0008 #include "L1Trigger/RPCTechnicalTrigger/interface/TTULogicUnit.h"
0009 
0010 /** @class TTUConfiguration TTUConfiguration.h interface/TTUConfiguration.h
0011  *  
0012  *
0013  *  Configuration Interface: Deals with configuration of TTU hardware
0014  * 
0015  *
0016  *  @author Andres Osorio
0017  *  @date   2008-10-29
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  // INTERFACE_TTUCONFIGURATION_H