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 etThreshold;
62 
63  unsigned int phiWindowLower;
64  unsigned int phiWindowUpper;
65  unsigned int phiWindowVetoLower;
66  unsigned int phiWindowVetoUpper;
67 
68  // two words used only for ETM (ETM phi has 72 bins - two 64-bits words)
69  // one word used for HTM
70  unsigned long long phiRange0Word;
71  unsigned long long phiRange1Word;
72  };
73 
74 public:
75 
76  inline const std::vector<ObjectParameter>* objectParameter() const {
77  return &m_objectParameter;
78  }
79 
81  void setConditionParameter(const std::vector<ObjectParameter>&);
82 
84  virtual void print(std::ostream& myCout) const;
85 
87  friend std::ostream& operator<<(std::ostream&, const EnergySumTemplate&);
88 
89 private:
90 
92  void copy(const EnergySumTemplate& cp);
93 
94 private:
95 
97  std::vector<ObjectParameter> m_objectParameter;
98 
99 };
100 
101 #endif
EnergySumTemplate & operator=(const EnergySumTemplate &)
GtConditionType
Definition: GtDefinitions.h:99
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()