Int_t nmodules = (Int_t) branch->GetEntries();
AliDebug(1,Form("Number of modules filled in treeR = %d",nmodules));
Int_t nmodules = (Int_t) branch->GetEntries();
AliDebug(1,Form("Number of modules filled in treeR = %d",nmodules));
for(Int_t ient = 0; ient < nentries+1; ient++)
{
fPMDrecpoint = (AliPMDrecpoint1*)fRecpoints->UncheckedAt(ient);
for(Int_t ient = 0; ient < nentries+1; ient++)
{
fPMDrecpoint = (AliPMDrecpoint1*)fRecpoints->UncheckedAt(ient);
clusdata[3] = fPMDrecpoint->GetClusCells();
clusdata[4] = fPMDrecpoint->GetClusSigmaX();
clusdata[5] = fPMDrecpoint->GetClusSigmaY();
clusdata[3] = fPMDrecpoint->GetClusCells();
clusdata[4] = fPMDrecpoint->GetClusSigmaX();
clusdata[5] = fPMDrecpoint->GetClusSigmaY();
itra = new Int_t[nenbr1];
ipid = new Int_t[nenbr1];
cadc = new Float_t[nenbr1];
itra = new Int_t[nenbr1];
ipid = new Int_t[nenbr1];
cadc = new Float_t[nenbr1];
- AssignTrPidToCluster(nenbr1, itra, ipid, cadc,
- trackno, trackpid);
+ if (idet == 0)
+ {
+ AssignTrPidToCluster(nenbr1, itra, ipid, cadc,
+ trackno, trackpid);
+ }
+ else if (idet == 1)
+ {
+ trackno = itra[0];
+ trackpid = ipid[0];
+ }
trenergy = new Int_t [ngtrack];
sortcoord = new Int_t [ngtrack];
for (Int_t i = 0; i < ngtrack; i++)
trenergy = new Int_t [ngtrack];
sortcoord = new Int_t [ngtrack];
for (Int_t i = 0; i < ngtrack; i++)
Bool_t jsort = true;
TMath::Sort(ngtrack,trenergy,sortcoord,jsort);
Bool_t jsort = true;
TMath::Sort(ngtrack,trenergy,sortcoord,jsort);
}
//--------------------------------------------------------------------//
void AliPMDtracker::SetVertex(Double_t vtx[3], Double_t evtx[3])
}
//--------------------------------------------------------------------//
void AliPMDtracker::SetVertex(Double_t vtx[3], Double_t evtx[3])