]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/global/physics/AliHLTCaloHistoCellEnergy.h
changed logging levels of calo histo producer init
[u/mrichter/AliRoot.git] / HLT / global / physics / AliHLTCaloHistoCellEnergy.h
1 /**************************************************************************
2  * This file is property of and copyright by the ALICE HLT Project        * 
3  * All rights reserved.                                                   *
4  *                                                                        *
5  * Primary Authors: Albin Gaignette                                       *
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 ALIHLTCALOHISTOCELLENERGY
17 #define ALIHLTCALOHISTOCELLENERGY
18
19 /** 
20  * @file   AliHLTCaloHistoCellEnergy
21  * @author Svein Lindal <slindal@fys.uio.no>
22  * @date 
23  * @brief  Produces Invariant mass histograms of PHOS clusters
24  */
25
26 // see header file for class documentation
27 // or
28 // refer to README to build package
29 // or
30 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
31
32 //#include "AliHLTPHOSBase.h"
33
34 #include "Rtypes.h"
35
36 class TObjArray;
37 class TH1F;
38 class TH2F;
39 class TRefArray;
40 class TString;
41
42
43 /** 
44  * @class AliHLTCaloHistoCellEnergy
45  *
46  * Class produces physics histograms for PHOS. It takes a TClonesArray
47  * of AliESDCalocluster as input and fills several histograms
48  *
49  * Histograms (1D):
50  *  * - Invariant mass of two clusters
51  * 
52  * @ingroup alihlt_phos
53  */
54
55
56
57
58
59 class AliHLTCaloHistoCellEnergy 
60 {
61  public:
62   
63   /** Constructor */
64   AliHLTCaloHistoCellEnergy(TString det);
65
66   /** Destructor */
67   virtual ~AliHLTCaloHistoCellEnergy();
68
69   /** Analyse the clusters in the event */
70   Int_t FillHistograms(Int_t nc, TRefArray * clustersArray);
71   
72   /** Get a pointer to the TObjArray of histograms */
73   TObjArray *GetHistograms();
74
75   
76   
77  private:
78   
79   /** Default constructor prohibited */
80   AliHLTCaloHistoCellEnergy();
81
82   /** Copy constructor prohibited*/
83   AliHLTCaloHistoCellEnergy(const AliHLTCaloHistoCellEnergy &);
84
85   /** Assignment operator prohibited*/
86   AliHLTCaloHistoCellEnergy & operator= (const AliHLTCaloHistoCellEnergy);
87
88   /** Histogram of the 2 cluster invariant mass */
89   TH1F *fHistCellEnergy;                 //!transient
90
91   /** 2D histogram of cluster energy vs the number of cells in the cluster */
92   TH2F *fHistCellEnergyVsNCells;
93   
94   /** Pointer to the array of histograms */
95   TObjArray *fHistArrayPtr;                     //!transient
96
97   ClassDef(AliHLTCaloHistoCellEnergy, 1);
98
99 };
100  
101 #endif