]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALv0.cxx
speed up tailcancallation (Theo)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv0.cxx
index 97da3d93b0bf8bacc90713e5588a09ad338a4126..37da0a3b83627e90c33acba7439f9179643e6c2d 100644 (file)
 // --- ROOT system ---
 #include <cassert>
 
-#include <TNode.h>
-#include <TBRIK.h>
-#include <TTRD1.h>
-#include <TTRAP.h>
-#include <TPGON.h>
-#include <TTUBS.h>
 #include <TGeometry.h>
 #include <TGeoPhysicalNode.h>
 #include <TGeoManager.h>
@@ -43,7 +37,7 @@
 #include <TVector2.h>
 #include <cassert>
 
-#include "AliEMCALShishKebabModule.h"
+//--- EMCAL system---
 #include "AliEMCALShishKebabTrd1Module.h"
 
 // --- Standard library ---
@@ -189,7 +183,7 @@ void AliEMCALv0::Init(void)
       message += "EMCAL geometry initialization failed !" ; 
     }
     message += "\n*****************************************" ;
-    printf(message.Data() ) ; 
+    printf("%s",message.Data() ) ; 
   }
 }
 
@@ -536,7 +530,7 @@ void AliEMCALv0::Trd1Tower3X3(const double *parSCM0)
 
     PbInTrap(parTRAP, scmx);
   }
-  AliDebug(2,Form("Trd1Tower3X3()", "Ver. 1.0 : was tested."));
+  AliDebug(2,"Trd1Tower3X3 - Ver. 1.0 : was tested.");
 }
 
 // 8-dec-04 by PAI
@@ -575,7 +569,7 @@ void AliEMCALv0::PbInTrap(const double parTRAP[11], TString n)
 
 // 8-dec-04 by PAI
 //______________________________________________________________________
-void AliEMCALv0::Trd1Tower4X4()
+void AliEMCALv0::Trd1Tower4X4() const
 {
  // Not ready yet
 }
@@ -607,7 +601,7 @@ void AliEMCALv0::Trd1Tower1X1(double *parSCM0)
 }
 
 //______________________________________________________________________
-void AliEMCALv0::PbInTrd1(double *parTrd1, TString n)
+void AliEMCALv0::PbInTrd1(const double *parTrd1, TString n)
 {
  // see PbInTrap(const double parTrd1[11], TString n)
   static int nr=0, ndeb=2;
@@ -898,6 +892,7 @@ AliEMCALShishKebabTrd1Module* AliEMCALv0::GetShishKebabModule(Int_t neta)
 //_____________________________________________________________________________
 void AliEMCALv0::AddAlignableVolumes() const
 {
+  //Add volumes which are alignable (?)
   TString ntmp(GetTitle()); // name of EMCAL geometry
 
   if(ntmp.Contains("WSUC")) {