]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrections for gcc 4.0
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Jun 2005 09:43:58 +0000 (09:43 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Jun 2005 09:43:58 +0000 (09:43 +0000)
PMD/AliPMDLoader.cxx
PMD/AliPMDv1.cxx
RAW/binalimdc.pkg

index c31a10612334b2e4e0a1dfdfa69c6d6391859a59..819afa1325b4e13cc1b5849bdd574f707c5a264f 100644 (file)
@@ -1,3 +1,20 @@
+/**************************************************************************
+ * 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.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 #include "AliPMDLoader.h"
 #include "AliLog.h"
 
 #include "AliPMDLoader.h"
 #include "AliLog.h"
 
@@ -16,7 +33,8 @@ AliPMDLoader::AliPMDLoader()
 AliPMDLoader::AliPMDLoader(const Char_t *name,const Char_t *topfoldername)
  :AliLoader(name,topfoldername)
 {
 AliPMDLoader::AliPMDLoader(const Char_t *name,const Char_t *topfoldername)
  :AliLoader(name,topfoldername)
 {
-  AliInfoClass(Form(" name = %s; topfolder = %s",name,topfoldername));
+  AliDebug(1,Form("Name = %s; topfolder = %s",name,topfoldername));
+
 }
 /*****************************************************************************/ 
 
 }
 /*****************************************************************************/ 
 
index 619f6b9a72dcfbe9199e2cd44c3c9838e1aaad81..26b038163565cb1d7fd5a304d6e44a45e43b9395 100644 (file)
 ///////////////////////////////////////////////////////////////////////////////
 ////
 
 ///////////////////////////////////////////////////////////////////////////////
 ////
 
-#include "AliPMDv1.h"
-#include "AliRun.h"
-#include "AliConst.h" 
-#include "AliMagF.h" 
 #include "Riostream.h"
 #include <TVirtualMC.h>
 #include "Riostream.h"
 #include <TVirtualMC.h>
-#include "AliMC.h"
+
+#include "AliConst.h" 
 #include "AliLog.h"
 #include "AliLog.h"
+#include "AliMC.h"
+#include "AliMagF.h" 
+#include "AliPMDv1.h"
+#include "AliRun.h"
 
 const Int_t   AliPMDv1::fgkNcolUM1    = 48;  // Number of cols in UM, type 1
 const Int_t   AliPMDv1::fgkNcolUM2    = 96;  // Number of cols in UM, type 2
 
 const Int_t   AliPMDv1::fgkNcolUM1    = 48;  // Number of cols in UM, type 1
 const Int_t   AliPMDv1::fgkNcolUM2    = 96;  // Number of cols in UM, type 2
@@ -653,7 +654,7 @@ void AliPMDv1::DrawModule() const
   //gMC->Gdman(17, 5, "MAN");
   gMC->Gdopt("hide", "off");
 
   //gMC->Gdman(17, 5, "MAN");
   gMC->Gdopt("hide", "off");
 
-  cout << " Outside Draw Modules " << endl;
+  AliDebug(1,"Outside Draw Modules");
 }
 
 //_____________________________________________________________________________
 }
 
 //_____________________________________________________________________________
@@ -780,7 +781,7 @@ void AliPMDv1::CreateMaterials()
   gMC->Gstpar(idtmed[604], "CUTHAD", 1e-5);
   gMC->Gstpar(idtmed[604], "CUTMUO", 1e-5);
 
   gMC->Gstpar(idtmed[604], "CUTHAD", 1e-5);
   gMC->Gstpar(idtmed[604], "CUTMUO", 1e-5);
 
-  cout << " Outside create materials " << endl;
+  AliDebug(1,"Outside create materials");
 
 }
 
 
 }
 
@@ -791,25 +792,12 @@ void AliPMDv1::Init()
   // Initialises PMD detector after it has been built
   //
 
   // Initialises PMD detector after it has been built
   //
 
-  Int_t i;
-  //  gAliKdet=1;
   //
   //
-  cout << " Inside Init " << endl;
-  if(AliLog::GetGlobalDebugLevel()>0) {
-      printf("\n%s: ",ClassName());
-      for(i=0;i<35;i++) printf("*");
-      printf(" PMD_INIT ");
-      for(i=0;i<35;i++) printf("*");
-      printf("\n%s: ",ClassName());
-      printf("                 PMD simulation package (v1) initialised\n");
-      printf("%s: parameters of pmd\n",ClassName());
-      printf("%s: %10.2f %10.2f %10.2f \
-      %10.2f\n",ClassName(),fgkCellRadius,fgkCellWall,fgkCellDepth,fgkZdist );
-      printf("%s: ",ClassName());
-      for(i=0;i<80;i++) printf("*");
-      printf("\n");
-  }
-  
+  AliDebug(2,"Inside Init");
+  AliDebug(2,"PMD simulation package (v1) initialised");
+  AliDebug(2,"parameters of pmd");
+  AliDebug(2,Form("%10.2f %10.2f %10.2f %10.2f\n",
+                 fgkCellRadius,fgkCellWall,fgkCellDepth,fgkZdist));
   Int_t *idtmed = fIdtmed->GetArray()-599;
   fMedSens=idtmed[605-1];
 
   Int_t *idtmed = fIdtmed->GetArray()-599;
   fMedSens=idtmed[605-1];
 
index 4fd78a53782d03b4f64753159c9512724b9341dc..833bbb78c098036cd6f403b86f5bc3d8ed0ccef0 100644 (file)
@@ -1,5 +1,5 @@
 #-*- Mode: Makefile -*-
 #-*- Mode: Makefile -*-
-
+# $Id$ 
 include HLT/hlt.conf
 
 EDEFINE      := ${HLTDEFS}
 include HLT/hlt.conf
 
 EDEFINE      := ${HLTDEFS}