CMS 3D CMS Logo

EnergySumZdcTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_EnergySumZdcTemplate_h
2 #define L1Trigger_L1TGlobal_EnergySumZdcTemplate_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 public:
34  // constructor
36 
37  // constructor
39 
40  // constructor
42 
43  // copy constructor
45 
46  // destructor
47  ~EnergySumZdcTemplate() override;
48 
49  // assign operator
51 
52 public:
53  struct ObjectParameter {
54  unsigned int etLowThreshold;
55  unsigned int etHighThreshold;
56  };
57 
58 public:
59  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
60 
62  void setConditionParameter(const std::vector<ObjectParameter>&);
63 
65  void print(std::ostream& myCout) const override;
66 
68  friend std::ostream& operator<<(std::ostream&, const EnergySumZdcTemplate&);
69 
70 private:
72  void copy(const EnergySumZdcTemplate& cp);
73 
74 private:
76  std::vector<ObjectParameter> m_objectParameter;
77 };
78 
79 #endif
void copy(const EnergySumZdcTemplate &cp)
copy function for copy constructor and operator=
const std::vector< ObjectParameter > * objectParameter() const
friend std::ostream & operator<<(std::ostream &, const EnergySumZdcTemplate &)
output stream operator
~EnergySumZdcTemplate() override
void print(std::ostream &myCout) const override
print the condition
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
EnergySumZdcTemplate & operator=(const EnergySumZdcTemplate &)
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions