]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSClusterizer.h
Getting rid of trivial warnings.
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSClusterizer.h
CommitLineData
ab38011b 1/**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
4 * *
1804b020 5 * Primary Authors: Oystein Djuvsland *
ab38011b 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 **************************************************************************/
2ef3c547 15
91b95d47 16#ifndef ALIHLTPHOSCLUSTERIZER_H
17#define ALIHLTPHOSCLUSTERIZER_H
aac22523 18
9cc0deb1 19#include "AliHLTPHOSBase.h"
9cc0deb1 20#include "AliPHOSGetter.h"
ab38011b 21
1804b020 22#include "AliHLTPHOSRecPointContainerStruct.h"
23#include "AliHLTPHOSRecPointDataStruct.h"
24#include "AliHLTPHOSDigitContainerDataStruct.h"
25#include "AliHLTPHOSDigitDataStruct.h"
ab38011b 26
1804b020 27#include "AliPHOSGeometry.h"
ab38011b 28
29class TClonesArray;
30class AliPHOSDigit;
31class AliPHOSRecoParamEmc;
2ef3c547 32
9cc0deb1 33class AliHLTPHOSClusterizer : public AliHLTPHOSBase
aac22523 34{
35
9cc0deb1 36public:
37
38 AliHLTPHOSClusterizer();
aac22523 39
aac22523 40 virtual ~AliHLTPHOSClusterizer();
aac22523 41
9cc0deb1 42 AliHLTPHOSClusterizer(const AliHLTPHOSClusterizer &);
43 AliHLTPHOSClusterizer & operator = (const AliHLTPHOSClusterizer &) {return *this;}
44
45 void SetRecPointContainer(AliHLTPHOSRecPointContainerStruct *RecPointContainerPtr)
46 { fRecPointContainerPtr = RecPointContainerPtr; }
47
ab38011b 48 void SetRecoParameters(AliPHOSRecoParamEmc* recoPars);
9cc0deb1 49
50 void SetEmcClusteringThreshold(Float_t threshold) { fEmcClusteringThreshold = threshold; }
51 void SetEmcMinEnergyThreshold(Float_t threshold) { fEmcMinEnergyThreshold = threshold; }
52 void SetEmcTimeGate(Float_t gate) { fEmcTimeGate = gate; }
53 void SetLogWeight(Float_t weight) { fLogWeight = weight; }
54
ab38011b 55 void SetOfflineMode(AliPHOSGetter* getter);
9cc0deb1 56
57 virtual Int_t ClusterizeEvent();
ab38011b 58 virtual Int_t GetEvent(Int_t evtNr);
aac22523 59
9cc0deb1 60 Int_t GetNEvents();
aac22523 61
ab38011b 62 virtual void ScanForNeighbourDigits(Int_t digIndex, AliHLTPHOSRecPointDataStruct* recPoint);
63 virtual Int_t AreNeighbours(AliHLTPHOSDigitDataStruct* d1, AliHLTPHOSDigitDataStruct* d2);
9cc0deb1 64 virtual void CalculateCenterOfGravity();
65
66private:
aac22523 67
ab38011b 68 Float_t fEmcClusteringThreshold; //comment
69 Float_t fEmcMinEnergyThreshold; //comment
70 Float_t fEmcTimeGate; //comment
71 Float_t fLogWeight; //comment
72 Int_t fDigitsInCluster; //comment
aac22523 73
ab38011b 74 Bool_t fOnlineMode; //comment
75
76 TClonesArray *fDigitArrayPtr; //comment
77 TObjArray *fEmcRecPointsPtr; //comment
78 AliPHOSDigit *fDigitPtr; //comment
aac22523 79
ab38011b 80 AliHLTPHOSDigitContainerDataStruct *fDigitContainerPtr; //comment
81 AliHLTPHOSRecPointContainerStruct *fRecPointContainerPtr; //comment
82 AliPHOSGeometry *fPHOSGeometry; //comment
9cc0deb1 83
ab38011b 84 AliPHOSGetter *fGetterPtr; //comment
9cc0deb1 85
aac22523 86 ClassDef(AliHLTPHOSClusterizer, 1);
87};
88
89#endif