Make revisions needed for compilation from the main AliRoot tree
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Apr 2007 07:25:59 +0000 (07:25 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Apr 2007 07:25:59 +0000 (07:25 +0000)
PWG2/FEMTOSCOPY/AliFemto/Reader/AliFemtoEventReaderESD.cxx
PWG2/FEMTOSCOPY/AliFemto/Reader/AliFemtoEventReaderESDChain.cxx

index a6062ec..39245b9 100644 (file)
@@ -164,7 +164,7 @@ AliFemtoEvent* AliFemtoEventReaderESD::ReturnHbtEvent()
          fEventFriend = 0;
          delete fEvent;//added 1.04.2007
          fEvent=new AliESD();
-         delete fTree;
+         //      delete fTree;
          //fTree=0;
          delete fEsdFile;
                
@@ -180,6 +180,14 @@ AliFemtoEvent* AliFemtoEventReaderESD::ReturnHbtEvent()
          fTree->AddFriend("esdFriendTree",tFriendFileName.c_str());
          fTree->SetBranchAddress("ESDfriend",&fEventFriend);
 
+//       chain->SetBranchStatus("*",0);
+//       chain->SetBranchStatus("fUniqueID",1);
+//       chain->SetBranchStatus("fTracks",1);
+//       chain->SetBranchStatus("fTracks.*",1);
+//       chain->SetBranchStatus("fTracks.fTPCindex[160]",1);
+         fTree->SetBranchStatus("fTracks.fCalibContainer",0);
+
+
          fNumberofEvent=fTree->GetEntries();
          cout<<"Number of Entries in file "<<fNumberofEvent<<endl;
          fCurEvent=0;
@@ -199,7 +207,7 @@ AliFemtoEvent* AliFemtoEventReaderESD::ReturnHbtEvent()
        
   hbtEvent = new AliFemtoEvent;
   //setting basic things
-  //hbtEvent->SetEventNumber(fEvent->GetEventNumber());
+  hbtEvent->SetEventNumber(fEvent->GetEventNumber());
   hbtEvent->SetRunNumber(fEvent->GetRunNumber());
   //hbtEvent->SetNumberOfTracks(fEvent->GetNumberOfTracks());
   hbtEvent->SetMagneticField(fEvent->GetMagneticField()*kilogauss);//to check if here is ok
index 302d5d9..641dca0 100644 (file)
@@ -94,7 +94,7 @@ AliFemtoEvent* AliFemtoEventReaderESDChain::ReturnHbtEvent()
        
   hbtEvent = new AliFemtoEvent;
   //setting basic things
-  //hbtEvent->SetEventNumber(fEvent->GetEventNumber());
+  hbtEvent->SetEventNumber(fEvent->GetEventNumber());
   hbtEvent->SetRunNumber(fEvent->GetRunNumber());
   //hbtEvent->SetNumberOfTracks(fEvent->GetNumberOfTracks());
   hbtEvent->SetMagneticField(fEvent->GetMagneticField()*kilogauss);//to check if here is ok