12 T * hspecific_1 =
dynamic_cast<T*
>(
h1);
13 T * hspecific_2 =
dynamic_cast<T*
>(h2);
14 if (!hspecific_1&&!hspecific_2)
16 if (!hspecific_1||!hspecific_2) {
17 REPORT(
"incompatible types");
20 return checkParameters<T>(hspecific_1,hspecific_2);
28 return checkCompat<TH1>(
h1,h2)
29 && checkCompat<TH1F>(
h1,h2)
30 && checkCompat<TH1D>(
h1,h2)
31 && checkCompat<TH1S>(
h1,h2)
32 && checkCompat<TH1I>(
h1,h2)
33 && checkCompat<TH1C>(
h1,h2)
34 && checkCompat<TH2>(
h1,h2)
35 && checkCompat<TH2F>(
h1,h2)
36 && checkCompat<TH2D>(
h1,h2)
37 && checkCompat<TH2S>(
h1,h2)
38 && checkCompat<TH2I>(
h1,h2)
39 && checkCompat<TH2C>(
h1,h2)
40 && checkCompat<TProfile>(
h1,h2)
41 && checkCompat<TProfile2D>(
h1,h2)