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 ALIHLTPHOSHISTOPRODINVMASS_H
17 #define ALIHLTPHOSHISTOPRODINVMASS_H
20 * @file AliHLTPHOSHistoProdInvMass
21 * @author Albin Gaignette and 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"
35 #include "AliHLTPHOSConstants.h"
39 class AliHLTCaloClusterReader;
40 struct AliHLTCaloClusterHeaderStruct;
43 using namespace PhosHLTConst;
47 * @class AliHLTPHOSHistoProdInvMass
49 * Class produces physics histograms for PHOS. It takes a TClonesArray
50 * of AliESDCalocluster as input and fills several histograms
53 * * - Invariant mass of two clusters
55 * @ingroup alihlt_phos
58 class AliHLTPHOSHistoProdInvMass
64 AliHLTPHOSHistoProdInvMass();
67 virtual ~AliHLTPHOSHistoProdInvMass();
69 /** Copy constructor */
70 AliHLTPHOSHistoProdInvMass(const AliHLTPHOSHistoProdInvMass &) :
72 fHistTwoClusterInvMass(NULL),
75 // Copy constructor not implemented
78 /** Assignment operator */
79 AliHLTPHOSHistoProdInvMass & operator= (const AliHLTPHOSHistoProdInvMass)
85 /** Analyse the clusters in the event */
86 int DoEvent(AliHLTCaloClusterHeaderStruct* cHeader);
88 /** Get a pointer to the TObjArray of histograms */
89 TObjArray *GetHistograms();
95 /** Cluster reader class */
96 AliHLTCaloClusterReader * fClusterReader;
98 /** Histogram of the 2 cluster invariant mass */
99 TH1F *fHistTwoClusterInvMass; //!transient
101 /** Pointer to the array of histograms */
102 TObjArray *fHistArrayPtr; //!transient
104 ClassDef(AliHLTPHOSHistoProdInvMass, 0);