CMS 3D CMS Logo

Public Member Functions | Private Attributes

DTTPGCompareUnit Class Reference

List of all members.

Public Member Functions

int deltaBX () const
 DTTPGCompareUnit ()
bool hasBoth () const
bool hasOne () const
bool hasSameQual () const
int qualDCC () const
int qualDDU () const
void setDCC (int qual, int bx)
void setDDU (int qual, int bx)
 ~DTTPGCompareUnit ()

Private Attributes

int theBX [2]
int theQual [2]

Detailed Description

Definition at line 41 of file DTLocalTriggerBaseTask.cc.


Constructor & Destructor Documentation

DTTPGCompareUnit::DTTPGCompareUnit ( ) [inline]

Definition at line 45 of file DTLocalTriggerBaseTask.cc.

{ theQual[0]=-1 ; theQual[1]=-1; }
DTTPGCompareUnit::~DTTPGCompareUnit ( ) [inline]

Definition at line 46 of file DTLocalTriggerBaseTask.cc.

{ };

Member Function Documentation

int DTTPGCompareUnit::deltaBX ( ) const [inline]

Definition at line 54 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

{ return theBX[0] - theBX[1]; }
bool DTTPGCompareUnit::hasBoth ( ) const [inline]

Definition at line 52 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

{ return theQual[0]!=-1 && theQual[1]!=-1; };
bool DTTPGCompareUnit::hasOne ( ) const [inline]

Definition at line 51 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

{ return theQual[0]!=-1 || theQual[1]!=-1; };
bool DTTPGCompareUnit::hasSameQual ( ) const [inline]

Definition at line 53 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

{ return hasBoth() && theQual[0]==theQual[1]; };
int DTTPGCompareUnit::qualDCC ( ) const [inline]

Definition at line 56 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

{ return theQual[1]; }
int DTTPGCompareUnit::qualDDU ( ) const [inline]

Definition at line 55 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

{ return theQual[0]; }
void DTTPGCompareUnit::setDCC ( int  qual,
int  bx 
) [inline]

Definition at line 49 of file DTLocalTriggerBaseTask.cc.

{ theQual[1] = qual; theBX[1] = bx; }
void DTTPGCompareUnit::setDDU ( int  qual,
int  bx 
) [inline]

Definition at line 48 of file DTLocalTriggerBaseTask.cc.

{ theQual[0] = qual; theBX[0] = bx; }

Member Data Documentation

int DTTPGCompareUnit::theBX[2] [private]

Definition at line 61 of file DTLocalTriggerBaseTask.cc.

int DTTPGCompareUnit::theQual[2] [private]

Definition at line 60 of file DTLocalTriggerBaseTask.cc.