The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Utils::Histos::Formats Namespace Reference

The 15 format fields are predefined now: More...

Enumerations

enum  Format {
  Default = 0 , Old , Full , FullStat ,
  Stat , StatOnly , Stat1 , ShapeOnly ,
  Shape , LineTitle , LineOnly , PathTitle
}
 the ID for predefined formats More...

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

Detailed Description

The 15 format fields are predefined now:

  • 1 : the histogram path in transient store (without '/stat/')
  • 2 : the histogram title
  • 3 : number of ALL entries
  • 4 : number of UNDERFLOW entries
  • 5 : number of OVERFLOW entries
  • 6 : the statistics of equivalent entries
  • 7 : the full integral in range
  • 8 : mean value
  • 9 : the estimated uncertainty in the mean value
  • 10 : rms value
  • 11 : the estimated uncertainty in the rms value
  • 12 : skewness value
  • 13 : the estimated uncertainty in the skewness value
  • 14 : kurtosis value
  • 15 : the estimated uncertainty in the kurtosis value
  • 16 : full intergal (in and out-range)
  • 17 : error on the full intergal (16)
  • 18 : error on the full intergal in range (7)
  • 19 : fraction of overflow entries [%]
  • 20 : (binomial) error on fraction of overflow entries [%]
  • 21 : fraction of underflow entries [%]
  • 22 : (binomial) error on fraction of underflow entries [%]
  • 23 : fraction of overflow integral
  • 24 : error on fraction of overflow integral
  • 25 : fraction of underflow integral
  • 26 : error on fraction of underflow integral
See also
Gauid::Utils::HistoStats

Unlike parameters 3-7 & 16-19, the parameters 8-15 and 19-26 are sensitive only to the shape of the distribution.

Simple collection of predefiend formats for the histogram

Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yed.e.nosp@m.du
Date
2007-08-07

Enumeration Type Documentation

◆ Format

the ID for predefined formats

  • Default : the default format
  • Old : the old-style format (title,integra,entries,mean,rms)
  • Full : FULL information (all 15 predefiend values)
  • FullStat : FULL statistical information (all 13 statistical values)
  • Stat : title, #entries,mean, rms, skewness&kurtosis
  • StatOnly : #entries,mean, rms, skewness&kurtosis
  • Stat1 : #entries,mean+-, rms+-, skewness+-&kurtosis+-
  • ShapeOnly : mean,rms,skewness,kurtosis,underflow&overflow fractions
  • Shape : as ShapeOnly but with errors
  • LineTitle : line-format title, mean,rms,skewness&kurtosis
  • LineOnly : line-format mean,rms,skewness&kurtosis
  • PathTitle : path & title
Enumerator
Default 
Old 
Full 
FullStat 
Stat 
StatOnly 
Stat1 
ShapeOnly 
Shape 
LineTitle 
LineOnly 
PathTitle 

Definition at line 94 of file HistoTableFormat.h.

94 {
95 Default = 0, // default format
96 Old, // "OLD"-line format: title,integral,#ent,mean,rms
97 Full, // FULL format: the first 15 positions
98 FullStat, // Full statistical info (3-15)
99 Stat, // title,#ent,mean,rms,skewness&kurtosis
100 StatOnly, // #entries,mean,rms,skewness&kurtosis
101 Stat1, // #entries,mean+-,rms+-,skewness+-&kurtosis+-
102 ShapeOnly, // mean,rms,skewness,kurtosis,underflow&overflow fractions
103 Shape, // as ShapeOnly but with errors
104 LineTitle, // line-format : title,mean,rms,skewness&kurtosis
105 LineOnly, // line-format : mean,rms,skewness&kurtosis
106 PathTitle // "PathTitle" : path & title
107 };

Function Documentation

◆ format()

std::string Gaudi::Utils::Histos::Formats::format ( const int ID = Default)

get the format by enum

See also
Gaudi::Utils::Histos::Formats::Format
Parameters
IDthe format idenfifier
Returns
format associated with ID
Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2007-08-08

default:

Definition at line 153 of file HistoTableFormat.cpp.

153 {
154 switch ( ID ) {
155 case Old:
156 return s_histoFormatOld;
157 case Full:
158 return s_histoFormatFull;
159 case FullStat:
160 return s_histoFormatFullStat;
161 case Stat:
162 return s_histoFormatStat;
163 case StatOnly:
164 return s_histoFormatStatOnly;
165 case Stat1:
166 return s_histoFormatStat1;
167 case ShapeOnly:
168 return s_histoFormatShapeOnly;
169 case Shape:
170 return s_histoFormatShape;
171 case LineTitle:
172 return s_histoFormatLineTitle;
173 case LineOnly:
174 return s_histoFormatLineOnly;
175 case PathTitle:
176 return s_histoFormatPathTitle;
177 default:
178 break;
179 }
181 return s_histoFormatStat;
182}

◆ header()

std::string Gaudi::Utils::Histos::Formats::header ( const int ID = Default)

get the recommended header by enum

See also
Gaudi::Utils::Histos::Formats::Format
Parameters
IDthe format idenfifier
Returns
header associated with ID
Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2007-08-08

default:

Definition at line 186 of file HistoTableFormat.cpp.

186 {
187 switch ( ID ) {
188 case Old:
189 return s_histoFormatOldHeader;
190 case Full:
191 return s_histoFormatFullHeader;
192 case FullStat:
193 return s_histoFormatFullStatHeader;
194 case Stat:
195 return s_histoFormatStatHeader;
196 case Stat1:
197 return s_histoFormatStat1Header;
198 case StatOnly:
199 return s_histoFormatStatOnlyHeader;
200 case ShapeOnly:
201 return s_histoFormatShapeOnlyHeader;
202 case Shape:
203 return s_histoFormatShapeHeader;
204 case LineTitle:
205 return s_histoFormatLineTitleHeader;
206 case LineOnly:
207 return s_histoFormatLineOnlyHeader;
208 case PathTitle:
209 return s_histoFormatPathTitleHeader;
210 default:;
211 }
213 return s_histoFormatStatHeader;
214}