]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
MakeProng() is called for fNProngs > 0
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Nov 2009 14:39:54 +0000 (14:39 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Nov 2009 14:39:54 +0000 (14:39 +0000)
STEER/AliAODVertex.h

index b9b889da904092a12c1231693aec12f7017d2e22..f4682e81a894aebe4dfea4b58738d2fdb7e3db26 100644 (file)
@@ -106,7 +106,10 @@ class AliAODVertex : public AliVVertex {
   Bool_t   HasDaughter(TObject *daughter) const;
   Int_t    GetNDaughters() const;
   Int_t    GetNContributors() const;
-  void     SetNProngs(Int_t nprong) {fNprong = nprong;}
+  void     SetNProngs(Int_t nprong) {
+      fNprong = nprong;
+      MakeProngs();
+  }
   // covariance matrix elements after rotation by phi around z-axis 
   // and, then, by theta around new y-axis
   Double_t  RotatedCovMatrixXX(Double_t phi = 0., Double_t theta = 0.) const;