RBCBoardConfig

RBCBoardSpecs

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
// $Id: $
#ifndef CONFIGCODE_RBCBOARDSPECS_H
#define CONFIGCODE_RBCBOARDSPECS_H 1

// Include files
#include "CondFormats/Serialization/interface/Serializable.h"

#include <vector>
#include <string>

/** @class RBCBoardSpecs RBCBoardSpecs.h ConfigCode/RBCBoardSpecs.h
 *  
 *
 *  @author Andres Osorio
 *  @date   2008-12-15
 */
class RBCBoardSpecs {
public:
  RBCBoardSpecs();
  virtual ~RBCBoardSpecs();  ///< Destructor

  class RBCBoardConfig {
  public:
    RBCBoardConfig() {}
    virtual ~RBCBoardConfig() {}  ///< Destructor

    int m_Firmware;
    int m_WheelId;
    int m_Latency;
    int m_MayorityLevel;

    std::vector<int> m_MaskedOrInput;
    std::vector<int> m_ForcedOrInput;

    std::string m_LogicType;

    COND_SERIALIZABLE;
  };

  std::vector<RBCBoardConfig> v_boardspecs;

  COND_SERIALIZABLE;
};
#endif  // CONFIGCODE_RBCBOARDSPECS_H