File indexing completed on 2024-04-06 12:02:20
0001 #ifndef CondFormats_L1TObjects_L1RPCHsbConfig_h
0002 #define CondFormats_L1TObjects_L1RPCHsbConfig_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include "CondFormats/Serialization/interface/Serializable.h"
0019
0020 #include <set>
0021 #include <vector>
0022 #include <sstream>
0023
0024 #include <iostream>
0025
0026 class L1RPCHsbConfig {
0027 public:
0028 L1RPCHsbConfig();
0029 virtual ~L1RPCHsbConfig();
0030
0031 void setHsbMask(int hsb, const std::vector<int>& mask);
0032 int getHsbMask(int hsb, int input) const;
0033 int getMaskSize() const { return sizeof(m_hsb0) / sizeof(m_hsb0[0]); };
0034
0035 private:
0036 int m_hsb0[8];
0037 int m_hsb1[8];
0038
0039 COND_SERIALIZABLE;
0040 };
0041
0042 #endif