2 /**************************************************************************
3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
6 * Primary Authors: Svein Lindal *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 **************************************************************************/
17 #ifndef ALIHLTCALOHISTOMATCHEDTRACKS_H
18 #define ALIHLTCALOHISTOMATCHEDTRACKS_H
21 * @file AliHLTCaloHistoMatchedTracks
22 * @author Albin Gaignette and Svein Lindal slindal@fys.uio.no
24 * @brief Produces Invariant mass histograms of PHOS clusters
27 // see header file for class documentation
29 // refer to README to build package
31 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
35 #include "AliHLTCaloHistoProducer.h"
43 * @class AliHLTCaloHistoMatchedTracks
45 * Class produces physics histograms for PHOS. It takes a TClonesArray
46 * of AliESDCalocluster as input and fills several histograms
48 * @ingroup alihlt_phos
53 class AliHLTCaloHistoMatchedTracks : public AliHLTCaloHistoProducer {
58 AliHLTCaloHistoMatchedTracks(TString det);
61 virtual ~AliHLTCaloHistoMatchedTracks();
63 /** Loop over cluster data and fill histograms */
64 Int_t FillHistograms(Int_t nc, TRefArray * clusterArray);
65 Int_t FillHistograms(Int_t nc, vector<AliHLTCaloClusterDataStruct*> &cVec);
67 /** Do the actual histogram filling, regardless of clustertype */
69 Int_t FillMatchedTracks(T*);
73 /** Default constructor prohibited */
74 AliHLTCaloHistoMatchedTracks();
76 /** Copy constructor prohibited*/
77 AliHLTCaloHistoMatchedTracks(const AliHLTCaloHistoMatchedTracks &);
79 /** Assignment operator */
80 AliHLTCaloHistoMatchedTracks & operator= (const AliHLTCaloHistoMatchedTracks);
82 /** Histograms of the track - cluster residuals */
83 TH1F *fHistDxy; //!transient
84 TH1F *fHistDz; //!transient
85 TH2F *fHistDxyDz; //!transient
87 /** Histograms of the energy distribution of mached and unmatched clusters */
88 TH1F *fHistMatchedEnergy; //!transient
89 TH1F *fHistUnMatchedEnergy; //!transient
93 ClassDef(AliHLTCaloHistoMatchedTracks, 0);