#include "AliMFTSegmentation.h"
#include "TTree.h"
#include "TMath.h"
+#include "AliMFTConstants.h"
//====================================================================================================================================================
AliMFTClusterFinder();
~AliMFTClusterFinder();
- void Init(const Char_t *nameGeomFile);
+ void Init(Char_t *nameGeomFile);
void MakeClusterBranch(TTree *treeCluster);
void SetClusterTreeAddress(TTree *treeCluster);
void DigitsToClusters(const TObjArray *pDigitList);
void StartEvent();
- void BuildNewCluster(Int_t plane);
- Bool_t IsCurrentDigitCompatible();
private:
- static const Int_t fNMaxDigitsPerCluster = 10;
- static const Int_t fNMaxPlanes = 20;
+ static const Int_t fNMaxDigitsPerCluster = AliMFTConstants::fNMaxDigitsPerCluster;
+ static const Int_t fNMaxPlanes = AliMFTConstants::fNMaxPlanes;
+ static const Double_t fCutForAvailableDigits;
+ static const Double_t fCutForAttachingDigits;
TClonesArray *fClustersPerPlane[fNMaxPlanes]; // ![fNPlanes] list of clusters [per plane]
TClonesArray *fDigitsInCluster;
- AliMFTDigit *fCurrentDig;
+ AliMFTDigit *fCurrentDigit;
+ AliMFTCluster *fCurrentCluster;
AliMFTSegmentation *fSegmentation;