]>
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 |
ce063697 | 21 | * @author Svein Lindal slindal@fys.uio.no |
844d7fdd | 22 | * @date |
ce063697 | 23 | * @brief Produces histograms of cluster energy distributions |
844d7fdd | 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 | ||
ce063697 | 34 | #include "AliHLTCaloHistoProducer.h" |
844d7fdd | 35 | #include "Rtypes.h" |
ce063697 | 36 | //class TObjArray; |
844d7fdd | 37 | class TH1F; |
766aafea | 38 | class TH2F; |
ce063697 | 39 | //class AliESDEvent; |
40 | //class TRefArray; | |
766aafea | 41 | class TString; |
76802e0f | 42 | |
43 | ||
ce063697 | 44 | |
844d7fdd | 45 | /** |
766aafea | 46 | * @class AliHLTCaloHistoClusterEnergy |
844d7fdd | 47 | * |
48 | * Class produces physics histograms for PHOS. It takes a TClonesArray | |
49 | * of AliESDCalocluster as input and fills several histograms | |
50 | * | |
ce063697 | 51 | * |
52 | * | |
844d7fdd | 53 | * |
844d7fdd | 54 | * @ingroup alihlt_phos |
55 | */ | |
56 | ||
ce063697 | 57 | class AliHLTCaloHistoClusterEnergy : public AliHLTCaloHistoProducer { |
766aafea | 58 | |
87b87810 | 59 | public: |
76802e0f | 60 | |
844d7fdd | 61 | /** Constructor */ |
766aafea | 62 | AliHLTCaloHistoClusterEnergy(TString det); |
63 | ||
844d7fdd | 64 | /** Destructor */ |
766aafea | 65 | virtual ~AliHLTCaloHistoClusterEnergy(); |
66 | ||
67 | /** Analyse the clusters in the event and fill histograms */ | |
ce063697 | 68 | Int_t FillHistograms(Int_t nc, TRefArray * clusterArray ); |
69 | Int_t FillHistograms(Int_t nc, vector<AliHLTCaloClusterDataStruct*> &cVec); | |
844d7fdd | 70 | |
7b5c97a1 | 71 | template <class T> |
72 | Int_t FillClusterEnergyHistos(T*); | |
73 | ||
844d7fdd | 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 */ |
ce063697 | 89 | TH2F * fHistClusterEnergyVsNCells; //!transient |
844d7fdd | 90 | |
f00fcfff | 91 | /** 2D histogram of cluster energy deposit in eta vs phi */ |
92 | TH2F * fHistClusterEnergyDepositEtaPhi; //!transient | |
93 | ||
ce063697 | 94 | ClassDef(AliHLTCaloHistoClusterEnergy, 0); |
844d7fdd | 95 | |
96 | }; | |
97 | ||
98 | #endif |