#include <GeometryHelper.h>
Static Public Member Functions | |
static const MeInfo * | get (MonitorElement *me) |
static void | set (MonitorElement *me, ObjectType otype, BinningType btype, int ism) |
Static Private Attributes | |
static std::map< std::string, MeInfo > | infos |
Definition at line 44 of file GeometryHelper.h.
const MeInfo * ecaldqm::MeInfoMap::get | ( | MonitorElement * | me | ) | [static] |
Definition at line 36 of file GeometryHelper.cc.
References end, MonitorElement::getFullname(), infos, and NULL.
Referenced by ecaldqm::fillME(), ecaldqm::getBinContentME(), ecaldqm::getBinEntriesME(), ecaldqm::getBinErrorME(), ecaldqm::getBinME(), ecaldqm::setBinContentME(), ecaldqm::setBinEntriesME(), and ecaldqm::setBinErrorME().
{ if( !me ) return NULL; std::map<std::string, MeInfo>::const_iterator it = MeInfoMap::infos.find( me->getFullname() ); if( it == MeInfoMap::infos.end() ) return NULL; return &(it->second); }
void ecaldqm::MeInfoMap::set | ( | MonitorElement * | me, |
ObjectType | otype, | ||
BinningType | btype, | ||
int | ism | ||
) | [static] |
Definition at line 21 of file GeometryHelper.cc.
References ecaldqm::MeInfo::btype, MonitorElement::getFullname(), info, infos, ecalpyutils::ism(), ecaldqm::MeInfo::ism, and ecaldqm::MeInfo::otype.
Referenced by ecaldqm::bookME().
{ if( !me ) return; MeInfo info; info.otype = otype; info.btype = btype; info.ism = ism; MeInfoMap::infos[ me->getFullname() ] = info; }
std::map< std::string, MeInfo > ecaldqm::MeInfoMap::infos [static, private] |
Definition at line 51 of file GeometryHelper.h.