CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
22 #include <string>
23 #include <iosfwd>
24 
25 #include <boost/cstdint.hpp>
26 
27 // user include files
28 
29 // base class
31 
33 
34 // forward declarations
35 
36 // class declaration
38 {
39 
40 public:
41 
45 
47  L1GtCorrelationTemplate(const std::string& );
48 
52  L1GtCorrelationTemplate(const std::string&,
54  const int, const int);
55 
58 
60  virtual ~L1GtCorrelationTemplate();
61 
64 
65 public:
66 
69  {
70  std::string deltaEtaRange;
71 
72  std::string deltaPhiRange;
73  unsigned int deltaPhiMaxbits;
74  };
75 
76 
77 public:
78 
80  inline const L1GtConditionCategory cond0Category() const {
81  return m_cond0Category;
82  }
83 
84  inline const L1GtConditionCategory cond1Category() const {
85  return m_cond1Category;
86  }
87 
90 
92  inline const int cond0Index() const {
93  return m_cond0Index;
94  }
95 
96  inline const int cond1Index() const {
97  return m_cond1Index;
98  }
99 
100  void setCond0Index(const int&);
101  void setCond1Index(const int&);
102 
104 
106  {
107  return &m_correlationParameter;
108  }
109 
110  void setCorrelationParameter(const CorrelationParameter& corrParameter);
111 
112 
114  virtual void print(std::ostream& myCout) const;
115 
117  friend std::ostream& operator<<(std::ostream&, const L1GtCorrelationTemplate&);
118 
119 
120 private:
121 
123  void copy( const L1GtCorrelationTemplate& cp);
124 
125 
126 private:
127 
133 
134 };
135 
136 #endif
void setCond1Category(const L1GtConditionCategory &)
L1GtConditionCategory m_cond0Category
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
virtual ~L1GtCorrelationTemplate()
destructor
friend std::ostream & operator<<(std::ostream &, const L1GtCorrelationTemplate &)
output stream operator
const int cond0Index() const
get / set the index of the two sub-conditions in the cor* vector from menu
virtual void print(std::ostream &myCout) const
print the condition
L1GtConditionCategory m_cond1Category
const CorrelationParameter * correlationParameter() const
get / set correlation parameters
CorrelationParameter m_correlationParameter