#include <MyObject.h>
Inheritance diagram for MyObject:
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) |
Definition at line 10 of file MyObject.h.
MyObject::MyObject | ( | ) | [inline] |
virtual MyObject::~MyObject | ( | ) | [inline, virtual] |
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
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 | vector of strips of badness
|
Implements calibUtil::ClientObject.
calibUtil::eVisitorRet MyObject::badTower | ( | unsigned int | row, | |
unsigned int | col, | |||
int | badness | |||
) | [private, virtual] |
Handle bad tower
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.