#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"
// 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");
//............................................................................
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");
}
- 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");
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;
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] );
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] );
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] );
sprintf(branchname,"%s",GetName());
printf(" fBufferSize = %d \n",fBufferSize);
- char *H = strstr(option,"H");
+ const char *H = strstr(option,"H");
if (fHits && gAlice->TreeH() && H) {
gAlice->TreeH()->Branch(branchname,&fHits, fBufferSize);
printf("* AliDetector::MakeBranch * Making Branch %s for hits\n",branchname);
}
- char *D = strstr(option,"D");
+ const char *D = strstr(option,"D");
//
if (fDigits && gAlice->TreeD() && D) {
gAlice->TreeD()->Branch(branchname,&fDigits, fBufferSize);