CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
21 #include <string>
22 #include <iosfwd>
23 
24 // user include files
25 
26 // base class
28 
29 // forward declarations
30 
31 // class declaration
33 {
34 
35 public:
36 
37  // constructor
39 
40  // constructor
41  L1GtHfBitCountsTemplate(const std::string& );
42 
43  // constructor
44  L1GtHfBitCountsTemplate(const std::string&, const L1GtConditionType& );
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~L1GtHfBitCountsTemplate();
51 
52  // assign operator
54 
55 public:
56 
59  {
60  unsigned int countIndex;
61  unsigned int countThreshold;
62 
63  };
64 
65 
66 public:
67 
68  inline const std::vector<ObjectParameter>* objectParameter() const
69  {
70  return &m_objectParameter;
71  }
72 
73 
75  void setConditionParameter(const std::vector<ObjectParameter>&);
76 
77 
79  virtual void print(std::ostream& myCout) const;
80 
82  friend std::ostream& operator<<(std::ostream&, const L1GtHfBitCountsTemplate&);
83 
84 private:
85 
87  void copy( const L1GtHfBitCountsTemplate& cp);
88 
89 
90 private:
91 
93  std::vector<ObjectParameter> m_objectParameter;
94 
95 };
96 
97 #endif
virtual void print(std::ostream &myCout) const
print the condition
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
L1GtHfBitCountsTemplate & operator=(const L1GtHfBitCountsTemplate &)
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=