CMS 3D CMS Logo

L1GtCorrelationTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtCorrelationTemplate_h
2 #define CondFormats_L1TObjects_L1GtCorrelationTemplate_h
3 
21 // system include files
23 
24 #include <string>
25 #include <iosfwd>
26 
27 #include <boost/cstdint.hpp>
28 
29 // user include files
30 
31 // base class
33 
35 
36 // forward declarations
37 
38 // class declaration
40 {
41 
42 public:
43 
47 
50 
56  const int, const int);
57 
60 
62  ~L1GtCorrelationTemplate() override;
63 
66 
67 public:
68 
71  {
73 
75  unsigned int deltaPhiMaxbits;
76 
78 };
79 
80 
81 public:
82 
84  inline const L1GtConditionCategory cond0Category() const {
85  return m_cond0Category;
86  }
87 
88  inline const L1GtConditionCategory cond1Category() const {
89  return m_cond1Category;
90  }
91 
94 
96  inline const int cond0Index() const {
97  return m_cond0Index;
98  }
99 
100  inline const int cond1Index() const {
101  return m_cond1Index;
102  }
103 
104  void setCond0Index(const int&);
105  void setCond1Index(const int&);
106 
108 
110  {
111  return &m_correlationParameter;
112  }
113 
114  void setCorrelationParameter(const CorrelationParameter& corrParameter);
115 
116 
118  void print(std::ostream& myCout) const override;
119 
121  friend std::ostream& operator<<(std::ostream&, const L1GtCorrelationTemplate&);
122 
123 
124 private:
125 
127  void copy( const L1GtCorrelationTemplate& cp);
128 
129 
130 private:
131 
137 
138 
140 };
141 
142 #endif
void setCond1Category(const L1GtConditionCategory &)
L1GtConditionCategory m_cond0Category
void print(std::ostream &myCout) const override
print the condition
const L1GtConditionCategory cond1Category() const
void setCond0Category(const L1GtConditionCategory &)
L1GtCorrelationTemplate & operator=(const L1GtCorrelationTemplate &)
assign operator
void setCorrelationParameter(const CorrelationParameter &corrParameter)
void copy(const L1GtCorrelationTemplate &cp)
copy function for copy constructor and operator=
L1GtConditionCategory
condition categories
const L1GtConditionCategory cond0Category() const
get / set the category of the two sub-conditions
friend std::ostream & operator<<(std::ostream &, const L1GtCorrelationTemplate &)
output stream operator
~L1GtCorrelationTemplate() override
destructor
const int cond0Index() const
get / set the index of the two sub-conditions in the cor* vector from menu
#define COND_SERIALIZABLE
Definition: Serializable.h:38
L1GtConditionCategory m_cond1Category
const CorrelationParameter * correlationParameter() const
get / set correlation parameters
CorrelationParameter m_correlationParameter