Public Member Functions | |
| TSCategory (const TSCategoryDef &, TString members="") | |
| TSCategory (const TSCategory &) | |
| int | Compare (const TSCategory &, int opt=0) const |
| void | Copy (const TSCategory &) |
| const TSCategoryDef & | GetMotherCategory () const |
| bool | SameMember (int, const TSCategory &, int) const |
| bool | SameType (const TSCategory &) const |
| void | Set (const TSCategoryDef &, TString list="") |
| TSCategory (const TSCategoryDef &, TString members="") | |
| TSCategory (const TSCategory &) | |
| int | Compare (const TSCategory &, int opt=0) const |
| void | Copy (const TSCategory &) |
| const TSCategoryDef & | GetMotherCategory () const |
| bool | SameMember (int, const TSCategory &, int) const |
| bool | SameType (const TSCategory &) const |
| void | Set (const TSCategoryDef &, TString list="") |
Public Member Functions inherited from TSCategoryDef | |
| TSCategoryDef (TString name, TString label, TString title) | |
| void | AddMember (TString name, TString label="") |
| void | AddMembers (TString list, TString labels) |
| void | AddMembers (const TSCategoryDef &, TString list="") |
| void | Clear () |
| void | Copy (const TSCategoryDef &) |
| int | GetCategoryNameHash () const |
| int | GetHash () const |
| TH1F & | GetHistogram () |
| int | GetNumOfMembers () const |
| TString | GetMemName (int) const |
| TString | GetMemLabel (int) const |
| TString | GetMemBinLabel (int) const |
| int | GetMemHash (int) const |
| bool | HasAll () const |
| bool | HasMember (TString name) const |
| void | Init () |
| void | Print () const |
| void | PrintHashTable () const |
| void | SetName (TString) |
| TSCategoryDef (TString name, TString label, TString title) | |
| void | AddMember (TString name, TString label="") |
| void | AddMembers (TString list, TString labels) |
| void | AddMembers (const TSCategoryDef &, TString list="") |
| void | Clear () |
| void | Copy (const TSCategoryDef &) |
| int | GetCategoryNameHash () const |
| int | GetHash () const |
| TH1F & | GetHistogram () |
| int | GetNumOfMembers () const |
| TString | GetMemName (int) const |
| TString | GetMemLabel (int) const |
| TString | GetMemBinLabel (int) const |
| int | GetMemHash (int) const |
| bool | HasAll () const |
| bool | HasMember (TString name) const |
| void | Init () |
| void | Print () const |
| void | PrintHashTable () const |
| void | SetName (TString) |
Public Member Functions inherited from TSNamed | |
| TSNamed (TString name, TString label, TString title) | |
| void | Clear () |
| virtual TString | GetDescription () const |
| TString | GetLabel () const |
| TString | Label () const |
| TString | Name () const |
| TString | Title () const |
| const char * | GetName () const |
| const char * | GetTitle () const |
| virtual void | SetLabel (TString) |
| virtual void | SetTitle (TString) |
| TSNamed (TString name, TString label, TString title) | |
| void | Clear () |
| virtual TString | GetDescription () const |
| TString | GetLabel () const |
| TString | Label () const |
| TString | Name () const |
| TString | Title () const |
| const char * | GetName () const |
| const char * | GetTitle () const |
| virtual void | SetLabel (TString) |
| virtual void | SetTitle (TString) |
Additional Inherited Members | |
Protected Attributes inherited from TSCategoryDef | |
| bool | fHasAllMems |
| int TSCategory::Compare | ( | const TSCategory & | other, |
| int | opt = 0 |
||
| ) | const |
Compare two Sample of the Same Category Type: i.e. Two Category with same name
opt==0 (default) Non-Inclusive Comparison two categories have at least one member in common, e.g.:
Selection:CCQE vs Selection::CCInc,CCQE
opt==1 Inclusive Comparison two categories must have the same set of memebers (any order)
Selection:CCQE,CCInc vs Selection::CCInc,CCQE
Referenced by TSCategoryCard::Compare().
1.8.5