![]() |
|
|
Generated: 24 Nov 2008 |
Simple collection of predefiend formats for the histogram
Enumerations | |
| enum | Format { Default = 0, Old, Full, Stat, StatOnly, LineTitle, LineOnly, PathTitle } |
| the ID for predefined formats More... | |
Functions | |
| std::string | format (const int ID=Default) |
| get the format by enum | |
| std::string | header (const int ID=Default) |
| get the recommended header by enum | |
the ID for predefined formats
Definition at line 55 of file HistoTableFormat.h.
00056 { 00057 Default = 0 , // default format 00058 Old , // "OLD"-line format: title,integral,#ent,mean,rms 00059 Full , // FULL format: all available 15 positions 00060 Stat , // title,#ent,mean,rms,skewness&kurtosis 00061 StatOnly , // #entries,mean,rms,skewness&kurtosis 00062 LineTitle , // line-format : title,mean,rms,skewness&kurtosis 00063 LineOnly , // line-format : mean,rms,skewness&kurtosis 00064 PathTitle // "PathTitle" : path & title 00065 } ;
| std::string Gaudi::Utils::Histos::Formats::format | ( | const int | ID = Default |
) |
get the format by enum
| ID | the format idenfifier |
default:
Definition at line 98 of file HistoTableFormat.cpp.
00099 { 00100 switch ( ID ) 00101 { 00102 case Old : return s_histoFormatOld ; 00103 case Full : return s_histoFormatFull ; 00104 case Stat : return s_histoFormatStat ; 00105 case StatOnly : return s_histoFormatStatOnly ; 00106 case LineTitle : return s_histoFormatLineTitle ; 00107 case LineOnly : return s_histoFormatLineOnly ; 00108 case PathTitle : return s_histoFormatPathTitle ; 00109 default : ; 00110 } 00112 return s_histoFormatStat ; 00113 }
| std::string Gaudi::Utils::Histos::Formats::header | ( | const int | ID = Default |
) |
get the recommended header by enum
| ID | the format idenfifier |
default:
Definition at line 117 of file HistoTableFormat.cpp.
00118 { 00119 switch ( ID ) 00120 { 00121 case Old : return s_histoFormatOldHeader ; 00122 case Full : return s_histoFormatFullHeader ; 00123 case Stat : return s_histoFormatStatHeader ; 00124 case StatOnly : return s_histoFormatStatOnlyHeader ; 00125 case LineTitle : return s_histoFormatLineTitleHeader ; 00126 case LineOnly : return s_histoFormatLineOnlyHeader ; 00127 case PathTitle : return s_histoFormatPathTitleHeader ; 00128 default : ; 00129 } 00131 return s_histoFormatStatHeader ; 00132 }