]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSpackageSSD.cxx
Using Riostream.h instead of iostream.h
[u/mrichter/AliRoot.git] / ITS / AliITSpackageSSD.cxx
index e2214e8b6a738da256f549e91552ebad61d73bb9..5395a24ba802783b6a225094960cd583988098dd 100644 (file)
@@ -1,6 +1,34 @@
-#include <iostream.h>
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+$Log$
+Revision 1.6  2002/10/22 14:45:42  alibrary
+Introducing Riostream.h
+
+Revision 1.5  2001/11/19 16:17:03  nilsen
+Applyed fixes to bugs found by Rene Brun. With many thanks. Some additonal
+bugs found by Rene require more work to fix. Will be fixed soon.
+
+Revision 1.4  2000/07/12 05:32:20  fca
+Correcting several syntax problem with static members
+
+*/
+
+#include <Riostream.h>
 #include <TClonesArray.h>
-
 #include "AliITSpackageSSD.h"
 
 //************************************************
 //skowron@if.pw.edu.pl
 //
 
-const Int_t debug=0;
+const Bool_t AliITSpackageSSD::fgkSIDEP=kTRUE;
+const Bool_t AliITSpackageSSD::fgkSIDEN=kFALSE;
+
+static const Int_t debug=0;
 
 ClassImp(AliITSpackageSSD)
 
 AliITSpackageSSD::AliITSpackageSSD()
 {
   fNclustersN=0;
-  fClusterNIndexes = new TArrayI(300)
+  fClusterNIndexes = 0
                
   fNclustersP=0;
-  fClusterPIndexes = new TArrayI(300);
+  fClusterPIndexes = 0;
   if (debug) cout<<"Default Ctor was used\n>>>>>>>>>>>>>><<<<<<<<<<<<<";
 }
 
@@ -617,7 +648,9 @@ void  AliITSpackageSSD::SplitPackage(Int_t pi, Int_t ni, AliITSpackageSSD* pkg)
        break;
       }
     }  
-  if (debug) cout<<" p = "<<p<<"  n = "<<n;
+  if (debug) {
+    cout<<" p = "<<p<<"  n = "<<n;
+  }
   if ((p==-1)||(n==-1)) return;
   
   for (i=p;i<fNclustersP;i++)