]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSHistogramProducer.h
removing the HLT autoconf build system, however keep on using that for the
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSHistogramProducer.h
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
19 #include "Rtypes.h"
20
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
37 //#include "AliHLTPHOSBase.h"
38
39 class TH1D;
40 class TNtuple;
41 class AliHLTPHOSCaloClusterContainerStruct;
42
43 /** 
44  * @class AliHLTPHOSHistogramProducer
45  *
46  * @ingroup alihlt_phos
47  */
48 //class AliHLTPHOSHistogramProducer : public AliHLTPHOSBase
49 class AliHLTPHOSHistogramProducer 
50 {
51   
52 public:
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   
70 private:
71 AliHLTPHOSHistogramProducer(const AliHLTPHOSHistogramProducer  & );
72 AliHLTPHOSHistogramProducer  & operator = (const AliHLTPHOSHistogramProducer &);
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 };
84 #endif
85