CMS 3D CMS Logo

Public Member Functions

LASGlobalLoop Class Reference

#include <LASGlobalLoop.h>

List of all members.

Public Member Functions

 LASGlobalLoop ()
bool TEC2TECLoop (int &, int &, int &) const
bool TECLoop (int &, int &, int &, int &) const
bool TIBTOBLoop (int &, int &, int &) const

Detailed Description

helper class for looping over LASGlobalData objects (si-strip module loops). Use exactly as:

 LASGlobalLoop theLoop;
 int det = 0, ring = 0, beam = 0, disk = 0;
 do {
   // det,ring,beam,disk will loop the full TEC+,TEC-
 } while ( loop.TECLoop( det, ring, beam, disk ) );
 int pos = 0;
 det = 2; // set subdetector to TIB
 beam = 0;
 do {
   // dto.
 } while( loop.TIBTOBLoop( det, beam, disk ) );

Definition at line 24 of file LASGlobalLoop.h.


Constructor & Destructor Documentation

LASGlobalLoop::LASGlobalLoop ( )

Definition at line 8 of file LASGlobalLoop.cc.

                             {
}

Member Function Documentation

bool LASGlobalLoop::TEC2TECLoop ( int &  subdet,
int &  beam,
int &  disk 
) const
bool LASGlobalLoop::TECLoop ( int &  subdet,
int &  ring,
int &  beam,
int &  disk 
) const
bool LASGlobalLoop::TIBTOBLoop ( int &  subdet,
int &  beam,
int &  position 
) const