|
Gaudi Framework, version v21r4 |
| Home | Generated: 7 Sep 2009 |
Simple collection of predefiend formats for the histogram
Enumerations | |
| enum | Format { Default = 0, Old, Full, FullStat, Stat, StatOnly, Stat1, ShapeOnly, Shape, LineTitle, LineOnly, PathTitle } |
the ID for predefined formats
| |
Functions | |
| GAUDI_API std::string | format (const int ID=Default) |
| get the format by enum | |
| GAUDI_API std::string | header (const int ID=Default) |
| get the recommended header by enum | |
the ID for predefined formats
| Default | |
| Old | |
| Full | |
| FullStat | |
| Stat | |
| StatOnly | |
| Stat1 | |
| ShapeOnly | |
| Shape | |
| LineTitle | |
| LineOnly | |
| PathTitle |
Definition at line 90 of file HistoTableFormat.h.
00091 { 00092 Default = 0 , // default format 00093 Old , // "OLD"-line format: title,integral,#ent,mean,rms 00094 Full , // FULL format: the first 15 positions 00095 FullStat , // Full statistical info (3-15) 00096 Stat , // title,#ent,mean,rms,skewness&kurtosis 00097 StatOnly , // #entries,mean,rms,skewness&kurtosis 00098 Stat1 , // #entries,mean+-,rms+-,skewness+-&kurtosis+- 00099 ShapeOnly , // mean,rms,skewness,kurtosis,underflow&overflow fractions 00100 Shape , // as ShapeOnly but with errors 00101 LineTitle , // line-format : title,mean,rms,skewness&kurtosis 00102 LineOnly , // line-format : mean,rms,skewness&kurtosis 00103 PathTitle // "PathTitle" : path & title 00104 } ;
| std::string Gaudi::Utils::Histos::Formats::format | ( | const int | ID = Default |
) |
get the format by enum
| ID | the format idenfifier |
default:
Definition at line 139 of file HistoTableFormat.cpp.
00140 { 00141 switch ( ID ) 00142 { 00143 case Old : return s_histoFormatOld ; 00144 case Full : return s_histoFormatFull ; 00145 case FullStat : return s_histoFormatFullStat ; 00146 case Stat : return s_histoFormatStat ; 00147 case StatOnly : return s_histoFormatStatOnly ; 00148 case Stat1 : return s_histoFormatStat1 ; 00149 case ShapeOnly : return s_histoFormatShapeOnly ; 00150 case Shape : return s_histoFormatShape ; 00151 case LineTitle : return s_histoFormatLineTitle ; 00152 case LineOnly : return s_histoFormatLineOnly ; 00153 case PathTitle : return s_histoFormatPathTitle ; 00154 default : ; 00155 } 00157 return s_histoFormatStat ; 00158 }
| 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 162 of file HistoTableFormat.cpp.
00163 { 00164 switch ( ID ) 00165 { 00166 case Old : return s_histoFormatOldHeader ; 00167 case Full : return s_histoFormatFullHeader ; 00168 case FullStat : return s_histoFormatFullStatHeader ; 00169 case Stat : return s_histoFormatStatHeader ; 00170 case Stat1 : return s_histoFormatStat1Header ; 00171 case StatOnly : return s_histoFormatStatOnlyHeader ; 00172 case ShapeOnly : return s_histoFormatShapeOnlyHeader ; 00173 case Shape : return s_histoFormatShapeHeader ; 00174 case LineTitle : return s_histoFormatLineTitleHeader ; 00175 case LineOnly : return s_histoFormatLineOnlyHeader ; 00176 case PathTitle : return s_histoFormatPathTitleHeader ; 00177 default : ; 00178 } 00180 return s_histoFormatStatHeader ; 00181 }