CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnergySumTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_EnergySumTemplate_h
2 #define L1Trigger_L1TGlobal_EnergySumTemplate_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
42 
43  // constructor
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~EnergySumTemplate();
51 
52  // assign operator
54 
55 public:
56 
59  {
60  unsigned int etLowThreshold;
61  unsigned int etHighThreshold;
63 
64  unsigned int phiWindow1Lower;
65  unsigned int phiWindow1Upper;
66  unsigned int phiWindow2Lower;
67  unsigned int phiWindow2Upper;
68 
69  // two words used only for ETM (ETM phi has 72 bins - two 64-bits words)
70  // one word used for HTM
71  unsigned long long phiRange0Word;
72  unsigned long long phiRange1Word;
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 EnergySumTemplate&);
89 
90 private:
91 
93  void copy(const EnergySumTemplate& cp);
94 
95 private:
96 
98  std::vector<ObjectParameter> m_objectParameter;
99 
100 };
101 
102 #endif
EnergySumTemplate & operator=(const EnergySumTemplate &)
void copy(const EnergySumTemplate &cp)
copy function for copy constructor and operator=
virtual void print(std::ostream &myCout) const
print the condition
friend std::ostream & operator<<(std::ostream &, const EnergySumTemplate &)
output stream operator
const std::vector< ObjectParameter > * objectParameter() const
typedef for a single object template
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions
virtual ~EnergySumTemplate()