Removing output of hit pointers in AliMUONTrack class. New switch in ALiMUONv1 for...
[u/mrichter/AliRoot.git] / MUON / AliMUONData.cxx
index 969eade6f1637fa1c5986ee9a6b0d7ed022fd4b1..77c59fd86f767225b8bddd9ae1851c4376d43b0f 100644 (file)
@@ -17,7 +17,7 @@
 
 //Root includes
 #include "TNamed.h"
-//AliRoot includes
+//AliRoot include
 #include "AliLoader.h" 
 #include "AliMUONConstants.h"
 #include "AliMUONData.h"
@@ -79,7 +79,7 @@ AliMUONData::AliMUONData(AliLoader * loader, const char* name, const char* title
 //   fNglobaltrigger =0;
 //   fLocalTrigger  = new TClonesArray("AliMUONLocalTrigger",234);   
 //   fNlocaltrigger = 0;
-//   fRecTracks     = new TClonesArray("AliMUONTrack", 10);
+//   fRecTracks     = new TClonesArray("AliMUONTrack", 100);
 //   fNrectracks    = 0; // really needed or GetEntriesFast sufficient ????
 
 
@@ -287,7 +287,6 @@ void AliMUONData::Fill(Option_t* option)
   // filling tracks
   if ( TreeT() && cRT ) {
     sprintf(branchname,"%sTrack",GetName());  
-    branch = TreeT()->GetBranch(branchname);
     TreeT()->Fill();
   }
 }
@@ -422,7 +421,7 @@ void AliMUONData::MakeBranch(Option_t* option)
   }
   
   if (TreeT() && cRT ) {
-    if (fRecTracks == 0x0)  fRecTracks = new TClonesArray("AliMUONTrack",10);
+    if (fRecTracks == 0x0)  fRecTracks = new TClonesArray("AliMUONTrack",100);
     fNrectracks = 0;
     sprintf(branchname,"%sTrack",GetName());  
     branch = TreeT()->GetBranch(branchname);