The Gaudi Framework  v32r2 (46d42edc)
HistogramUtility.h
Go to the documentation of this file.
1 #ifndef GAUDICOMMONSVC_HISTOGRAMUTILITY_H
2 #define GAUDICOMMONSVC_HISTOGRAMUTILITY_H 1
3 
5 
6 namespace Gaudi {
7  template <class Q, class T>
8  T* getRepresentation( const Q& hist ) {
9  auto p = dynamic_cast<const HistogramBase*>( &hist );
10  return p ? dynamic_cast<T*>( p->representation() ) : nullptr;
11  }
12 } // namespace Gaudi
13 
14 #endif
T * getRepresentation(const Q &hist)
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1