FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
PndMdtPointsToWaveform::key Struct Reference

Public Member Functions

 key ()
 
 key (Int_t _tid, Int_t _detid)
 
bool operator< (const key &rhs) const
 
bool operator== (const key &rhs) const
 

Public Attributes

Int_t TrkID
 
Int_t DetID
 

Detailed Description

Definition at line 90 of file PndMdtPointsToWaveform.h.

Constructor & Destructor Documentation

PndMdtPointsToWaveform::key::key ( )
inline

Definition at line 92 of file PndMdtPointsToWaveform.h.

92 {}
PndMdtPointsToWaveform::key::key ( Int_t  _tid,
Int_t  _detid 
)
inline

Member Function Documentation

bool PndMdtPointsToWaveform::key::operator< ( const key rhs) const
inline

Definition at line 94 of file PndMdtPointsToWaveform.h.

References DetID, and TrkID.

94  {
95  if(TrkID < rhs.TrkID) return true;
96  if(TrkID == rhs.TrkID) return DetID < rhs.DetID;
97  return false;
98  }
bool PndMdtPointsToWaveform::key::operator== ( const key rhs) const
inline

Definition at line 99 of file PndMdtPointsToWaveform.h.

References DetID, and TrkID.

99  {
100  return TrkID == rhs.TrkID && DetID == rhs.DetID;
101  }

Member Data Documentation

Int_t PndMdtPointsToWaveform::key::DetID

Definition at line 103 of file PndMdtPointsToWaveform.h.

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

Int_t PndMdtPointsToWaveform::key::TrkID

Definition at line 102 of file PndMdtPointsToWaveform.h.

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


The documentation for this struct was generated from the following file: