CMS 3D CMS Logo

CorrelationTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_CorrelationTemplate_h
2 #define L1Trigger_L1TGlobal_CorrelationTemplate_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 // forward declarations
34 
35 // class declaration
37 {
38 
39 public:
40 
44 
47 
53  const int, const int);
54 
57 
59  ~CorrelationTemplate() override;
60 
63 
64 public:
65 
68  {
69 
70  //Cut values in hardware
71  long long minEtaCutValue;
72  long long maxEtaCutValue;
73  unsigned int precEtaCut;
74 
75  long long minPhiCutValue;
76  long long maxPhiCutValue;
77  unsigned int precPhiCut;
78 
79  long long minDRCutValue;
80  long long maxDRCutValue;
81  unsigned int precDRCut;
82 
83  long long minMassCutValue;
84  long long maxMassCutValue;
85  unsigned int precMassCut;
86 
87  long long minTBPTCutValue;
88  long long maxTBPTCutValue;
89  unsigned int precTBPTCut;
90 
91  //Requirement on charge of legs (currently only Mu-Mu).
92  unsigned int chargeCorrelation;
93 
95 
96  };
97 
98 
99 public:
100 
103  return m_cond0Category;
104  }
105 
107  return m_cond1Category;
108  }
109 
112 
114  inline const int cond0Index() const {
115  return m_cond0Index;
116  }
117 
118  inline const int cond1Index() const {
119  return m_cond1Index;
120  }
121 
122  void setCond0Index(const int&);
123  void setCond1Index(const int&);
124 
126 
128  {
129  return &m_correlationParameter;
130  }
131 
132  void setCorrelationParameter(const CorrelationParameter& corrParameter);
133 
134 
136  void print(std::ostream& myCout) const override;
137 
139  friend std::ostream& operator<<(std::ostream&, const CorrelationTemplate&);
140 
141 
142 private:
143 
145  void copy( const CorrelationTemplate& cp);
146 
147 
148 private:
149 
155 
156 };
157 
158 #endif
void setCond0Index(const int &)
CorrelationParameter m_correlationParameter
const l1t::GtConditionCategory cond0Category() const
get / set the category of the two sub-conditions
void setCorrelationParameter(const CorrelationParameter &corrParameter)
friend std::ostream & operator<<(std::ostream &, const CorrelationTemplate &)
output stream operator
GtConditionCategory
condition categories
const l1t::GtConditionCategory cond1Category() const
~CorrelationTemplate() override
destructor
void copy(const CorrelationTemplate &cp)
copy function for copy constructor and operator=
void setCond1Category(const l1t::GtConditionCategory &)
const int cond0Index() const
get / set the index of the two sub-conditions in the cor* vector from menu
void print(std::ostream &myCout) const override
print the condition
const int cond1Index() const
l1t::GtConditionCategory m_cond1Category
l1t::GtConditionCategory m_cond0Category
void setCond0Category(const l1t::GtConditionCategory &)
const CorrelationParameter * correlationParameter() const
get / set correlation parameters
typedef for correlation parameters
CorrelationTemplate & operator=(const CorrelationTemplate &)
assign operator
void setCond1Index(const int &)