]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed storing size of singles -> track reference
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Aug 2010 13:44:30 +0000 (13:44 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Aug 2010 13:44:30 +0000 (13:44 +0000)
STEER/AliMultiplicity.cxx
STEER/AliMultiplicity.h

index 43c366b0d11e70b5c1b11dc9601bf4c907c98674..e9cd705dc389f48c4f9b59e4ece0d670932ac6f6 100644 (file)
@@ -347,7 +347,6 @@ void AliMultiplicity::SetTrackletData(Int_t id, const Float_t* tlet, UInt_t trSP
   fLabels[id]   = Int_t(tlet[4]);
   fLabelsL2[id] = Int_t(tlet[5]);
   fUsedClusT[id] = (((ULong64_t)trSPD2)<<32) + trSPD1;
-  //  printf("(%d %d)(%d %d)\n",trSPD1&0xffff,trSPD1>>16, trSPD2&0xffff, trSPD2>>16);
   //
 }
 
@@ -382,6 +381,7 @@ Bool_t AliMultiplicity::GetTrackletTrackIDs(Int_t i, Int_t mode, Int_t &spd1, In
   //
   // note: stored value:  [(idSAPureSPD2+1)<<16+(idTPCITS/SA_SPD2+1)]<<32 +  [(idSAPureSPD1+1)<<16+(idTPCITS/SA_SPD1+1)]
   if (!fUsedClusT || mode<0 || mode>1 || i<0 || i>fNtracks) {spd1 = spd2 = -1; return kFALSE;}
+  //
   spd1 = (fUsedClusT[i]&0xffffffffLL);
   spd2 = (fUsedClusT[i]>>32);
   if (mode) {
index 8c99c3fea6058fb88ad8aca7a87408b75d7c399d..9e0466bb2bec6d4b9352ff7c001967ff93ab6a84 100644 (file)
@@ -114,7 +114,7 @@ class AliMultiplicity : public TObject {
   Int_t *fLabels;            //[fNtracks] array with labels of cluster in L1 used for tracklet
   Int_t *fLabelsL2;          //[fNtracks] array with labels of cluster in L2 used for tracklet
   UInt_t* fUsedClusS;        //[fNtracks] id+1 of the tracks using cluster, coded as (TPC/ITS+ITS_SA)+(ITS_SA_PURE<<16)
-  ULong64_t* fUsedClusT;     //[fNtracks] id+1 of the tracks using clusters, coded as (TPC/ITS+ITS_SA)+(ITS_SA_PURE<<16) for SPD1 and SPD2 in low and high parts
+  ULong64_t* fUsedClusT;     //[fNsingle] id+1 of the tracks using clusters, coded as (TPC/ITS+ITS_SA)+(ITS_SA_PURE<<16) for SPD1 and SPD2 in low and high parts
   Double32_t *fTh;           //[fNtracks] array with theta values
   Double32_t *fPhi;          //[fNtracks] array with phi values
   Double32_t *fDeltTh;       //[fNtracks] array with delta theta values
@@ -127,7 +127,7 @@ class AliMultiplicity : public TObject {
   TBits fFastOrFiredChips;   // Map of FastOr fired chips
   TBits fClusterFiredChips;  // Map of fired chips (= at least one cluster)
 
-  ClassDef(AliMultiplicity,15);
+  ClassDef(AliMultiplicity,16);
 };
 
 inline Int_t AliMultiplicity::GetLabel(Int_t i, Int_t layer) const