]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROv0.cxx
Bug in AliMUONDigitizerv1::Exec clear list of hits for each track
[u/mrichter/AliRoot.git] / VZERO / AliVZEROv0.cxx
index 410d219e014ebb37c96406dc1f7b13db6dd77d2d..b7bc025b60422153d7e597959c6448d387a358c5 100755 (executable)
 #include <TClonesArray.h>
 #include <TH1.h>
 #include <string.h>
-#include <iostream.h>
+#include <Riostream.h>
 
 #include "AliVZEROv0.h"
 #include "AliRun.h"
 #include "AliMagF.h"
-#include "AliMC.h"
 #include "AliVZEROhit.h"
 #include "AliVZEROdigit.h"
-#include <iostream.h>
-#include <fstream.h>
+#include <Riostream.h>
+#include <Riostream.h>
 
 #include <stdlib.h>
 #include "TObjectTable.h"
@@ -155,7 +154,7 @@ void AliVZEROv0::CreateGeometry()
 //     pflange[2] = 0.9;        
 // 
 //     gMC->Gsvolu("QFA0","TUBE", idtmed[3003], pflange, 3);
-//     gMC->Gspos("QFA0", 1 ,"alic", 0.0, 0.0, 85.0+0.9, 0, "ONLY");
+//     gMC->Gspos("QFA0", 1 ,"ALIC", 0.0, 0.0, 85.0+0.9, 0, "ONLY");
      
 //............................................................................
 
@@ -646,8 +645,7 @@ void AliVZEROv0::CreateGeometry()
        n_detec_R++;
        }
 
-
-  gMC->Gspos("V0RI",1,"alic",0.0,0.0,zdet,0,"ONLY");
+  gMC->Gspos("V0RI",1,"ALIC",0.0,0.0,zdet,0,"ONLY");
  
   n_cells_R = (n_detec_R - 1) * 5;
   printf(" \n\n\n"); 
@@ -665,7 +663,7 @@ void AliVZEROv0::CreateGeometry()
        }
 
 
-  gMC->Gspos("V0LE",1,"alic",0.0,0.0,-350.0-fThickness1/2.0,0,"ONLY");
+  gMC->Gspos("V0LE",1,"ALIC",0.0,0.0,-350.0-fThickness1/2.0,0,"ONLY");
  
   n_cells_L = (n_detec_L - 1) * 5;
   printf(" \n\n\n"); 
@@ -764,8 +762,8 @@ void AliVZEROv0::BuildGeometry()
  
   parbox[0] =    0.;
   parbox[1] =  360.;
-  parbox[2] =    12;
-  parbox[3] =     2;
+  parbox[2] =   12.;
+  parbox[3] =    2.;
   parbox[4] =  -0.1/2.0;
   parbox[5] =  r0;
   parbox[6] =  r5;     
@@ -775,7 +773,7 @@ void AliVZEROv0::BuildGeometry()
   
   
   TPGON *V0CA = new TPGON("V0CA", "V0CA", "void",parbox[0], parbox[1],
-                            parbox[2],parbox[3]);
+                            Int_t(parbox[2]),Int_t(parbox[3]) );
                            
   V0CA->DefineSection( 0, parbox[4], parbox[5], parbox[6] );
   V0CA->DefineSection( 1, parbox[7], parbox[8], parbox[9] ); 
@@ -797,7 +795,7 @@ void AliVZEROv0::BuildGeometry()
   parbox[9] =  r0; 
 
   TPGON  *V0IR = new TPGON("V0IR","V0IR","void",  parbox[0], parbox[1],
-                            parbox[2],parbox[3]);
+                            Int_t(parbox[2]),Int_t(parbox[3]) );
   V0IR->DefineSection( 0, parbox[4], parbox[5], parbox[6] );
   V0IR->DefineSection( 1, parbox[7], parbox[8], parbox[9] );
   
@@ -814,7 +812,7 @@ void AliVZEROv0::BuildGeometry()
   parbox[9] =  r5 + 1.0; 
 
   TPGON  *V0ER = new TPGON("V0ER","V0ER","void",  parbox[0], parbox[1],
-                            parbox[2],parbox[3]);
+                            Int_t(parbox[2]),Int_t(parbox[3]) );
   V0ER->DefineSection( 0, parbox[4], parbox[5], parbox[6] );
   V0ER->DefineSection( 1, parbox[7], parbox[8], parbox[9] );