CMS 3D CMS Logo

L1GtCaloTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtCaloTemplate_h
2 #define CondFormats_L1TObjects_L1GtCaloTemplate_h
3 
20 // system include files
22 
23 #include <string>
24 #include <iosfwd>
25 
26 // user include files
27 
28 // base class
30 
31 // forward declarations
32 
33 // class declaration
35 public:
36  // constructor
38 
39  // constructor
41 
42  // constructor
44 
45  // copy constructor
47 
48  // destructor
49  ~L1GtCaloTemplate() override;
50 
51  // assign operator
53 
54 public:
56  struct ObjectParameter {
57  unsigned int etThreshold;
58  unsigned int etaRange;
59  unsigned int phiRange;
60 
62  };
63 
66  unsigned long long deltaEtaRange;
67 
68  unsigned long long deltaPhiRange;
69  unsigned int deltaPhiMaxbits;
70 
72  };
73 
74 public:
75  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
76 
78 
80  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
81  const CorrelationParameter& corrParameter);
82 
84  void print(std::ostream& myCout) const override;
85 
87  friend std::ostream& operator<<(std::ostream&, const L1GtCaloTemplate&);
88 
89 protected:
91  void copy(const L1GtCaloTemplate& cp);
92 
93 protected:
95  std::vector<ObjectParameter> m_objectParameter;
97 
99 };
100 
101 #endif
const std::vector< ObjectParameter > * objectParameter() const
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
L1GtConditionType
void copy(const L1GtCaloTemplate &cp)
copy function for copy constructor and operator=
const CorrelationParameter * correlationParameter() const
void print(std::ostream &myCout) const override
print the condition
L1GtCaloTemplate & operator=(const L1GtCaloTemplate &)
typedef for a single object template
typedef for correlation parameters
friend std::ostream & operator<<(std::ostream &, const L1GtCaloTemplate &)
output stream operator
~L1GtCaloTemplate() override
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
CorrelationParameter m_correlationParameter