#include <RPCPatternsParser.h>
Public Member Functions | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
const RPCPattern::RPCPatVec & | getPatternsVec (const RPCConst::l1RpcConeCrdnts &coneCrds) const |
const RPCPattern::RPCPatVec & | getPatternsVec (const int tower, const int sc, const int sg) const |
const RPCPattern::TQualityVec & | getQualityVec () const |
void | parse (std::string fileName) |
RPCPatternsParser () | |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) |
~RPCPatternsParser () | |
Private Types | |
typedef std::map < RPCConst::l1RpcConeCrdnts, RPCPattern::RPCPatVec > | TPatternsVecsMap |
Private Attributes | |
TPatternsVecsMap::iterator | m_CurPacIt |
RPCPattern | m_CurPattern |
std::string | m_CurrElement |
TPatternsVecsMap | m_PatternsVecsMap |
RPCPattern::TQualityVec | m_QualityVec |
Static Private Attributes | |
static int | m_InstanceCount = 0 |
Definition at line 22 of file RPCPatternsParser.h.
|
private |
Definition at line 66 of file RPCPatternsParser.h.
RPCPatternsParser::RPCPatternsParser | ( | ) |
Definition at line 108 of file RPCPatternsParser.cc.
References xMLCh2String().
RPCPatternsParser::~RPCPatternsParser | ( | ) |
Definition at line 127 of file RPCPatternsParser.cc.
void RPCPatternsParser::endElement | ( | const XMLCh *const | uri, |
const XMLCh *const | localname, | ||
const XMLCh *const | qname | ||
) |
Definition at line 209 of file RPCPatternsParser.cc.
References xMLCh2String().
const RPCPattern::RPCPatVec & RPCPatternsParser::getPatternsVec | ( | const RPCConst::l1RpcConeCrdnts & | coneCrds | ) | const |
Definition at line 43 of file RPCPatternsParser.cc.
References RPCConst::l1RpcConeCrdnts::m_LogSector, RPCConst::l1RpcConeCrdnts::m_LogSegment, and RPCConst::l1RpcConeCrdnts::m_Tower.
Referenced by RPCPacData::init(), and RPCTriggerConfig::produce().
const RPCPattern::RPCPatVec & RPCPatternsParser::getPatternsVec | ( | const int | tower, |
const int | sc, | ||
const int | sg | ||
) | const |
Definition at line 55 of file RPCPatternsParser.cc.
|
inline |
Definition at line 50 of file RPCPatternsParser.h.
References m_QualityVec.
Referenced by RPCPacData::init(), and RPCTriggerConfig::produce().
void RPCPatternsParser::parse | ( | std::string | fileName | ) |
Definition at line 130 of file RPCPatternsParser.cc.
References groupFilesInBlocks::fin, and geometryXMLtoCSV::parser.
Referenced by RPCTriggerConfig::produce(), and RPCPacData::RPCPacData().
void RPCPatternsParser::startElement | ( | const XMLCh *const | uri, |
const XMLCh *const | localname, | ||
const XMLCh *const | qname, | ||
const Attributes & | attrs | ||
) |
Definition at line 148 of file RPCPatternsParser.cc.
References Char2XMLCh, RPCPattern::TQuality::m_FiredPlanes, RPCConst::l1RpcConeCrdnts::m_LogSector, RPCConst::l1RpcConeCrdnts::m_LogSegment, RPCPattern::TQuality::m_QualityTabNumber, RPCPattern::TQuality::m_QualityValue, RPCConst::l1RpcConeCrdnts::m_Tower, RPCPattern::PAT_TYPE_E, RPCPattern::PAT_TYPE_T, RPCConst::stringToInt(), and xMLCh2String().
|
private |
Definition at line 70 of file RPCPatternsParser.h.
|
private |
Definition at line 72 of file RPCPatternsParser.h.
|
private |
Definition at line 62 of file RPCPatternsParser.h.
|
staticprivate |
Definition at line 52 of file RPCPatternsParser.h.
|
private |
Definition at line 68 of file RPCPatternsParser.h.
|
private |
Definition at line 64 of file RPCPatternsParser.h.
Referenced by getQualityVec().