Fixes for #73467: Corrupted MUON hits when using AliRoot with Root v5.27/05 and v5...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Oct 2010 11:18:32 +0000 (11:18 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Oct 2010 11:18:32 +0000 (11:18 +0000)
MUON/AliMUONTreeManager.h
T0/AliT0.cxx
T0/AliT0Reconstructor.cxx

index 5c8dd73..e7d60c5 100644 (file)
@@ -33,7 +33,7 @@ public:
   Bool_t MakeBranch(TTree& tree, const char* storeClassName,
                     const char* branchClassName, const char* branchName, 
                     void* address,
-                    Int_t bufferSize = 4000, Int_t splitLevel = 1) const;
+                    Int_t bufferSize = 4000, Int_t splitLevel = 99) const;
   
   Bool_t SetAddress(TTree& tree, const char* branchName, void* address) const;
   
index 9a76005..0b88c23 100644 (file)
@@ -199,21 +199,20 @@ void AliT0::MakeBranch(Option_t* option)
       if (fDigits == 0x0) fDigits  = new AliT0digit();
       //     MakeBranchInTree(fLoader->TreeD(), branchname,
       //                      &fDigits, 405, 0);
-      fLoader->TreeD()->Branch(branchname,"AliT0digit",&fDigits,405,1);
+      fLoader->TreeD()->Branch(branchname,"AliT0digit",&fDigits);
       //   fLoader->TreeD()->Print();
     } 
   if (cR && fLoader->TreeR())
     {
       if (fRecPoints == 0x0) fRecPoints  = new AliT0RecPoint();
-      MakeBranchInTree(fLoader->TreeR(), branchname,
-                      &fRecPoints, 405, 0);
+      MakeBranchInTree(fLoader->TreeR(), branchname, &fRecPoints);
     } 
   if (cS && fLoader->TreeS())
     {
       if (fDigits == 0x0) fDigits  = new AliT0digit();
       //     MakeBranchInTree(fLoader->TreeD(), branchname,
       //                      &fDigits, 405, 0);
-      fLoader->TreeS()->Branch(branchname,"AliT0digit",&fDigits,405,1);
+      fLoader->TreeS()->Branch(branchname,"AliT0digit",&fDigits);
       //   fLoader->TreeD()->Print();
     } 
   
@@ -349,7 +348,7 @@ void AliT0::Raw2Digits(AliRawReader *rawReader,TTree* digitsTree)
 
 
    fDigits = new AliT0digit();
-   digitsTree->Branch("T0","AliT0digit",&fDigits,405,1);
+   digitsTree->Branch("T0","AliT0digit",&fDigits);
    
    
    TArrayI *timeLED = new TArrayI(24);
index 2663cb9..3245a15 100644 (file)
@@ -159,7 +159,7 @@ void AliT0Reconstructor::Reconstruct(TTree*digitsTree, TTree*clustersTree) const
   Int_t pmtBestC=99999;
   
   AliT0RecPoint* frecpoints= new AliT0RecPoint ();
-  clustersTree->Branch( "T0", "AliT0RecPoint" ,&frecpoints, 405,1);
+  clustersTree->Branch( "T0", "AliT0RecPoint" ,&frecpoints);
   
   Float_t time[24], adc[24];
   for (Int_t ipmt=0; ipmt<24; ipmt++) {
@@ -284,7 +284,7 @@ void AliT0Reconstructor::Reconstruct(AliRawReader* rawReader, TTree*recTree) con
    
   AliT0RecPoint* frecpoints= new AliT0RecPoint ();
   
-  recTree->Branch( "T0", "AliT0RecPoint" ,&frecpoints, 405,1);
+  recTree->Branch( "T0", "AliT0RecPoint" ,&frecpoints);
    
   AliDebug(10," before read data ");
   AliT0RawReader myrawreader(rawReader);