Corrections by M.Kowalski to make these files compile on HP/CC.
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Jun 1999 19:25:31 +0000 (19:25 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Jun 1999 19:25:31 +0000 (19:25 +0000)
TRD/AliTRD.cxx
TRD/AliTRDv2.cxx

index 64e2c0a962a21b0b0af05095601c86f8cb1144b9..f1b325f63fc09ede18b16feac80cbe83e2de4d73 100644 (file)
@@ -305,7 +305,7 @@ void AliTRD::Init()
 }
 
 //_____________________________________________________________________________
-void AliTRD::SetGasMix(Int_t imix = 0)
+void AliTRD::SetGasMix(Int_t imix)
 {
 
   if ((imix < 0) || (imix > 1)) {
@@ -320,7 +320,7 @@ void AliTRD::SetGasMix(Int_t imix = 0)
 }
 
 //_____________________________________________________________________________
-void AliTRD::SetSensPlane(Int_t iplane = 0)
+void AliTRD::SetSensPlane(Int_t iplane)
 {
 
   if ((iplane < 0) || (iplane > 6)) {
@@ -337,7 +337,7 @@ void AliTRD::SetSensPlane(Int_t iplane = 0)
 }
 
 //_____________________________________________________________________________
-void AliTRD::SetSensChamber(Int_t ichamber = 0)
+void AliTRD::SetSensChamber(Int_t ichamber)
 {
 
   if ((ichamber < 0) || (ichamber > 5)) {
@@ -354,7 +354,7 @@ void AliTRD::SetSensChamber(Int_t ichamber = 0)
 }
 
 //_____________________________________________________________________________
-void AliTRD::SetSensSector(Int_t isector = 0)
+void AliTRD::SetSensSector(Int_t isector)
 {
 
   if ((isector < 0) || (isector > 18)) {
index 868564393fa614c0fe0974ee863c99d3141edddf..a553e83dbea00d6d28ed80abbb1f7c17ecad777a 100644 (file)
@@ -102,6 +102,8 @@ void AliTRDv2::CreateGeometry()
   Float_t par_nc[nparnc];
   Float_t par_oc[nparoc];
 
+  Int_t icham;
+
   Int_t *idtmed = gAlice->Idtmed();
   
   AliMC* pMC = AliMC::GetMC();
@@ -145,7 +147,7 @@ void AliTRDv2::CreateGeometry()
 
   // Definition of the chambers 
   Char_t ctagc[5], ctagi[5];
-  for (Int_t icham = 1; icham <= ncham; ++icham) {
+  for (icham = 1; icham <= ncham; ++icham) {
 
     // Carbon frame of the inner chambers (C) 
     par_ch[0] = widmi + (icham-1) * widdifc - frame;
@@ -202,7 +204,7 @@ void AliTRDv2::CreateGeometry()
   pMC->Gsvolu("UT3I", "BOX ", idtmed[1308-1], par_ic, nparic);
   // Xe/Isobutane layer (gasvolume) 
   par_ic[2] = xethick / 2.;
-  for (Int_t icham = 1; icham <= 6; ++icham) {
+  for (icham = 1; icham <= 6; ++icham) {
     sprintf(ctagc,"UXI%1d",icham);
     pMC->Gsvolu(ctagc, "BOX ", idtmed[1309-1], par_ic, nparic);
   }
@@ -239,7 +241,7 @@ void AliTRDv2::CreateGeometry()
   pMC->Gsvolu("UT3N", "BOX ", idtmed[1308-1], par_nc, nparnc);
   // Xe/Isobutane layer (gasvolume) 
   par_nc[2] = xethick / 2.;
-  for (Int_t icham = 1; icham <= 6; ++icham) {
+  for (icham = 1; icham <= 6; ++icham) {
     sprintf(ctagc,"UXN%1d",icham);
     pMC->Gsvolu(ctagc, "BOX ", idtmed[1309-1], par_nc, nparnc);
   }
@@ -276,7 +278,7 @@ void AliTRDv2::CreateGeometry()
   pMC->Gsvolu("UT3O", "BOX ", idtmed[1308-1], par_oc, nparoc);
   // Xe/Isobutane layer (gasvolume) 
   par_oc[2] = xethick / 2.;
-  for (Int_t icham = 1; icham <= 6; ++icham) {
+  for (icham = 1; icham <= 6; ++icham) {
     sprintf(ctagc,"UXO%1d",icham);
     pMC->Gsvolu(ctagc, "BOX ", idtmed[1309-1], par_oc, nparoc);
   }
@@ -308,7 +310,7 @@ void AliTRDv2::CreateGeometry()
   pMC->Gspos("UT2I", 1, "UT1I", 0., 0., pezpos, 0, "ONLY");
   pMC->Gspos("UT2N", 1, "UT1N", 0., 0., pezpos, 0, "ONLY");
   pMC->Gspos("UT2O", 1, "UT1O", 0., 0., pezpos, 0, "ONLY");
-  for (Int_t icham = 1; icham <= ncham; ++icham) {
+  for (icham = 1; icham <= ncham; ++icham) {
     // The inner chambers 
     sprintf(ctagi,"UII%1d",icham);
     sprintf(ctagc,"UXI%1d",icham);
@@ -348,7 +350,7 @@ void AliTRDv2::CreateGeometry()
   }
 
   // Position of the inner part of the chambers in the carbon-frames 
-  for (Int_t icham = 1; icham <= ncham; ++icham) {
+  for (icham = 1; icham <= ncham; ++icham) {
     xpos = 0.;
     ypos = 0.;
     zpos = 0.;
@@ -367,7 +369,7 @@ void AliTRDv2::CreateGeometry()
   }
 
   // Position of the chambers in the full TRD-setup 
-  for (Int_t icham = 1; icham <= ncham; ++icham) {
+  for (icham = 1; icham <= ncham; ++icham) {
     // The inner chambers
     xpos = 0.;
     ypos = 0.;