CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtEnergySumTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtEnergySumTemplate_h
2 #define CondFormats_L1TObjects_L1GtEnergySumTemplate_h
3 
20 // system include files
21 #include <string>
22 #include <iosfwd>
23 
24 #include <boost/cstdint.hpp>
25 
26 // user include files
27 
28 // base class
30 
31 // forward declarations
32 
33 // class declaration
35 {
36 
37 public:
38 
39  // constructor
41 
42  // constructor
44 
45  // constructor
47 
48  // copy constructor
50 
51  // destructor
52  virtual ~L1GtEnergySumTemplate();
53 
54  // assign operator
56 
57 public:
58 
61  {
62  unsigned int etThreshold;
64 
65  // two words used only for ETM (ETM phi has 72 bins - two 64-bits words)
66  // one word used for HTM
67  unsigned long long phiRange0Word;
68  unsigned long long phiRange1Word;
69  };
70 
71 public:
72 
73  inline const std::vector<ObjectParameter>* objectParameter() const {
74  return &m_objectParameter;
75  }
76 
78  void setConditionParameter(const std::vector<ObjectParameter>&);
79 
81  virtual void print(std::ostream& myCout) const;
82 
84  friend std::ostream& operator<<(std::ostream&, const L1GtEnergySumTemplate&);
85 
86 private:
87 
89  void copy(const L1GtEnergySumTemplate& cp);
90 
91 private:
92 
94  std::vector<ObjectParameter> m_objectParameter;
95 
96 };
97 
98 #endif
friend std::ostream & operator<<(std::ostream &, const L1GtEnergySumTemplate &)
output stream operator
L1GtConditionType
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
const std::vector< ObjectParameter > * objectParameter() const
void copy(const L1GtEnergySumTemplate &cp)
copy function for copy constructor and operator=
L1GtEnergySumTemplate & operator=(const L1GtEnergySumTemplate &)
virtual void print(std::ostream &myCout) const
print the condition
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions
typedef for a single object template