/*
$Log$
+Revision 1.10 2002/06/12 09:54:35 cblume
+Update of tracking code provided by Sergei
+
Revision 1.8 2001/05/30 12:17:47 hristov
Loop variables declared once
//Energy losses************************
if (x1 < x2) d=-d;
Double_t dE=0.153e-3/beta2*(log(5940*beta2/(1-beta2)) - beta2)*d*rho;
- SetLength(GetLength()+d);
+ //PH SetLength(GetLength()+d);
cc = fC;
fC*=(1.- sqrt(p2+pm*pm)/p2*dE);
/*
$Log$
+Revision 1.16 2002/06/12 09:54:36 cblume
+Update of tracking code provided by Sergei
+
Revision 1.14 2001/11/14 10:50:46 cblume
Changes in digits IO. Add merging of summable digits
//__________________________________________________________________
-void AliTRDtracker::UseClusters(const AliKalmanTrack* t, Int_t from = 0) const {
+void AliTRDtracker::UseClusters(const AliKalmanTrack* t, Int_t from) const {
Int_t ncl=t->GetNumberOfClusters();
for (Int_t i=from; i<ncl; i++) {
Int_t index = t->GetClusterIndex(i);
fYmax = 0;
if(fTimeBinIndex >= 0) {
- fClusters = new (AliTRDcluster*)[kMAX_CLUSTER_PER_TIME_BIN];
- fIndex = new (UInt_t)[kMAX_CLUSTER_PER_TIME_BIN];
+ fClusters = new AliTRDcluster*[kMAX_CLUSTER_PER_TIME_BIN];
+ fIndex = new UInt_t[kMAX_CLUSTER_PER_TIME_BIN];
}
fHole = kFALSE;
Int_t tb, tb_index;
const Int_t nChambers = AliTRDgeometry::Ncham();
- Double_t Ymax = 0, holeYmax = 0, Zc[nChambers], Zmax[nChambers];
+ Double_t Ymax = 0, holeYmax = 0;
+ Double_t * Zc = new Double_t[nChambers];
+ Double_t * Zmax = new Double_t[nChambers];
Double_t holeZmax = 1000.; // the whole sector is missing
}
MapTimeBinLayers();
+ delete [] Zc;
+ delete [] Zmax;
}