]>
Commit | Line | Data |
---|---|---|
844d7fdd | 1 | /************************************************************************** |
2 | * This file is property of and copyright by the ALICE HLT Project * | |
3 | * All rights reserved. * | |
4 | * * | |
766aafea | 5 | * Primary Authors: Svein Lindal * |
844d7fdd | 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 | ||
766aafea | 16 | #ifndef ALIHLTCALOHISTOCLUSTERENERGY |
17 | #define ALIHLTCALOHISTOCLUSTERENERGY | |
844d7fdd | 18 | |
19 | /** | |
766aafea | 20 | * @file AliHLTCaloHistoClusterEnergy |
844d7fdd | 21 | * @author Albin Gaignette and 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" | |
844d7fdd | 35 | |
844d7fdd | 36 | class TObjArray; |
37 | class TH1F; | |
766aafea | 38 | class TH2F; |
39 | class AliESDEvent; | |
40 | class TRefArray; | |
41 | class TString; | |
76802e0f | 42 | |
43 | ||
844d7fdd | 44 | /** |
766aafea | 45 | * @class AliHLTCaloHistoClusterEnergy |
844d7fdd | 46 | * |
47 | * Class produces physics histograms for PHOS. It takes a TClonesArray | |
48 | * of AliESDCalocluster as input and fills several histograms | |
49 | * | |
50 | * Histograms (1D): | |
76802e0f | 51 | * * - Invariant mass of two clusters |
844d7fdd | 52 | * |
844d7fdd | 53 | * @ingroup alihlt_phos |
54 | */ | |
55 | ||
766aafea | 56 | class AliHLTCaloHistoClusterEnergy { |
57 | ||
87b87810 | 58 | public: |
76802e0f | 59 | |
844d7fdd | 60 | /** Constructor */ |
766aafea | 61 | AliHLTCaloHistoClusterEnergy(TString det); |
62 | ||
844d7fdd | 63 | /** Destructor */ |
766aafea | 64 | virtual ~AliHLTCaloHistoClusterEnergy(); |
65 | ||
66 | /** Analyse the clusters in the event and fill histograms */ | |
67 | Int_t FillHistograms(Int_t nc, TRefArray * clustersArray); | |
844d7fdd | 68 | |
69 | /** Get a pointer to the TObjArray of histograms */ | |
70 | TObjArray *GetHistograms(); | |
71 | ||
72 | ||
73 | ||
74 | private: | |
75 | ||
766aafea | 76 | /** Default constructor prohibited*/ |
77 | AliHLTCaloHistoClusterEnergy(); | |
78 | ||
79 | /** Copy constructor prohibited */ | |
80 | AliHLTCaloHistoClusterEnergy(const AliHLTCaloHistoClusterEnergy &); | |
81 | ||
82 | /** Assignment operator prohibited */ | |
83 | AliHLTCaloHistoClusterEnergy & operator= (const AliHLTCaloHistoClusterEnergy); | |
844d7fdd | 84 | |
85 | /** Histogram of the 2 cluster invariant mass */ | |
766aafea | 86 | TH1F * fHistClusterEnergy; //!transient |
844d7fdd | 87 | |
766aafea | 88 | /** 2D histogram of cluster energy vs the number of cells in the cluster */ |
89 | TH2F * fHistClusterEnergyVsNCells; | |
90 | ||
844d7fdd | 91 | /** Pointer to the array of histograms */ |
92 | TObjArray *fHistArrayPtr; //!transient | |
93 | ||
766aafea | 94 | ClassDef(AliHLTCaloHistoClusterEnergy, 1); |
844d7fdd | 95 | |
96 | }; | |
97 | ||
98 | #endif |