CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
SingleObjectTrigger Struct Reference

#include <L1TMenuHelper.h>

Public Member Functions

bool operator< (const SingleObjectTrigger &iSOT) const
 

Public Attributes

std::string alias
 
unsigned int bit
 
unsigned int etaRange
 
L1GtObject object
 
int prescale
 
unsigned int quality
 
unsigned int threshold
 

Detailed Description

Definition at line 45 of file L1TMenuHelper.h.

Member Function Documentation

◆ operator<()

bool SingleObjectTrigger::operator< ( const SingleObjectTrigger iSOT) const
inline

Definition at line 54 of file L1TMenuHelper.h.

References etaRange, prescale, quality, and threshold.

54  {
55  if (this->etaRange > iSOT.etaRange) {
56  return true;
57  } else if (this->etaRange < iSOT.etaRange) {
58  return false;
59  }
60 
61  if (this->prescale < iSOT.prescale) {
62  return true;
63  } else if (this->prescale > iSOT.prescale) {
64  return false;
65  }
66 
67  if (this->quality > iSOT.quality) {
68  return true;
69  } else if (this->quality < iSOT.quality) {
70  return false;
71  }
72 
73  return this->threshold < iSOT.threshold;
74  }
unsigned int quality
Definition: L1TMenuHelper.h:51
unsigned int threshold
Definition: L1TMenuHelper.h:50
unsigned int etaRange
Definition: L1TMenuHelper.h:52

Member Data Documentation

◆ alias

std::string SingleObjectTrigger::alias

Definition at line 47 of file L1TMenuHelper.h.

Referenced by L1TMenuHelper::getLUSOTrigger().

◆ bit

unsigned int SingleObjectTrigger::bit

Definition at line 48 of file L1TMenuHelper.h.

Referenced by L1TMenuHelper::getLUSOTrigger().

◆ etaRange

unsigned int SingleObjectTrigger::etaRange

Definition at line 52 of file L1TMenuHelper.h.

Referenced by L1TMenuHelper::getLUSOTrigger(), and operator<().

◆ object

L1GtObject SingleObjectTrigger::object

◆ prescale

int SingleObjectTrigger::prescale

Definition at line 49 of file L1TMenuHelper.h.

Referenced by L1TMenuHelper::getLUSOTrigger(), and operator<().

◆ quality

unsigned int SingleObjectTrigger::quality

Definition at line 51 of file L1TMenuHelper.h.

Referenced by L1TMenuHelper::getLUSOTrigger(), and operator<().

◆ threshold

unsigned int SingleObjectTrigger::threshold