CMS 3D CMS Logo

L1RPCHsbConfig.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1RPCHsbConfig_h
2 #define CondFormats_L1TObjects_L1RPCHsbConfig_h
3 // -*- C++ -*-
4 //
5 // Package: RPCObjects
6 // Class : L1RPCHsbConfig
7 //
17 // forward declarations
19 
20 #include <set>
21 #include <vector>
22 #include <sstream>
23 
24 #include <iostream>
25 
27 public:
29  virtual ~L1RPCHsbConfig();
30 
31  void setHsbMask(int hsb, const std::vector<int>& mask);
32  int getHsbMask(int hsb, int input) const;
33  int getMaskSize() const { return sizeof(m_hsb0) / sizeof(m_hsb0[0]); };
34 
35 private:
36  int m_hsb0[8];
37  int m_hsb1[8];
38 
40 };
41 
42 #endif
L1RPCHsbConfig::m_hsb1
int m_hsb1[8]
Definition: L1RPCHsbConfig.h:37
input
static const std::string input
Definition: EdmProvDump.cc:48
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1RPCHsbConfig::getMaskSize
int getMaskSize() const
Definition: L1RPCHsbConfig.h:33
Serializable.h
L1RPCHsbConfig
Definition: L1RPCHsbConfig.h:26
L1RPCHsbConfig::setHsbMask
void setHsbMask(int hsb, const std::vector< int > &mask)
Definition: L1RPCHsbConfig.cc:8
L1RPCHsbConfig::~L1RPCHsbConfig
virtual ~L1RPCHsbConfig()
Definition: L1RPCHsbConfig.cc:6
L1RPCHsbConfig::L1RPCHsbConfig
L1RPCHsbConfig()
Definition: L1RPCHsbConfig.cc:4
L1RPCHsbConfig::getHsbMask
int getHsbMask(int hsb, int input) const
Definition: L1RPCHsbConfig.cc:30
L1RPCHsbConfig::m_hsb0
int m_hsb0[8]
Definition: L1RPCHsbConfig.h:33