5 #pragma warning(disable:2259)
11 #pragma warning(disable:4996)
23 #define class class GAUDI_API
24 #include "AIDA/IHistogram1D.h"
25 #include "AIDA/IHistogram2D.h"
26 #include "AIDA/IHistogram3D.h"
27 #include "AIDA/IProfile1D.h"
28 #include "AIDA/IProfile2D.h"
37 #include "TProfile2D.h"
57 if ( 0 == aida ) {
return 0 ; }
58 Gaudi::HistogramBase* base =
dynamic_cast<Gaudi::HistogramBase*
> ( aida ) ;
59 if ( 0 == base ) {
return 0 ; }
60 return dynamic_cast<TH1D*
>( base->representation() ) ;
67 if ( 0 == aida ) {
return 0 ; }
68 Gaudi::HistogramBase* base =
dynamic_cast<Gaudi::HistogramBase*
> ( aida ) ;
69 if ( 0 == base ) {
return 0 ; }
70 return dynamic_cast<TH2D*
>( base->representation() ) ;
77 if ( 0 == aida ) {
return 0 ; }
78 Gaudi::HistogramBase* base =
dynamic_cast<Gaudi::HistogramBase*
> ( aida ) ;
79 if ( 0 == base ) {
return 0 ; }
80 return dynamic_cast<TH3D*
>( base->representation() ) ;
87 if ( 0 == aida ) {
return 0 ; }
88 Gaudi::HistogramBase* base =
dynamic_cast<Gaudi::HistogramBase*
> ( aida ) ;
89 if ( 0 == base ) {
return 0 ; }
90 return dynamic_cast<TProfile*
>( base->representation() ) ;
97 if ( 0 == aida ) {
return 0 ; }
98 Gaudi::HistogramBase* base =
dynamic_cast<Gaudi::HistogramBase*
> ( aida ) ;
99 if ( 0 == base ) {
return 0 ; }
100 return dynamic_cast<TProfile2D*
>( base->representation() ) ;
107 if ( 0 == aida ) {
return 0 ; }
108 Gaudi::HistogramBase* base =
dynamic_cast<Gaudi::HistogramBase*
> ( aida ) ;
109 if ( 0 == base ) {
return 0 ; }
110 return base->representation() ;