]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THbtp/THBTprocessor.cxx
o Add function for exact inverse
[u/mrichter/AliRoot.git] / THbtp / THBTprocessor.cxx
index e87f0db4184badf26ec55d074a3124bb98d8994c..3547c20080960754fdce2dfdbd7eb29daf2b7b81 100644 (file)
@@ -1,4 +1,9 @@
 #include "THBTprocessor.h"
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
 //_____________________________________________________________________________
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
 
-#include <TParticle.h>
+#include <Riostream.h>
+#include <TClonesArray.h>
 #include <TMath.h>
+#include <TParticle.h>
+
 #include "HBTprocCOMMON.h"
 
-#include <Riostream.h>
 #ifndef WIN32
 # define hbtprocessor hbtprocessor_
 # define ctest ctest_
@@ -34,7 +41,8 @@
 # define type_of_call _stdcall
 #endif    
 
-
+using std::cout;
+using std::endl;
 ClassImp(THBTprocessor)
  
 extern "C" void  type_of_call hbtprocessor();   
@@ -57,7 +65,11 @@ THBTprocessor::THBTprocessor()// it is better not to intialize it:TGenerator("TH
  }
 /*****************************************************************************************/
 
+#if ROOT_VERSION_CODE <= ROOT_VERSION(5,11,2)
 void THBTprocessor::GenerateEvent() const
+#else
+void THBTprocessor::GenerateEvent()
+#endif
 {
 //Starts processing
 
@@ -450,7 +462,6 @@ TObjArray * THBTprocessor::ImportParticles(Option_t */*option*/)
   //Copy particle data into TObjArray
   fParticles->Clear();
  
-  Int_t nrpart = 0;
   for (Int_t i=0; i < TRK_MAXLEN; i++) 
    {