]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSHistogramProducer.h
treatment of MC labels added
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSHistogramProducer.h
CommitLineData
9bf87c6f 1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
4 * *
5 * Primary Authors: Oystein Djuvsland *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16#ifndef ALIHLTPHOSHISTOGRAMPRODUCER_H
17#define ALIHLTPHOSHISTOGRAMPRODUCER_H
18
9f050726 19#include "Rtypes.h"
20
9bf87c6f 21
22/**
23 * Class does
24 *
25 * @file AliHLTPHOSHistogramProducer.h
26 * @author Oystein Djuvsland
27 * @date
28 * @brief
29 */
30
31// see header file for class documentation
32// or
33// refer to README to build package
34// or
35// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
36
9f050726 37//#include "AliHLTPHOSBase.h"
9bf87c6f 38
39class TH1D;
40class TNtuple;
41class AliHLTPHOSCaloClusterContainerStruct;
d8122453 42
9bf87c6f 43/**
44 * @class AliHLTPHOSHistogramProducer
45 *
46 * @ingroup alihlt_phos
47 */
9f050726 48//class AliHLTPHOSHistogramProducer : public AliHLTPHOSBase
49class AliHLTPHOSHistogramProducer
9bf87c6f 50{
51
52public:
53
54 AliHLTPHOSHistogramProducer();
55 ~AliHLTPHOSHistogramProducer();
56
57 Int_t Fill(AliHLTPHOSCaloClusterContainerStruct* clusterContainerPtr);
58
59 Int_t InitializeObjects();
60
61 TH1D* GetClusterEnergiesHistogram() { return fClusterEnergiesHistPtr; }
62 TH1D* GetMultiplicitiesHistogram() { return fMultiplicitiesHistPtr; }
63 TNtuple* GetClusterNtuple() { return fClusterNtuplePtr; }
64
65 void SetFillClusterEnergies(bool val) { fFillClusterEnergies = val; }
66 void SetFillMultiplicities(bool val) { fFillMultiplicities = val; }
67 void SetFillClusterNtuple(bool val) { fFillNtuple = val; }
68 void SetMaxNtupleEntries(Int_t n) { fMaxNtupleEntries = n; }
69
70private:
87434909 71AliHLTPHOSHistogramProducer(const AliHLTPHOSHistogramProducer & );
72AliHLTPHOSHistogramProducer & operator = (const AliHLTPHOSHistogramProducer &);
9bf87c6f 73 TH1D* fClusterEnergiesHistPtr;
74 TH1D* fMultiplicitiesHistPtr;
75 TNtuple* fClusterNtuplePtr;
76
77 bool fFillClusterEnergies;
78 bool fFillMultiplicities;
79 bool fFillNtuple;
80
81 Int_t fMaxNtupleEntries;
82
83};
9bf87c6f 84#endif
d8122453 85