/*
$Log$
+Revision 1.4 2001/11/19 08:44:08 cblume
+Fix bugs reported by Rene
+
Revision 1.3 2001/11/14 10:50:46 cblume
Changes in digits IO. Add merging of summable digits
printf("AliTRDpid::ReadCluster -- ");
printf("Open file %s\n",name);
- AliTRDtracker *tracker = new AliTRDtracker("dummy","dummy");
+ AliTRDtracker *tracker = new AliTRDtracker();
tracker->ReadClusters(fClusterArray,name);
if (!fClusterArray) {
}
// Loop through all clusters associated to this track
- Int_t nCluster = t->GetNclusters();
+ Int_t nCluster = t->GetNumberOfClusters();
for (Int_t iCluster = 0; iCluster < nCluster; iCluster++) {
// Get a cluster
}
// Get the first two MC track indices
- Int_t track0 = cluster->GetTrackIndex(0);
- Int_t track1 = cluster->GetTrackIndex(1);
+ Int_t track0 = cluster->GetLabel(0);
+ Int_t track1 = cluster->GetLabel(1);
// Check on the track index to find the right primaries
if ((track0 > fPIDindexMin) &&
}
// Loop through all clusters associated to this track
- Int_t nCluster = t->GetNclusters();
+ Int_t nCluster = t->GetNumberOfClusters();
for (iCluster = 0; iCluster < nCluster; iCluster++) {
// Get a cluster
// Get the MC track indices
for (iTrack = 0; iTrack < kNtrack; iTrack++) {
- Int_t trackIndex = cluster->GetTrackIndex(iTrack);
+ Int_t trackIndex = cluster->GetLabel(iTrack);
if (trackIndex >= 0) {
particle = gAlice->Particle(trackIndex);
Int_t pdgCode = particle->GetPdgCode();
}
// Loop through all clusters associated to this track
- Int_t nClus = t->GetNclusters();
+ Int_t nClus = t->GetNumberOfClusters();
for (Int_t iClus = 0; iClus < nClus; iClus++) {
// Get a cluster