2#ifndef CALIBUTIL_STRIPSRV_H
3#define CALIBUTIL_STRIPSRV_H
8#include <xercesc/dom/DOMElement.hpp>
24 typedef std::vector<unsigned short int>
StripCol;
52 unsigned int tray,
bool top,
53 int badness,
bool allBad,
67 typedef struct stowerRC {
68 unsigned short int row;
69 unsigned short int col;
71 typedef std::vector<unsigned short int>
StripCol;
118 typedef struct sUniplane {
126 typedef struct sTower {
128 unsigned short m_row;
129 unsigned short m_col;
132 std::vector<Uniplane> m_uniplanes;
135 std::vector<Tower> m_towers;
146 GenericSrv *m_genSrv;
151 void strToNum(std::string strips, std::vector<unsigned short int> &
v);
156 void fillUni(
const XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* uniElt,
159 void fillStrips(
const XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* badElt,
163 Tower* findTower(
towerRC& towerId);
165 const Tower* findTower(
const towerRC& towerId)
const;
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
virtual eVisitorRet badTower(unsigned int row, unsigned int col, int badness)=0
virtual eVisitorRet badPlane(unsigned int row, unsigned int col, unsigned int tray, bool top, int badness, bool allBad, const StripCol &strips)=0
eVisitorRet writeXml(std::ostream *out)
std::vector< unsigned short int > StripCol
eBadType getBadType() const
returns the status (Hot or Dead) of the strip
StripSrv(std::string xmlFileName)
std::string getInst() const
methods giving access to generic data
std::string getCalType() const
Get calibration type.
eVisitorRet traverseInfo(ClientObject *client) const
call back method for client to access large data
std::string getTimestamp() const
Get timestamp.
StripSrv(eBadType badType, const GenericSrv &gen)
Constructor to be used when creating new calibrations.
~StripSrv()
destructor. Deallocates memory
void getBadTowers(std::vector< towerRC > &towerIds) const
lists all towers with bad strips
struct calibUtil::StripSrv::stowerRC towerRC
Clients should use as return values for readData.
std::string getFmtVer() const
Get format Version.
Module implements methods for clients to get generic services.
std::vector< unsigned short int > StripCol