Porting HLT doxygen documentation to cmake
[u/mrichter/AliRoot.git] / HLT / global / physics / AliHLTCaloHistoProducer.cxx
CommitLineData
ce063697 1//-*- Mode: C++ -*-
2/**************************************************************************
3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
5 * *
6 * Primary Authors: Svein Lindal *
7 * *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 **************************************************************************/
16
17/**
ebf7a8e8 18 * @file AliHLTCaloHistoProducer.cxx
ce063697 19 * @author Svein Lindal <slindal@fys.uio.no>
20 * @date
21 * @brief Base class for Calo Physics histogram producers
22 */
23
24// see header file for class documentation
25// or
26// refer to README to build package
27// or
28// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
29
30#include "AliHLTCaloHistoProducer.h"
31#include "TObjArray.h"
32#include "AliHLTCaloClusterReader.h"
33
34AliHLTCaloHistoProducer::AliHLTCaloHistoProducer() :
35 TObject(),
36 AliHLTLogging(),
37 fClusterReader(NULL),
38 fHistArray(NULL)
39{
40 // See header file for documentation
41 fHistArray = new TObjArray;
42 fClusterReader = new AliHLTCaloClusterReader();
43}
44
45AliHLTCaloHistoProducer::~AliHLTCaloHistoProducer()
46{
47 //destructor
48 if(fClusterReader)
49 delete fClusterReader;
50 fClusterReader = NULL;
51
52 if(fHistArray)
53 delete fHistArray;
54 fHistArray = NULL;
55
56}
57
58TObjArray* AliHLTCaloHistoProducer::GetHistograms()
59{
60 // See header file for documentation
61 return fHistArray;
62}