+ if(!cosmics) {
+ AliDebug(1,"Tracklets multiplicity not determined because the primary vertex was not found");
+ AliDebug(1,"Just counting the number of cluster-fired chips on the SPD layers");
+ }
+ if (!itsClusterTree) {
+ AliError(" Invalid ITS cluster tree !\n");
+ return;
+ }
+ multReco.LoadClusterFiredChips(itsClusterTree);
+ Short_t nfcL1 = multReco.GetNFiredChips(0);
+ Short_t nfcL2 = multReco.GetNFiredChips(1);
+ fMult = new AliMultiplicity(0,0,0,0,0,0,0,0,0,0,0,nfcL1,nfcL2,fastOrFiredMap);
+ fMult->SetFiredChipMap(firedChipMap);
+ AliITSRecPointContainer* rcont = AliITSRecPointContainer::Instance();
+ fMult->SetITSClusters(0,rcont->GetNClustersInLayer(1,itsClusterTree));
+ for(Int_t kk=2;kk<=6;kk++){
+ fMult->SetITSClusters(kk-1,rcont->GetNClustersInLayerFast(kk));
+ }