-
- class AliTRDpropagationLayer {
-
- public:
-
- AliTRDpropagationLayer(Double_t x, Double_t dx, Double_t rho
- , Double_t x0, Int_t tbIndex, Int_t plane);
- AliTRDpropagationLayer(const AliTRDpropagationLayer &/*p*/);
- ~AliTRDpropagationLayer() {
- if (fTimeBinIndex >= 0) {
- delete[] fClusters;
- delete[] fIndex;
- }
- }
- AliTRDpropagationLayer &operator=(const AliTRDpropagationLayer &/*p*/)
- {return *this;}
-
- operator Int_t() const {return fN;}
- AliTRDcluster *operator[](Int_t i) {return fClusters[i];}
-
- void SetZmax(Int_t cham, Double_t center, Double_t w) {
- fZc[cham] = center;
- fZmax[cham] = w;
- }
- void SetYmax(Double_t w, Double_t wsensitive) {
- fYmax = w;
- fYmaxSensitive = wsensitive;
- }
-
- void SetZ(Double_t* center, Double_t *w, Double_t *wsensitive);
- void SetHoles(Bool_t* holes);
- void SetHole(Double_t Zmax, Double_t Ymax
- , Double_t rho = 1.29e-3, Double_t x0 = 36.66
- , Double_t Yc = 0.0, Double_t Zc = 0.0);
-
- Double_t GetYmax() const { return fYmax; }
- Double_t GetZmax(Int_t c) const { return fZmax[c]; }
- Double_t GetZc(Int_t c) const { return fZc[c]; }
- UInt_t GetIndex(Int_t i) const { return fIndex[i]; }
- Double_t GetX() const { return fX; }
- Double_t GetdX() const { return fdX; }
- Int_t GetTimeBinIndex() const { return fTimeBinIndex; }
- Int_t GetPlane() const { return fPlane; }
- Bool_t IsHole(Int_t zone) const { return fIsHole[zone]; }
- Bool_t IsSensitive() const { return (fTimeBinIndex >= 0)? kTRUE : kFALSE;}
-
- void Clear() {
- for (Int_t i = 0; i < fN; i++) fClusters[i] = NULL;
- fN = 0;
- }
-
- void InsertCluster(AliTRDcluster *c, UInt_t index);
- Int_t Find(Float_t y) const;
- Int_t FindNearestCluster(Float_t y, Float_t z, Float_t maxroad, Float_t maxroadz) const;
-
- void SetX(Double_t x) {fX = x;}