]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/global/physics/AliHLTCaloHistoMatchedTracks.h
- adding option to cut energy in the central crystal
[u/mrichter/AliRoot.git] / HLT / global / physics / AliHLTCaloHistoMatchedTracks.h
CommitLineData
766aafea 1//-*- Mode: C++ -*-
2 /**************************************************************************
844d7fdd 3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
5 * *
766aafea 6 * Primary Authors: Svein Lindal *
844d7fdd 7 * *
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 **************************************************************************/
16
766aafea 17#ifndef ALIHLTCALOHISTOMATCHEDTRACKS_H
18#define ALIHLTCALOHISTOMATCHEDTRACKS_H
844d7fdd 19
20/**
766aafea 21 * @file AliHLTCaloHistoMatchedTracks
844d7fdd 22 * @author Albin Gaignette and Svein Lindal slindal@fys.uio.no
23 * @date
24 * @brief Produces Invariant mass histograms of PHOS clusters
25 */
26
27// see header file for class documentation
28// or
29// refer to README to build package
30// or
31// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
32
844d7fdd 33
34#include "Rtypes.h"
ce063697 35#include "AliHLTCaloHistoProducer.h"
844d7fdd 36
766aafea 37class TRefArray;
844d7fdd 38class TObjArray;
39class TH1F;
7b5c97a1 40class TH2F;
844d7fdd 41
42/**
766aafea 43 * @class AliHLTCaloHistoMatchedTracks
844d7fdd 44 *
45 * Class produces physics histograms for PHOS. It takes a TClonesArray
46 * of AliESDCalocluster as input and fills several histograms
47 *
844d7fdd 48 * @ingroup alihlt_phos
49 */
50
51
52
ce063697 53class AliHLTCaloHistoMatchedTracks : public AliHLTCaloHistoProducer {
766aafea 54
844d7fdd 55 public:
56
57 /** Constructor */
766aafea 58 AliHLTCaloHistoMatchedTracks(TString det);
844d7fdd 59
60 /** Destructor */
766aafea 61 virtual ~AliHLTCaloHistoMatchedTracks();
844d7fdd 62
766aafea 63 /** Loop over cluster data and fill histograms */
ce063697 64 Int_t FillHistograms(Int_t nc, TRefArray * clusterArray);
65 Int_t FillHistograms(Int_t nc, vector<AliHLTCaloClusterDataStruct*> &cVec);
844d7fdd 66
ce063697 67 /** Do the actual histogram filling, regardless of clustertype */
68 template <class T>
69 Int_t FillMatchedTracks(T*);
844d7fdd 70
71 private:
766aafea 72
73 /** Default constructor prohibited */
74 AliHLTCaloHistoMatchedTracks();
75
76 /** Copy constructor prohibited*/
77 AliHLTCaloHistoMatchedTracks(const AliHLTCaloHistoMatchedTracks &);
78
79 /** Assignment operator */
80 AliHLTCaloHistoMatchedTracks & operator= (const AliHLTCaloHistoMatchedTracks);
844d7fdd 81
7b5c97a1 82 /** Histograms of the track - cluster residuals */
766aafea 83 TH1F *fHistMatchDistance; //!transient
1a530a79 84 TH2F *fHistDxyDz; //!transient
844d7fdd 85
766aafea 86 /** Histograms of the energy distribution of mached and unmatched clusters */
844d7fdd 87 TH1F *fHistMatchedEnergy; //!transient
766aafea 88 TH1F *fHistUnMatchedEnergy; //!transient
7b5c97a1 89
90
844d7fdd 91
ce063697 92 ClassDef(AliHLTCaloHistoMatchedTracks, 0);
844d7fdd 93
94};
95
96#endif