//_____________________________________________________________________________
void AliTRDclusterizer::AddCluster(Double_t *pos, Int_t det, Double_t amp
- , Int_t *tracks, Double_t *sig, Int_t iType)
+ , Int_t *tracks, Double_t *sig, Int_t iType, Float_t center)
{
//
// Add a cluster for the TRD
c->SetSigmaY2(sig[0]);
c->SetSigmaZ2(sig[1]);
c->SetLocalTimeBin(((Int_t) pos[2]));
-
+ c->SetCenter(center);
switch (iType) {
case 0:
c->Set2pad();
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);
+ , Double_t *sig, Int_t iType, Float_t center = 0);
void ResetRecPoints() {if (fRecPoints) fRecPoints->Delete();}