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 ()
virtual ~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.

Private Member Functions

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

Detailed Description

file for sample client

Definition at line 10 of file MyObject.h.


Constructor & Destructor Documentation

MyObject::MyObject (  )  [inline]

Definition at line 13 of file MyObject.h.

00013 {};

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

Definition at line 14 of file MyObject.h.

00014 {};


Member Function Documentation

virtual 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.

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.

Definition at line 59 of file test_strips.cxx.

References calibUtil::CONT.

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.


Generated on Tue Nov 29 23:20:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7