CMS 3D CMS Logo

HTRPatternID Class Reference

#include <CaloOnlineTools/HcalOnlineDb/interface/XMLHTRPatterns.h>

List of all members.

Public Member Functions

 HTRPatternID ()
bool operator< (const HTRPatternID &_id) const
 ~HTRPatternID ()

Public Attributes

int crate
int fiber
int slot
int topbottom


Detailed Description

Definition at line 31 of file XMLHTRPatterns.h.


Constructor & Destructor Documentation

HTRPatternID::HTRPatternID (  )  [inline]

Definition at line 34 of file XMLHTRPatterns.h.

00034 {};

HTRPatternID::~HTRPatternID (  )  [inline]

Definition at line 35 of file XMLHTRPatterns.h.

00035 {};


Member Function Documentation

bool HTRPatternID::operator< ( const HTRPatternID _id  )  const [inline]

Definition at line 41 of file XMLHTRPatterns.h.

References crate, fiber, slot, and topbottom.

00042     {
00043       if ( crate < _id . crate ) return true;
00044       else if ( crate == _id . crate && slot < _id . slot ) return true;
00045       else if ( crate == _id . crate && slot == _id . slot && topbottom < _id . topbottom ) return true;
00046       else if ( crate == _id . crate && slot == _id . slot && topbottom == _id . topbottom && fiber < _id . fiber ) return true;
00047       else return false;
00048     }


Member Data Documentation

int HTRPatternID::crate

Definition at line 35 of file XMLHTRPatterns.h.

Referenced by operator<().

int HTRPatternID::fiber

Definition at line 39 of file XMLHTRPatterns.h.

Referenced by operator<().

int HTRPatternID::slot

Definition at line 37 of file XMLHTRPatterns.h.

Referenced by operator<().

int HTRPatternID::topbottom

Definition at line 38 of file XMLHTRPatterns.h.

Referenced by operator<().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:24:48 2009 for CMSSW by  doxygen 1.5.4