BOSS 7.1.2
BESIII Offline Software System
|
#include <StripSrv.h>
Classes | |
struct | stowerRC |
Clients should use as return values for readData. More... | |
Public Types | |
enum | eBadType { UNKNOWN_BADTYPE , DEAD , HOT } |
typedef struct calibUtil::StripSrv::stowerRC | towerRC |
Clients should use as return values for readData. | |
typedef std::vector< unsigned short int > | StripCol |
Public Member Functions | |
StripSrv (std::string xmlFileName) | |
StripSrv (eBadType badType, const GenericSrv &gen) | |
Constructor to be used when creating new calibrations. | |
~StripSrv () | |
destructor. Deallocates memory | |
eBadType | getBadType () const |
returns the status (Hot or Dead) of the strip | |
void | getBadTowers (std::vector< towerRC > &towerIds) const |
lists all towers with bad strips | |
std::string | getInst () const |
methods giving access to generic data | |
std::string | getTimestamp () const |
Get timestamp. | |
std::string | getCalType () const |
Get calibration type. | |
std::string | getFmtVer () const |
Get format Version. | |
eVisitorRet | traverseInfo (ClientObject *client) const |
call back method for client to access large data | |
eVisitorRet | writeXml (std::ostream *out) |
Definition at line 59 of file StripSrv.h.
std::vector<unsigned short int> calibUtil::StripSrv::StripCol |
Definition at line 71 of file StripSrv.h.
Clients should use as return values for readData.
calibUtil::StripSrv::StripSrv | ( | std::string | xmlFileName | ) |
constructor. Initializes strip service by creating a DOM structure out of the XML file and filling in the internal data structures
Definition at line 30 of file StripSrv.cxx.
calibUtil::StripSrv::StripSrv | ( | eBadType | badType, |
const GenericSrv & | gen ) |
Constructor to be used when creating new calibrations.
Definition at line 24 of file StripSrv.cxx.
calibUtil::StripSrv::~StripSrv | ( | ) |
destructor. Deallocates memory
destructor used to deallocate memory
Definition at line 114 of file StripSrv.cxx.
void calibUtil::StripSrv::getBadTowers | ( | std::vector< towerRC > & | towerIds | ) | const |
lists all towers with bad strips
Lists all towers with bad strips.
Definition at line 124 of file StripSrv.cxx.
StripSrv::eBadType calibUtil::StripSrv::getBadType | ( | ) | const |
returns the status (Hot or Dead) of the strip
returns the status (Hot or Dead) of the strips
Definition at line 119 of file StripSrv.cxx.
std::string calibUtil::StripSrv::getCalType | ( | ) | const |
Get calibration type.
Definition at line 151 of file StripSrv.cxx.
std::string calibUtil::StripSrv::getFmtVer | ( | ) | const |
Get format Version.
Definition at line 156 of file StripSrv.cxx.
std::string calibUtil::StripSrv::getInst | ( | ) | const |
methods giving access to generic data
Get instrument name
Definition at line 141 of file StripSrv.cxx.
std::string calibUtil::StripSrv::getTimestamp | ( | ) | const |
Get timestamp.
Definition at line 146 of file StripSrv.cxx.
eVisitorRet calibUtil::StripSrv::traverseInfo | ( | ClientObject * | client | ) | const |
call back method for client to access large data
Definition at line 162 of file StripSrv.cxx.
eVisitorRet calibUtil::StripSrv::writeXml | ( | std::ostream * | out | ) |
Definition at line 320 of file StripSrv.cxx.