8 #include "nutools/EventDisplayBase/Printable.h" 34 if (gsPrintables[s] == 0) {
38 if (gsPrintables[s] != p) {
39 std::cerr <<
"Printable: Name " << name <<
" reused.\n";
51 for (; itr!=itrEnd; ++itr) {
52 if ( itr->second == p) {
53 gsPrintables.erase(itr);
static void RemoveFromListOfPrintables(evdb::Printable *p)
Base class for printable objects.
static std::map< std::string, evdb::Printable * > gsPrintables
Manage all things related to colors for the event display.
static std::map< std::string, evdb::Printable * > & GetPrintables()
static void AddToListOfPrintables(const char *name, evdb::Printable *p)