Parent Directory | Revision Log
Bug in template specialization fixed.
1 | pam-fi | 1.1 | /* |
2 | * Histo1DAction.cpp | ||
3 | * | ||
4 | * Created on: 25/ago/2009 | ||
5 | * Author: Nicola Mori | ||
6 | */ | ||
7 | |||
8 | /*! @file Histo1DAction.cpp The Histo1DAction class implementation file. */ | ||
9 | |||
10 | #include "Histo1DAction.h" | ||
11 | |||
12 | template<> | ||
13 | void Histo1DAction<Int_t>::_CreateHisto() { | ||
14 | |||
15 | _rootHisto = new TH1I(); | ||
16 | } | ||
17 | |||
18 | template<> | ||
19 | void Histo1DAction<Float_t>::_CreateHisto() { | ||
20 | |||
21 | _rootHisto = new TH1F(); | ||
22 | } | ||
23 | |||
24 | template<> | ||
25 | void Histo1DAction<Double_t>::_CreateHisto() { | ||
26 | |||
27 | _rootHisto = new TH1D(); | ||
28 | } |
ViewVC Help | |
Powered by ViewVC 1.1.23 |