EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/include/EtmPalette.h>
Public Member Functions | |
EtmPalette () | |
~EtmPalette () | |
bool | AddEntry (const char *tag, int color) |
int | GetColor (const char *tag) const |
const char * | GetTag (int color) const |
Private Member Functions | |
bool | Exists (const char *tag) const |
bool | Exists (int color) const |
Private Attributes | |
std::map< TString, int > | mColors |
std::map< int, TString > | mTags |
Definition at line 32 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 32 of file EtmPalette.h
EtmPalette::EtmPalette | ( | ) |
Definition at line 9 of file EtmPalette.cc.
View newest version in sPHENIX GitHub at line 9 of file EtmPalette.cc
References _GAP_COLOR_, _MARKER_, and AddEntry().
|
inline |
Definition at line 35 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 35 of file EtmPalette.h
bool EtmPalette::AddEntry | ( | const char * | tag, |
int | color | ||
) |
Definition at line 58 of file EtmPalette.cc.
View newest version in sPHENIX GitHub at line 58 of file EtmPalette.cc
References color, mColors, mTags, printf(), and release::tag().
Referenced by EtmPalette().
|
inlineprivate |
Definition at line 43 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 43 of file EtmPalette.h
References mColors.
Referenced by GetColor(), and GetTag().
|
inlineprivate |
Definition at line 44 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 44 of file EtmPalette.h
|
inline |
Definition at line 39 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 39 of file EtmPalette.h
References Exists(), and mColors.
|
inline |
Definition at line 40 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 40 of file EtmPalette.h
References Exists(), and mTags.
|
private |
Definition at line 44 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 44 of file EtmPalette.h
Referenced by AddEntry(), Exists(), and GetColor().
|
private |
Definition at line 48 of file EtmPalette.h.
View newest version in sPHENIX GitHub at line 48 of file EtmPalette.h
Referenced by AddEntry(), and GetTag().