Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MyObject Class Reference

file for sample client More...

#include <MyObject.h>

Inheritance diagram for MyObject:

calibUtil::ClientObject calibUtil::ClientObject List of all members.

Public Member Functions

 MyObject ()
calibUtil::StripSrv::eRet readData (calibUtil::StripSrv::towerRC towerId, unsigned int trayNum, calibUtil::StripSrv::eUnilayer uni, calibUtil::StripSrv::eBadness howBad, const calibUtil::StripSrv::StripCol *const strips)
 Performs client specified function on the data, one list at a time.
virtual ~MyObject ()

Private Member Functions

virtual calibUtil::eVisitorRet badPlane (unsigned int row, unsigned int col, unsigned int tray, bool top, int badness, bool allBad, const StripCol &strips)
virtual calibUtil::eVisitorRet badTower (unsigned int row, unsigned int col, int badness)

Detailed Description

file for sample client


Constructor & Destructor Documentation

MyObject::MyObject  )  [inline]
 

00013 {};

virtual MyObject::~MyObject  )  [inline, virtual]
 

00014 {};


Member Function Documentation

calibUtil::eVisitorRet MyObject::badPlane unsigned int  row,
unsigned int  col,
unsigned int  tray,
bool  top,
int  badness,
bool  allBad,
const StripCol strips
[private, virtual]
 

Handle bad uniplane with some or all bad strips

Parameters:
row zero-based row of tower
col zero-based column of tower
badness bit mask including 3 least sig. bits: These bits are defined in ChannelStatusDef.h (same as for tower)
allBad if true all strips are bad.
  • strips should be ignored
strips vector of strips of badness
  • badness. If empty, entire plane is bad.

Implements calibUtil::ClientObject.

00070                                                                            {
00071 
00072   std::cout << "MyObject::badPlane called back for tower (" << row
00073             << ", " << col << ") tray = " << tray << " top = " 
00074             << top <<std::endl;
00075   std::cout << "badness = " << badness << " allBad = " << allBad << std::endl;
00076   std::cout << "#strips in strip collection = " << strips.size() << std::endl;
00077 
00078   return calibUtil::CONT;
00079 }

calibUtil::eVisitorRet MyObject::badTower unsigned int  row,
unsigned int  col,
int  badness
[private, virtual]
 

Handle bad tower

Parameters:
row zero-based row of tower
col zero-based column of tower
badness bit mask including 3 least sig. bits These bits are defined in ChannelStatusDef.h

Implements calibUtil::ClientObject.

00060                                                        {
00061   
00062   std::cout << "MyObject::badTower called back for tower (" << row
00063            << ", " << col << ") badness = " << badness << std::endl;
00064   return calibUtil::CONT;
00065 }

calibUtil::StripSrv::eRet MyObject::readData calibUtil::StripSrv::towerRC  towerId,
unsigned int  trayNum,
calibUtil::StripSrv::eUnilayer  uni,
calibUtil::StripSrv::eBadness  howBad,
const calibUtil::StripSrv::StripCol *const   strips
 

Performs client specified function on the data, one list at a time.


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:37:33 2011 for BOSS6.5.5 by  doxygen 1.3.9.1