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 Attributes
DTTPGCompareUnit Class Reference

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.

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

Definition at line 46 of file DTLocalTriggerBaseTask.cc.

46 { };

Member Function Documentation

int DTTPGCompareUnit::deltaBX ( ) const
inline

Definition at line 54 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

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

Definition at line 52 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

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

Definition at line 51 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

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

Definition at line 53 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

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

Definition at line 56 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

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

Definition at line 55 of file DTLocalTriggerBaseTask.cc.

Referenced by DTLocalTriggerBaseTask::runDDUvsDCCAnalysis().

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

Definition at line 49 of file DTLocalTriggerBaseTask.cc.

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

Definition at line 48 of file DTLocalTriggerBaseTask.cc.

48 { 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.