]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
GetPrimaries Removed - get them from EmcRecPoint
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Apr 2001 14:57:21 +0000 (14:57 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Apr 2001 14:57:21 +0000 (14:57 +0000)
PHOS/AliPHOSRecParticle.cxx
PHOS/AliPHOSRecParticle.h

index a493f3a799d9351c320796fe2e06d2e2a3210ad4..6dfb60e1293923c52440e333b39f9d48bfca4a18 100644 (file)
@@ -65,49 +65,7 @@ ClassImp(AliPHOSRecParticle)
   fPolarTheta  = rp.fPolarTheta;
   fPolarPhi    = rp.fPolarPhi;
   fParticlePDG = rp.fParticlePDG; 
-}
-
-//____________________________________________________________________________
-Int_t * AliPHOSRecParticle::GetPrimaries(Int_t & number) 
-{
-  // Retrieves all the primary particles at the origine of this reconstructed particle
-
-//   AliPHOSTrackSegment * ts = GetPHOSTrackSegment() ;
-
-//   Int_t emcnumber = 0 ; 
-//   Int_t * emclist = ts->GetPrimariesEmc(emcnumber) ;
   
-//   Int_t ppsdlnumber = 0 ;
-//   Int_t * ppsdllist = ts->GetPrimariesPpsdLow(ppsdlnumber) ;
-//   Int_t ppsdunumber = 0 ; 
-//   Int_t * ppsdulist = ts->GetPrimariesPpsdUp(ppsdunumber) ;
-
-//   number = emcnumber + ppsdlnumber + ppsdunumber ;
-//   Int_t * list   = new Int_t[number] ;
-  
-//   Int_t index ; 
-//   for ( index = 0 ; index < emcnumber ; index++)
-//     list[index] = emclist[index] ;
-
-//   Int_t jndex ; 
-//   for ( jndex = 0 ; jndex < ppsdlnumber ; jndex++) {
-//     assert(index < number) ;
-//     list[index] = ppsdllist[jndex] ;
-//     index++ ; 
-//   }
-
-//   for ( jndex = 0 ; jndex < ppsdunumber ; jndex++) {
-//     assert(index < number) ;
-//     list[index] = ppsdulist[jndex] ;
-//     index++ ; 
-//   }
-
-//   delete emclist ;
-//   delete ppsdllist ;
-//   delete ppsdulist ;
-
-  return 0 ; //<--- list ; 
 }
 
 
index 39ef741c0b009d06143fbca1ffe01f6ca18bb6a8..0d8c07a4fa9fbc0b4314d4210537781b00f2c1b9 100644 (file)
@@ -28,15 +28,10 @@ public:
   
   AliPHOSRecParticle() {  }
   AliPHOSRecParticle(const AliPHOSRecParticle & rp) ;  // ctor
-  virtual ~AliPHOSRecParticle(){
-    // dtor
-  }
+  virtual ~AliPHOSRecParticle(){  }
 
-  Int_t                 GetPHOSTSIndex(){    return fPHOSTrackSegment ;  }
-
-  Int_t *               GetPrimaries(Int_t & number) ;
-  
-  void                  SetTraskSegment(Int_t index){fPHOSTrackSegment = index; }
+  Int_t  GetPHOSTSIndex(){    return fPHOSTrackSegment ;  }
+  void   SetTraskSegment(Int_t index){fPHOSTrackSegment = index; }
 
   typedef TClonesArray RecParticlesList ;