/[PAMELA software]/PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.cpp
ViewVC logotype

Contents of /PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 29 17:49:07 2009 UTC (15 years, 1 month ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +0 -29 lines
Bug in template specialization fixed.

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