CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
L1GtCorrelationCondition Class Reference

#include <L1GtCorrelationCondition.h>

Inheritance diagram for L1GtCorrelationCondition:
L1GtConditionEvaluation

Public Member Functions

const bool evaluateCondition () const
 the core function to check if the condition matches More...
 
const L1GtCorrelationTemplategtCorrelationTemplate () const
 get / set the pointer to a L1GtCondition More...
 
const L1GlobalTriggerGTLgtGTL () const
 get / set the pointer to GTL More...
 
const L1GlobalTriggerPSBgtPSB () const
 get / set the pointer to PSB More...
 
 L1GtCorrelationCondition ()
 
 L1GtCorrelationCondition (const L1GtCondition *, const L1GtCondition *, const L1GtCondition *, const int, const int, const int, const int, const L1GlobalTriggerGTL *, const L1GlobalTriggerPSB *, const L1GtEtaPhiConversions *)
 from base template condition (from event setup usually) More...
 
 L1GtCorrelationCondition (const L1GtCorrelationCondition &)
 
L1GtCorrelationConditionoperator= (const L1GtCorrelationCondition &)
 
void print (std::ostream &myCout) const
 print condition More...
 
void setGtCorrelationTemplate (const L1GtCorrelationTemplate *)
 
void setGtGTL (const L1GlobalTriggerGTL *)
 set the pointer to GTL More...
 
void setGtPSB (const L1GlobalTriggerPSB *)
 set the pointer to PSB More...
 
virtual ~L1GtCorrelationCondition ()
 
- Public Member Functions inherited from L1GtConditionEvaluation
bool condLastResult () const
 get the latest result for the condition More...
 
int condMaxNumberObjects () const
 
void evaluateConditionStoreResult ()
 call evaluateCondition and save last result More...
 
CombinationsInCondgetCombinationsInCond () const
 get all the object combinations evaluated to true in the condition More...
 
virtual std::string getNumericExpression ()
 get numeric expression More...
 
 L1GtConditionEvaluation ()
 constructor More...
 
 L1GtConditionEvaluation (L1GtConditionEvaluation &)
 copy constructor More...
 
void setCondMaxNumberObjects (int condMaxNumberObjectsValue)
 
void setVerbosity (const int verbosity)
 
virtual ~L1GtConditionEvaluation ()
 destructor More...
 

Private Member Functions

void copy (const L1GtCorrelationCondition &cp)
 copy function for copy constructor and operator= More...
 

Private Attributes

int m_cond0EtaBits
 
int m_cond0NrL1Objects
 
int m_cond1EtaBits
 
int m_cond1NrL1Objects
 
const L1GtConditionm_gtCond0
 pointer to first sub-condition More...
 
const L1GtConditionm_gtCond1
 pointer to second sub-condition More...
 
const L1GtCorrelationTemplatem_gtCorrelationTemplate
 pointer to a L1GtCorrelationTemplate More...
 
const L1GtEtaPhiConversionsm_gtEtaPhiConversions
 pointer to eta and phi conversion class More...
 
const L1GlobalTriggerGTLm_gtGTL
 pointer to GTL, to be able to get the trigger objects More...
 
const L1GlobalTriggerPSBm_gtPSB
 pointer to PSB, to be able to get the trigger objects More...
 
bool m_isDebugEnabled
 

Additional Inherited Members

- Protected Member Functions inherited from L1GtConditionEvaluation
template<class Type1 >
const bool checkBit (const Type1 &mask, const unsigned int bitNumber) const
 check if a bit with a given number is set in a mask More...
 
template<class Type1 , class Type2 >
const bool checkThreshold (const Type1 &threshold, const Type2 &value, const bool condGEqValue) const
 
- Protected Attributes inherited from L1GtConditionEvaluation
CombinationsInCondm_combinationsInCond
 store all the object combinations evaluated to true in the condition More...
 
bool m_condLastResult
 the last result of evaluateCondition() More...
 
int m_condMaxNumberObjects
 
int m_verbosity
 verbosity level More...
 

Detailed Description

Description: evaluation of a CondCorrelation condition.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 36 of file L1GtCorrelationCondition.h.

Constructor & Destructor Documentation

L1GtCorrelationCondition::L1GtCorrelationCondition ( )

constructors default

Definition at line 60 of file L1GtCorrelationCondition.cc.

60  :
63 {
64 
65  // empty
66 
67 }
bool isDebugEnabled()
L1GtCorrelationCondition::L1GtCorrelationCondition ( const L1GtCondition corrTemplate,
const L1GtCondition cond0Condition,
const L1GtCondition cond1Condition,
const int  cond0NrL1Objects,
const int  cond1NrL1Objects,
const int  cond0EtaBits,
const int  cond1EtaBits,
const L1GlobalTriggerGTL ptrGTL,
const L1GlobalTriggerPSB ptrPSB,
const L1GtEtaPhiConversions etaPhiConversions 
)

from base template condition (from event setup usually)

Definition at line 70 of file L1GtCorrelationCondition.cc.

References L1GtConditionEvaluation::m_condMaxNumberObjects.

76  :
78  m_gtCorrelationTemplate(static_cast<const L1GtCorrelationTemplate*>(corrTemplate)),
79  m_gtCond0(cond0Condition), m_gtCond1(cond1Condition),
80  m_cond0NrL1Objects(cond0NrL1Objects),
81  m_cond1NrL1Objects(cond1NrL1Objects), m_cond0EtaBits(cond0EtaBits),
82  m_cond1EtaBits(cond1EtaBits), m_gtGTL(ptrGTL), m_gtPSB(ptrPSB),
83  m_gtEtaPhiConversions(etaPhiConversions),
85  {
86 
87  m_condMaxNumberObjects = 2; // irrelevant for correlation conditions
88 
89 }
bool isDebugEnabled()
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
const L1GtCondition * m_gtCond0
pointer to first sub-condition
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
const L1GtCondition * m_gtCond1
pointer to second sub-condition
const L1GtEtaPhiConversions * m_gtEtaPhiConversions
pointer to eta and phi conversion class
L1GtCorrelationCondition::L1GtCorrelationCondition ( const L1GtCorrelationCondition cp)

Definition at line 120 of file L1GtCorrelationCondition.cc.

References copy().

121  :
123  copy(cp);
124 }
void copy(const L1GtCorrelationCondition &cp)
copy function for copy constructor and operator=
L1GtCorrelationCondition::~L1GtCorrelationCondition ( )
virtual

Definition at line 127 of file L1GtCorrelationCondition.cc.

127  {
128 
129  // empty
130 
131 }

Member Function Documentation

void L1GtCorrelationCondition::copy ( const L1GtCorrelationCondition cp)
private

copy function for copy constructor and operator=

Definition at line 92 of file L1GtCorrelationCondition.cc.

References L1GtConditionEvaluation::m_combinationsInCond, m_cond0EtaBits, m_cond0NrL1Objects, m_cond1EtaBits, m_cond1NrL1Objects, L1GtConditionEvaluation::m_condLastResult, L1GtConditionEvaluation::m_condMaxNumberObjects, m_gtCond0, m_gtCond1, m_gtCorrelationTemplate, m_gtEtaPhiConversions, m_gtGTL, m_gtPSB, m_isDebugEnabled, and L1GtConditionEvaluation::m_verbosity.

Referenced by L1GtCorrelationCondition(), and operator=().

92  {
93 
95 
96  m_gtCond0 = cp.m_gtCond0;
97  m_gtCond1 = cp.m_gtCond1;
98 
103 
105  m_gtGTL = cp.m_gtGTL;
106  m_gtPSB = cp.m_gtPSB;
107 
109 
113 
116 
117 
118 }
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
CombinationsInCond * m_combinationsInCond
store all the object combinations evaluated to true in the condition
bool m_condLastResult
the last result of evaluateCondition()
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
const L1GtCondition * m_gtCond0
pointer to first sub-condition
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
const L1GtCondition * m_gtCond1
pointer to second sub-condition
const L1GtEtaPhiConversions * m_gtEtaPhiConversions
pointer to eta and phi conversion class
const bool L1GtCorrelationCondition::evaluateCondition ( ) const
virtual

the core function to check if the condition matches

Implements L1GtConditionEvaluation.

Definition at line 164 of file L1GtCorrelationCondition.cc.

References CenJet, L1GtCorrelationTemplate::cond0Category(), L1GtCorrelationTemplate::cond1Category(), CondCalo, CondEnergySum, L1GtConditionEvaluation::condLastResult(), CondMuon, L1GtConditionEvaluation::evaluateConditionStoreResult(), ForJet, L1GlobalTriggerPSB::getCandL1CenJet(), L1GlobalTriggerPSB::getCandL1ETM(), L1GlobalTriggerPSB::getCandL1ForJet(), L1GlobalTriggerPSB::getCandL1IsoEG(), L1GlobalTriggerGTL::getCandL1Mu(), L1GlobalTriggerPSB::getCandL1NoIsoEG(), L1GlobalTriggerPSB::getCandL1TauJet(), L1GtConditionEvaluation::getCombinationsInCond(), IsoEG, LogTrace, m_cond0EtaBits, m_cond0NrL1Objects, m_cond1EtaBits, m_cond1NrL1Objects, m_gtCond0, m_gtCond1, m_gtCorrelationTemplate, m_gtGTL, m_gtPSB, m_isDebugEnabled, L1GtConditionEvaluation::m_verbosity, NoIsoEG, L1GtCondition::objectType(), L1GctEtMiss::phi(), L1GtEnergySumCondition::print(), L1GtMuonCondition::print(), L1GtCaloCondition::print(), and TauJet.

164  {
165 
166  bool condResult = false;
167 
168  // number of objects in condition (it is 2, no need to retrieve from
169  // condition template) and their type
170  int nObjInCond = 2;
171  std::vector<L1GtObject> cndObjTypeVec(nObjInCond);
172 
173  // evaluate first the two sub-conditions (Type1s)
174 
177 
178  const L1GtMuonTemplate* corrMuon = 0;
179  const L1GtCaloTemplate* corrCalo = 0;
180  const L1GtEnergySumTemplate* corrEnergySum = 0;
181 
182  CombinationsInCond cond0Comb;
183  CombinationsInCond cond1Comb;
184 
185  switch (cond0Categ) {
186  case CondMuon: {
187  corrMuon = static_cast<const L1GtMuonTemplate*>(m_gtCond0);
188  L1GtMuonCondition muCondition(corrMuon, m_gtGTL,
190 
191  muCondition.evaluateConditionStoreResult();
192  condResult = muCondition.condLastResult();
193 
194  cond0Comb = *(muCondition.getCombinationsInCond());
195  cndObjTypeVec[0] = (corrMuon->objectType())[0];
196 
197  if (m_verbosity && m_isDebugEnabled ) {
198  std::ostringstream myCout;
199  muCondition.print(myCout);
200 
201  LogTrace("L1GtCorrelationCondition") << myCout.str() << std::endl;
202  }
203  }
204  break;
205  case CondCalo: {
206  corrCalo = static_cast<const L1GtCaloTemplate*>(m_gtCond0);
207  L1GtCaloCondition caloCondition(corrCalo, m_gtPSB,
210 
211  caloCondition.evaluateConditionStoreResult();
212  condResult = caloCondition.condLastResult();
213 
214  cond0Comb = *(caloCondition.getCombinationsInCond());
215  cndObjTypeVec[0] = (corrCalo->objectType())[0];
216 
217  if (m_verbosity && m_isDebugEnabled ) {
218  std::ostringstream myCout;
219  caloCondition.print(myCout);
220 
221  LogTrace("L1GtCorrelationCondition") << myCout.str() << std::endl;
222  }
223  }
224  break;
225  case CondEnergySum: {
226  corrEnergySum = static_cast<const L1GtEnergySumTemplate*>(m_gtCond0);
227  L1GtEnergySumCondition eSumCondition(corrEnergySum, m_gtPSB);
228 
229  eSumCondition.evaluateConditionStoreResult();
230  condResult = eSumCondition.condLastResult();
231 
232  cond0Comb = *(eSumCondition.getCombinationsInCond());
233  cndObjTypeVec[0] = (corrEnergySum->objectType())[0];
234 
235  if (m_verbosity && m_isDebugEnabled ) {
236  std::ostringstream myCout;
237  eSumCondition.print(myCout);
238 
239  LogTrace("L1GtCorrelationCondition") << myCout.str() << std::endl;
240  }
241  }
242  break;
243  default: {
244  // should not arrive here
245  condResult = false;
246  }
247  break;
248  }
249 
250  // return if first subcondition is false
251  if (!condResult) {
252  return false;
253  }
254 
255 
256  switch (cond1Categ) {
257  case CondMuon: {
258  corrMuon = static_cast<const L1GtMuonTemplate*>(m_gtCond1);
259  L1GtMuonCondition muCondition(corrMuon, m_gtGTL,
261 
262  muCondition.evaluateConditionStoreResult();
263  condResult = muCondition.condLastResult();
264 
265  cond1Comb = *(muCondition.getCombinationsInCond());
266  cndObjTypeVec[1] = (corrMuon->objectType())[0];
267 
268  if (m_verbosity && m_isDebugEnabled ) {
269  std::ostringstream myCout;
270  muCondition.print(myCout);
271 
272  LogTrace("L1GtCorrelationCondition") << myCout.str() << std::endl;
273  }
274  }
275  break;
276  case CondCalo: {
277  corrCalo = static_cast<const L1GtCaloTemplate*>(m_gtCond1);
278  L1GtCaloCondition caloCondition(corrCalo, m_gtPSB,
281 
282  caloCondition.evaluateConditionStoreResult();
283  condResult = caloCondition.condLastResult();
284 
285  cond1Comb = *(caloCondition.getCombinationsInCond());
286  cndObjTypeVec[1] = (corrCalo->objectType())[0];
287 
288  if (m_verbosity && m_isDebugEnabled ) {
289  std::ostringstream myCout;
290  caloCondition.print(myCout);
291 
292  LogTrace("L1GtCorrelationCondition") << myCout.str() << std::endl;
293  }
294  }
295  break;
296  case CondEnergySum: {
297  corrEnergySum = static_cast<const L1GtEnergySumTemplate*>(m_gtCond1);
298  L1GtEnergySumCondition eSumCondition(corrEnergySum, m_gtPSB);
299  eSumCondition.evaluateConditionStoreResult();
300  condResult = eSumCondition.condLastResult();
301 
302  cond1Comb = *(eSumCondition.getCombinationsInCond());
303  cndObjTypeVec[1] = (corrEnergySum->objectType())[0];
304 
305  if (m_verbosity && m_isDebugEnabled ) {
306  std::ostringstream myCout;
307  eSumCondition.print(myCout);
308 
309  LogTrace("L1GtCorrelationCondition") << myCout.str() << std::endl;
310  }
311  }
312  break;
313  default: {
314  // should not arrive here
315  condResult = false;
316  }
317  break;
318  }
319 
320  // return if second subcondition is false
321  // if here, the first subcondition was true
322  if (!condResult) {
323  return false;
324  }
325 
326  //
327  // evaluate the delta_eta and delta_phi correlations
328  //
329 
330  // store the indices of the calorimeter objects
331  // from the combination evaluated in the condition
332  SingleCombInCond objectsInComb;
333  objectsInComb.reserve(nObjInCond);
334 
335  // clear the m_combinationsInCond vector
336  (*m_combinationsInCond).clear();
337 
338  // pointers to objects
339  const std::vector<const L1MuGMTCand*>* candMuVec = 0;
340  const std::vector<const L1GctCand*>* candCaloVec = 0;
341  const L1GctEtMiss* candETM = 0; // no other energy sum appears in correlation conditions
342 
343  unsigned int phiIndex0 = 0;
344  unsigned int phiIndex1 = 0;
345  unsigned int etaIndex0 = 0;
346  unsigned int etaIndex1 = 0;
347 
348  // loop over all combinations which produced individually "true" as Type1s
349  for (std::vector<SingleCombInCond>::const_iterator
350  it0Comb = cond0Comb.begin(); it0Comb != cond0Comb.end(); it0Comb++) {
351 
352  // Type1s: there is 1 object only, no need for a loop (*it0Comb)[0]
353  int obj0Index = (*it0Comb)[0];
354  switch (cond0Categ) {
355  case CondMuon: {
356  candMuVec = m_gtGTL->getCandL1Mu();
357  phiIndex0 = (*candMuVec)[obj0Index]->phiIndex();
358  etaIndex0 = (*candMuVec)[obj0Index]->etaIndex();
359 
360  }
361  break;
362  case CondCalo: {
363  switch (cndObjTypeVec[0]) {
364  case NoIsoEG:
365  candCaloVec = m_gtPSB->getCandL1NoIsoEG();
366  break;
367  case IsoEG:
368  candCaloVec = m_gtPSB->getCandL1IsoEG();
369  break;
370  case CenJet:
371  candCaloVec = m_gtPSB->getCandL1CenJet();
372  break;
373  case ForJet:
374  candCaloVec = m_gtPSB->getCandL1ForJet();
375  break;
376  case TauJet:
377  candCaloVec = m_gtPSB->getCandL1TauJet();
378  break;
379  default:
380  // do nothing
381  break;
382  }
383 
384  phiIndex0 = (*candCaloVec)[obj0Index]->phiIndex();
385  etaIndex0 = (*candCaloVec)[obj0Index]->etaIndex();
386  }
387  break;
388  case CondEnergySum: {
389  candETM = m_gtPSB->getCandL1ETM();
390  phiIndex0 = candETM->phi();
391  }
392  break;
393  default: {
394  // should not arrive here
395  condResult = false;
396  }
397  break;
398  }
399 
400  for (std::vector<SingleCombInCond>::const_iterator
401  it1Comb = cond1Comb.begin(); it1Comb != cond1Comb.end(); it1Comb++) {
402 
403  // Type1s: there is 1 object only, no need for a loop (*it1Comb)[0]
404  int obj1Index = (*it1Comb)[0];
405  switch (cond1Categ) {
406  case CondMuon: {
407  candMuVec = m_gtGTL->getCandL1Mu();
408  phiIndex1 = (*candMuVec)[obj1Index]->phiIndex();
409  etaIndex1 = (*candMuVec)[obj1Index]->etaIndex();
410 
411  }
412  break;
413  case CondCalo: {
414  switch (cndObjTypeVec[1]) {
415  case NoIsoEG:
416  candCaloVec = m_gtPSB->getCandL1NoIsoEG();
417  break;
418  case IsoEG:
419  candCaloVec = m_gtPSB->getCandL1IsoEG();
420  break;
421  case CenJet:
422  candCaloVec = m_gtPSB->getCandL1CenJet();
423  break;
424  case ForJet:
425  candCaloVec = m_gtPSB->getCandL1ForJet();
426  break;
427  case TauJet:
428  candCaloVec = m_gtPSB->getCandL1TauJet();
429  break;
430  default:
431  // do nothing
432  break;
433  }
434 
435  phiIndex1 = (*candCaloVec)[obj1Index]->phiIndex();
436  etaIndex1 = (*candCaloVec)[obj1Index]->etaIndex();
437  }
438  break;
439  case CondEnergySum: {
440  candETM = m_gtPSB->getCandL1ETM();
441  phiIndex1 = candETM->phi();
442  }
443  break;
444  default: {
445  // should not arrive here
446  condResult = false;
447  }
448  break;
449  }
450 
451  if (m_verbosity && m_isDebugEnabled ) {
452  LogTrace("L1GtCorrelationCondition")
453  << "\n First correlation object of type " << cndObjTypeVec[0]
454  << " with collection index " << obj0Index
455  << ": phiIndex = " << phiIndex0 << " etaIndex = " << etaIndex0
456  << "\n Second correlation object of type " << cndObjTypeVec[1]
457  << " with collection index " << obj1Index
458  << " phiIndex = " << phiIndex1 << " etaIndex = " << etaIndex1
459  << std::endl;
460  }
461 
462  // clear the indices in the combination
463  objectsInComb.clear();
464  //...
465 
466  objectsInComb.push_back(obj0Index);
467  objectsInComb.push_back(obj1Index); //...
468 
469  // evaluate delta_eta
470 
471  // evaluate delta_phi
472 
473  // if we get here all checks were successfull for this combination
474  // set the general result for evaluateCondition to "true"
475 
476  condResult = true;
477  (*m_combinationsInCond).push_back(objectsInComb);
478 
479  }
480 
481  }
482 
483  return condResult;
484 
485 }
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const std::vector< const L1GctCand * > * getCandL1TauJet() const
pointer to TauJet data list
const std::vector< const L1GctCand * > * getCandL1CenJet() const
pointer to CenJet data list
const std::vector< const L1GctCand * > * getCandL1NoIsoEG() const
pointer to NoIsoEG data list
const std::vector< const L1GctCand * > * getCandL1ForJet() const
pointer to ForJet data list
std::vector< int > SingleCombInCond
typedefs
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
Persistable copy of missing Et measured at Level-1.
Definition: L1GctEtMiss.h:18
const std::vector< L1GtObject > & objectType() const
get / set the trigger object type(s) in the condition
Definition: L1GtCondition.h:88
unsigned phi() const
get the Et
Definition: L1GctEtMiss.h:64
const L1GtConditionCategory cond1Category() const
const std::vector< const L1GctCand * > * getCandL1IsoEG() const
pointer to IsoEG data list
const L1GtCondition * m_gtCond0
pointer to first sub-condition
const L1GtConditionCategory cond0Category() const
get / set the category of the two sub-conditions
#define LogTrace(id)
L1GtConditionCategory
condition categories
Definition: L1GtFwd.h:63
const L1GctEtMiss * getCandL1ETM() const
pointer to ETM data list
const std::vector< const L1MuGMTCand * > * getCandL1Mu() const
return global muon trigger candidate
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
const L1GtCondition * m_gtCond1
pointer to second sub-condition
const L1GtCorrelationTemplate* L1GtCorrelationCondition::gtCorrelationTemplate ( ) const
inline

get / set the pointer to a L1GtCondition

Definition at line 71 of file L1GtCorrelationCondition.h.

References m_gtCorrelationTemplate.

71  {
73  }
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
const L1GlobalTriggerGTL* L1GtCorrelationCondition::gtGTL ( ) const
inline

get / set the pointer to GTL

Definition at line 78 of file L1GtCorrelationCondition.h.

References m_gtGTL.

78  {
79  return m_gtGTL;
80  }
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
const L1GlobalTriggerPSB* L1GtCorrelationCondition::gtPSB ( ) const
inline

get / set the pointer to PSB

Definition at line 85 of file L1GtCorrelationCondition.h.

References m_gtPSB.

85  {
86  return m_gtPSB;
87  }
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
L1GtCorrelationCondition & L1GtCorrelationCondition::operator= ( const L1GtCorrelationCondition cp)

Definition at line 134 of file L1GtCorrelationCondition.cc.

References copy().

136 {
137  copy(cp);
138  return *this;
139 }
void copy(const L1GtCorrelationCondition &cp)
copy function for copy constructor and operator=
void L1GtCorrelationCondition::print ( std::ostream &  myCout) const
virtual

print condition

Reimplemented from L1GtConditionEvaluation.

Definition at line 488 of file L1GtCorrelationCondition.cc.

References m_gtCorrelationTemplate, L1GtConditionEvaluation::print(), and L1GtCorrelationTemplate::print().

Referenced by L1GlobalTriggerGTL::run().

488  {
489 
492 
493 }
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
virtual void print(std::ostream &myCout) const
print the condition
virtual void print(std::ostream &myCout) const
print condition
void L1GtCorrelationCondition::setGtCorrelationTemplate ( const L1GtCorrelationTemplate corrTempl)

Definition at line 142 of file L1GtCorrelationCondition.cc.

References m_gtCorrelationTemplate.

143  {
144 
145  m_gtCorrelationTemplate = corrTempl;
146 
147 }
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
void L1GtCorrelationCondition::setGtGTL ( const L1GlobalTriggerGTL ptrGTL)

set the pointer to GTL

Definition at line 150 of file L1GtCorrelationCondition.cc.

References m_gtGTL.

150  {
151 
152  m_gtGTL = ptrGTL;
153 
154 }
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
void L1GtCorrelationCondition::setGtPSB ( const L1GlobalTriggerPSB ptrPSB)

set the pointer to PSB

Definition at line 157 of file L1GtCorrelationCondition.cc.

References m_gtPSB.

157  {
158 
159  m_gtPSB = ptrPSB;
160 
161 }
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects

Member Data Documentation

int L1GtCorrelationCondition::m_cond0EtaBits
private

Definition at line 110 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().

int L1GtCorrelationCondition::m_cond0NrL1Objects
private

Definition at line 108 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().

int L1GtCorrelationCondition::m_cond1EtaBits
private

Definition at line 111 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().

int L1GtCorrelationCondition::m_cond1NrL1Objects
private

Definition at line 109 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().

const L1GtCondition* L1GtCorrelationCondition::m_gtCond0
private

pointer to first sub-condition

Definition at line 102 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().

const L1GtCondition* L1GtCorrelationCondition::m_gtCond1
private

pointer to second sub-condition

Definition at line 105 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().

const L1GtCorrelationTemplate* L1GtCorrelationCondition::m_gtCorrelationTemplate
private
const L1GtEtaPhiConversions* L1GtCorrelationCondition::m_gtEtaPhiConversions
private

pointer to eta and phi conversion class

Definition at line 120 of file L1GtCorrelationCondition.h.

Referenced by copy().

const L1GlobalTriggerGTL* L1GtCorrelationCondition::m_gtGTL
private

pointer to GTL, to be able to get the trigger objects

Definition at line 114 of file L1GtCorrelationCondition.h.

Referenced by copy(), evaluateCondition(), gtGTL(), and setGtGTL().

const L1GlobalTriggerPSB* L1GtCorrelationCondition::m_gtPSB
private

pointer to PSB, to be able to get the trigger objects

Definition at line 117 of file L1GtCorrelationCondition.h.

Referenced by copy(), evaluateCondition(), gtPSB(), and setGtPSB().

bool L1GtCorrelationCondition::m_isDebugEnabled
private

Definition at line 124 of file L1GtCorrelationCondition.h.

Referenced by copy(), and evaluateCondition().