1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
5 * Primary Authors: Albin Gaignette *
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 **************************************************************************/
16 #ifndef ALIHLTCALOHISTOCELLENERGY
17 #define ALIHLTCALOHISTOCELLENERGY
20 * @file AliHLTCaloHistoCellEnergy
21 * @author Svein Lindal <slindal@fys.uio.no>
23 * @brief Produces Invariant mass histograms of PHOS clusters
26 // see header file for class documentation
28 // refer to README to build package
30 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
32 //#include "AliHLTPHOSBase.h"
44 * @class AliHLTCaloHistoCellEnergy
46 * Class produces physics histograms for PHOS. It takes a TClonesArray
47 * of AliESDCalocluster as input and fills several histograms
50 * * - Invariant mass of two clusters
52 * @ingroup alihlt_phos
59 class AliHLTCaloHistoCellEnergy
64 AliHLTCaloHistoCellEnergy(TString det);
67 virtual ~AliHLTCaloHistoCellEnergy();
69 /** Analyse the clusters in the event */
70 Int_t FillHistograms(Int_t nc, TRefArray * clustersArray);
72 /** Get a pointer to the TObjArray of histograms */
73 TObjArray *GetHistograms();
79 /** Default constructor prohibited */
80 AliHLTCaloHistoCellEnergy();
82 /** Copy constructor prohibited*/
83 AliHLTCaloHistoCellEnergy(const AliHLTCaloHistoCellEnergy &);
85 /** Assignment operator prohibited*/
86 AliHLTCaloHistoCellEnergy & operator= (const AliHLTCaloHistoCellEnergy);
88 /** Histogram of the 2 cluster invariant mass */
89 TH1F *fHistCellEnergy; //!transient
91 /** 2D histogram of cluster energy vs the number of cells in the cluster */
92 TH2F *fHistCellEnergyVsNCells;
94 /** Pointer to the array of histograms */
95 TObjArray *fHistArrayPtr; //!transient
97 ClassDef(AliHLTCaloHistoCellEnergy, 1);