CMS 3D CMS Logo

L1GtHfBitCountsTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtHfBitCountsTemplate_h
2 #define CondFormats_L1TObjects_L1GtHfBitCountsTemplate_h
3 
20 // system include files
22 
23 #include <string>
24 #include <iosfwd>
25 
26 // user include files
27 
28 // base class
30 
31 // forward declarations
32 
33 // class declaration
35 public:
36  // constructor
38 
39  // constructor
41 
42  // constructor
44 
45  // copy constructor
47 
48  // destructor
49  ~L1GtHfBitCountsTemplate() override;
50 
51  // assign operator
53 
54 public:
56  struct ObjectParameter {
57  unsigned int countIndex;
58  unsigned int countThreshold;
59 
61  };
62 
63 public:
64  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
65 
67  void setConditionParameter(const std::vector<ObjectParameter>&);
68 
70  void print(std::ostream& myCout) const override;
71 
73  friend std::ostream& operator<<(std::ostream&, const L1GtHfBitCountsTemplate&);
74 
75 private:
77  void copy(const L1GtHfBitCountsTemplate& cp);
78 
79 private:
81  std::vector<ObjectParameter> m_objectParameter;
82 
84 };
85 
86 #endif
typedef for a single object template
L1GtConditionType
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
friend std::ostream & operator<<(std::ostream &, const L1GtHfBitCountsTemplate &)
output stream operator
void print(std::ostream &myCout) const override
print the condition
L1GtHfBitCountsTemplate & operator=(const L1GtHfBitCountsTemplate &)
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions
const std::vector< ObjectParameter > * objectParameter() const
void copy(const L1GtHfBitCountsTemplate &cp)
copy function for copy constructor and operator=