class TFile;
class TTree;
class AliRunLoader;
-class AliTRDparameter;
class AliTRD;
-
+class AliTRDcluster;
///////////////////////////////////////////////////////
// Finds and handles cluster //
///////////////////////////////////////////////////////
virtual Bool_t OpenOutput();
virtual Bool_t MakeClusters() = 0;
virtual Bool_t WriteClusters(Int_t det);
- virtual void SetParameter(AliTRDparameter *par) { fPar = par; };
void SetVerbose(Int_t v = 1) { fVerbose = v; };
- AliTRDparameter *GetParameter() const { return fPar; };
-
TObjArray* RecPoints() {if (!fRecPoints) fRecPoints = new TObjArray(400); return fRecPoints;}
- virtual void AddCluster(Double_t *pos, Int_t det, Double_t amp, Int_t *tracks
- , Double_t *sig, Int_t iType);
+ virtual AliTRDcluster * AddCluster(Double_t *pos, Int_t timebin, Int_t det, Double_t amp, Int_t *tracks
+ , Double_t *sig, Int_t iType, Float_t center = 0);
void ResetRecPoints() {if (fRecPoints) fRecPoints->Delete();}
-
protected:
+ Double_t CalcXposFromTimebin(Float_t timebin, Int_t idet, Int_t col, Int_t row);
+
AliRunLoader *fRunLoader; //! Run Loader
TTree *fClusterTree; //! Tree with the cluster
- AliTRDparameter *fPar; // TRD digitization parameter object
TObjArray* fRecPoints; //! Array of clusters
Int_t fVerbose; // Sets the verbose level