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,
  Default = 0, Old, Full, FullStat,
  Stat, StatOnly, Stat1, ShapeOnly,
  Shape, LineTitle, LineOnly, PathTitle
}
 the ID for predefined formats More...
 
enum  Format {
  Default = 0, Old, Full, FullStat,
  Stat, StatOnly, Stat1, ShapeOnly,
  Shape, LineTitle, LineOnly, PathTitle,
  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 More...
 
GAUDI_API std::string header (const int ID=Default)
 get the recommended header by enum More...
 

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

enum Gaudi::Utils::Histos::Formats::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 
Default 
Old 
Full 
FullStat 
Stat 
StatOnly 
Stat1 
ShapeOnly 
Shape 
LineTitle 
LineOnly 
PathTitle 

Definition at line 88 of file HistoTableFormat.h.

89  {
90  Default = 0 , // default format
91  Old , // "OLD"-line format: title,integral,#ent,mean,rms
92  Full , // FULL format: the first 15 positions
93  FullStat , // Full statistical info (3-15)
94  Stat , // title,#ent,mean,rms,skewness&kurtosis
95  StatOnly , // #entries,mean,rms,skewness&kurtosis
96  Stat1 , // #entries,mean+-,rms+-,skewness+-&kurtosis+-
97  ShapeOnly , // mean,rms,skewness,kurtosis,underflow&overflow fractions
98  Shape , // as ShapeOnly but with errors
99  LineTitle , // line-format : title,mean,rms,skewness&kurtosis
100  LineOnly , // line-format : mean,rms,skewness&kurtosis
101  PathTitle // "PathTitle" : path & title
102  } ;
enum Gaudi::Utils::Histos::Formats::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 
Default 
Old 
Full 
FullStat 
Stat 
StatOnly 
Stat1 
ShapeOnly 
Shape 
LineTitle 
LineOnly 
PathTitle 

Definition at line 88 of file HistoTableFormat.h.

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

Function Documentation

GAUDI_API 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 138 of file HistoTableFormat.cpp.

139 {
140  switch ( ID )
141  {
142  case Old : return s_histoFormatOld ;
143  case Full : return s_histoFormatFull ;
144  case FullStat : return s_histoFormatFullStat ;
145  case Stat : return s_histoFormatStat ;
146  case StatOnly : return s_histoFormatStatOnly ;
147  case Stat1 : return s_histoFormatStat1 ;
148  case ShapeOnly : return s_histoFormatShapeOnly ;
149  case Shape : return s_histoFormatShape ;
150  case LineTitle : return s_histoFormatLineTitle ;
151  case LineOnly : return s_histoFormatLineOnly ;
152  case PathTitle : return s_histoFormatPathTitle ;
153  default : break ;
154  }
156  return s_histoFormatStat ;
157 }
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
GAUDI_API 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 161 of file HistoTableFormat.cpp.

162 {
163  switch ( ID )
164  {
165  case Old : return s_histoFormatOldHeader ;
166  case Full : return s_histoFormatFullHeader ;
167  case FullStat : return s_histoFormatFullStatHeader ;
168  case Stat : return s_histoFormatStatHeader ;
169  case Stat1 : return s_histoFormatStat1Header ;
170  case StatOnly : return s_histoFormatStatOnlyHeader ;
171  case ShapeOnly : return s_histoFormatShapeOnlyHeader ;
172  case Shape : return s_histoFormatShapeHeader ;
173  case LineTitle : return s_histoFormatLineTitleHeader ;
174  case LineOnly : return s_histoFormatLineOnlyHeader ;
175  case PathTitle : return s_histoFormatPathTitleHeader ;
176  default : ;
177  }
179  return s_histoFormatStatHeader ;
180 }
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46