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 
72  // make sure all objects (esp. the bool) are properly initialised to avoid problems with serialisation:
74 
76 };
77 
78 public:
79 
80  inline const std::vector<ObjectParameter>* objectParameter() const {
81  return &m_objectParameter;
82  }
83 
85  void setConditionParameter(const std::vector<ObjectParameter>&);
86 
88  virtual void print(std::ostream& myCout) const;
89 
91  friend std::ostream& operator<<(std::ostream&, const L1GtEnergySumTemplate&);
92 
93 private:
94 
96  void copy(const L1GtEnergySumTemplate& cp);
97 
98 private:
99 
101  std::vector<ObjectParameter> m_objectParameter;
102 
103 
105 };
106 
107 #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:37
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