CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
RPCTechnicalTrigger::TTUResults Class Reference

Public Member Functions

int getTriggerForWheel (int wheel) const
 
TTUResultsoperator= (TTUResults const &)=default
 
TTUResultsoperator= (TTUResults &&)=default
 
 TTUResults ()=default
 
 TTUResults (const TTUResults &)=default
 
 TTUResults (TTUResults &&)=default
 
 TTUResults (int idx, int bx, int wh1, int wh2)
 
 TTUResults (int idx, int bx, int wh1, int wh2, int wdg)
 

Public Attributes

int m_bx
 
int m_trigWheel1
 
int m_trigWheel2
 
int m_ttuidx
 
int m_wedge
 

Detailed Description

Definition at line 104 of file RPCTechnicalTrigger.h.

Constructor & Destructor Documentation

RPCTechnicalTrigger::TTUResults::TTUResults ( )
default
RPCTechnicalTrigger::TTUResults::TTUResults ( const TTUResults )
default
RPCTechnicalTrigger::TTUResults::TTUResults ( TTUResults &&  )
default
RPCTechnicalTrigger::TTUResults::TTUResults ( int  idx,
int  bx,
int  wh1,
int  wh2 
)
inline
RPCTechnicalTrigger::TTUResults::TTUResults ( int  idx,
int  bx,
int  wh1,
int  wh2,
int  wdg 
)
inline

Member Function Documentation

int RPCTechnicalTrigger::TTUResults::getTriggerForWheel ( int  wheel) const
inline

Definition at line 125 of file RPCTechnicalTrigger.h.

References funct::abs(), m_trigWheel1, and m_trigWheel2.

125  {
126  if (abs(wheel) > 1)
127  return m_trigWheel2;
128  else
129  return m_trigWheel1;
130  }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
TTUResults& RPCTechnicalTrigger::TTUResults::operator= ( TTUResults const &  )
default
TTUResults& RPCTechnicalTrigger::TTUResults::operator= ( TTUResults &&  )
default

Member Data Documentation

int RPCTechnicalTrigger::TTUResults::m_bx

Definition at line 120 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::TTUResults::m_trigWheel1

Definition at line 121 of file RPCTechnicalTrigger.h.

Referenced by getTriggerForWheel().

int RPCTechnicalTrigger::TTUResults::m_trigWheel2

Definition at line 122 of file RPCTechnicalTrigger.h.

Referenced by getTriggerForWheel().

int RPCTechnicalTrigger::TTUResults::m_ttuidx

Definition at line 119 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::TTUResults::m_wedge

Definition at line 123 of file RPCTechnicalTrigger.h.