#include <RPCPatternsParser.h>
Public Member Functions | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) override |
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 XERCES_CPP_NAMESPACE::Attributes &attrs) override |
~RPCPatternsParser () override | |
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 cms::concurrency::xercesInitialize(), and xMLCh2String().
|
override |
Definition at line 127 of file RPCPatternsParser.cc.
References cms::concurrency::xercesTerminate().
|
override |
Definition at line 210 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, RPCConst::l1RpcConeCrdnts::m_Tower, and AlCaHLTBitMon_QueryRunRegistry::string.
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 131 of file RPCPatternsParser.cc.
References groupFilesInBlocks::fin, and writedatasetfile::parser.
Referenced by RPCTriggerConfig::produce(), and RPCPacData::RPCPacData().
|
override |
Definition at line 149 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, EnergyCorrector::pt, jets_cff::quality, AlCaHLTBitMon_QueryRunRegistry::string, 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().