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
22 
23 #include <string>
24 #include <iosfwd>
25 
26 #include <boost/cstdint.hpp>
27 
28 // user include files
29 
30 // base class
32 
33 // forward declarations
34 
35 // class declaration
37 {
38 
39 public:
40 
41  // constructor
43 
44  // constructor
46 
47  // constructor
49 
50  // copy constructor
52 
53  // destructor
54  virtual ~L1GtEnergySumTemplate();
55 
56  // assign operator
58 
59 public:
60 
63  {
64  unsigned int etThreshold;
66 
67  // two words used only for ETM (ETM phi has 72 bins - two 64-bits words)
68  // one word used for HTM
69  unsigned long long phiRange0Word;
70  unsigned long long phiRange1Word;
71 
73 };
74 
75 public:
76 
77  inline const std::vector<ObjectParameter>* objectParameter() const {
78  return &m_objectParameter;
79  }
80 
82  void setConditionParameter(const std::vector<ObjectParameter>&);
83 
85  virtual void print(std::ostream& myCout) const;
86 
88  friend std::ostream& operator<<(std::ostream&, const L1GtEnergySumTemplate&);
89 
90 private:
91 
93  void copy(const L1GtEnergySumTemplate& cp);
94 
95 private:
96 
98  std::vector<ObjectParameter> m_objectParameter;
99 
100 
102 };
103 
104 #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=
#define COND_SERIALIZABLE
Definition: Serializable.h:30
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