]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Obsolete versions removed.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Sep 2003 08:32:08 +0000 (08:32 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Sep 2003 08:32:08 +0000 (08:32 +0000)
STRUCT/AliDIPOv1.cxx [deleted file]
STRUCT/AliDIPOv1.h [deleted file]
STRUCT/AliPIPEv1.h [deleted file]
STRUCT/AliPIPEv3.cxx [deleted file]
STRUCT/AliPIPEv3.h [deleted file]

diff --git a/STRUCT/AliDIPOv1.cxx b/STRUCT/AliDIPOv1.cxx
deleted file mode 100644 (file)
index 13eb697..0000000
+++ /dev/null
@@ -1,263 +0,0 @@
-/**************************************************************************
- * 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$ */
-
-///////////////////////////////////////////////////////////////////////////////
-//                                                                           //
-//  Magnetic Dipole version 1                                                //
-//                                                                           //
-//Begin_Html
-/*
-<img src="picts/AliDIPOv1Class.gif">
-</pre>
-<br clear=left>
-<font size=+2 color=red>
-<p>The responsible person for this module is
-<a href="mailto:andreas.morsch@cern.ch">Andreas Morsch</a>.
-</font>
-<pre>
-*/
-//End_Html
-//                                                                           //
-//                                                                           //
-///////////////////////////////////////////////////////////////////////////////
-
-#include <TVirtualMC.h>
-
-#include "AliDIPOv1.h"
-#include "AliMagF.h"
-#include "AliRun.h"
-ClassImp(AliDIPOv1)
-//_____________________________________________________________________________
-AliDIPOv1::AliDIPOv1()
-{
-  //
-  // Default constructor for the magnetic dipole version 1
-  //
-}
-//_____________________________________________________________________________
-AliDIPOv1::AliDIPOv1(const char *name, const char *title)
-       : AliDIPO(name,title)
-{
-  //
-  // Standard constructor for magnetic dipole version 1
-  //
-  SetMarkerColor(7);
-  SetMarkerStyle(2);
-  SetMarkerSize(0.4);
-}
-//_____________________________________________________________________________
-void AliDIPOv1::CreateGeometry()
-{
-  //
-  // Creation of the geometry of the magnetic DIPOLE version 1
-  //
-  //Begin_Html
-  /*
-    <img src="picts/AliDIPOv1Tree.gif">
-  */
-  //End_Html
-  //Begin_Html
-  /*
-    <img src="picts/AliDIPOv1.gif">
-  */
-  //End_Html
-
-  Float_t par[5];
-  
-  Int_t *idtmed = fIdtmed->GetArray()-1799;
-  
-  //abs_d   = 90.;  // DEFINES DRIFT LENGTH 
-  //z_nose  = 102.;
-  //z_cone  = 285.;
-  //theta1  = 24.;  // 1. angle defining the front absorber 
-  //theta2  = 5.;   // 2. angle defining the front absorbe 
-  //acc_max = 9.;   // ANGLE POLAIRE MAXIMUM 
-  //acc_min = 2.;   // ANGLE POLAIRE MINIMUM DE DETECTION 
-  //abs_l   = 503.;
-  //d_steel = 1.;   // THICKNESS OF STEEL SUPPORT 
-  //d_poly  = 7.5;
-  //d_pb    = 2.5;
-  //abs_cc  = 315.; // DEFINES LENGTH OF CARBON 
-  //abs_c   = 358.;
-  //abs_s   = 150.; // DEFINES W-SHIELD LENGTH 
-  //abs_n   = 80.;  // START OF NOSE 
-  //r_abs   = 4.;
-  //r_pb    = .1;
-  //epsilon = .01;
-  //theta_r = 3.;
-  //d_rear  = 35.;
-  //theta_open = .75;
-  
-  //z_l3      = 700.;
-  //zmag_in   = 725.;
-  //zmag_out  = 1225.;
-  //zfil_in   = 1471.;
-  //zfil_out  = 1591.;
-  //zcon_in   = 1900.;
-  //zcon_out  = 2e3;
-  //zcone_e   = 859.0875;
-  //spec_l    = 1800.;
-  //zplug_in  = 1780.;
-  //zplug_out = 1900.;
-
-  //     Chamber position 
-  //      CZ1=515.5 
-  //cz1 = 511.;
-  //cz2 = 686.;
-  //cz3 = 971.;
-  //cz4 = 1245.;
-  //cz5 = 1445.;
-  //cz6 = 1610.;
-  //cz7 = 1710.;
-  
-  
-  //       DIPOLE MAGNET 
-  par[0] = 0.;
-  par[1] = 280.;
-  par[2] = 250.;
-  gMC->Gsvolu("DDIP", "TUBE", idtmed[1801], par, 3);
-  
-  //       COIL 
-  par[0] = 250.;
-  par[1] = 125.;
-  par[2] = 165.;
-  par[3] = 204.;
-  par[4] = 244.;
-  
-  gMC->Gsvolu("DIPC", "CONE", idtmed[1810], par, 5);
-  gMC->Gspos("DIPC", 1, "DDIP", 0., 0., 0., 0, "ONLY");
-  par[0] = 250.;
-  par[1] = 115.;
-  par[2] = 125.;
-  par[3] = 194.;
-  par[4] = 204.;
-  gMC->Gsvolu("DIIC", "CONE", idtmed[1807], par, 5);
-  gMC->Gspos("DIIC", 1, "DDIP", 0., 0., 0., 0, "ONLY");
-  
-  //       YOKE 
-  par[0] = 250.;
-  par[1] = 165.;
-  par[2] = 195.;
-  par[3] = 244.;
-  par[4] = 274.;
-  
-  gMC->Gsvolu("DIPY", "CONE", idtmed[1834], par, 5);
-  gMC->Gspos("DIPY", 1, "DDIP", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("DDIP", 1, "ALIC", 0., 0., 725.+250, 0, "ONLY");
-}
-
-//_____________________________________________________________________________
-void AliDIPOv1::DrawModule() const
-{
-  //
-  // Draw a shaded view of the muon absorber
-  //
-
-  // Set everything unseen
-  gMC->Gsatt("*", "seen", -1);
-  // 
-  // Set ALIC mother transparent
-  gMC->Gsatt("ALIC","SEEN",0);
-  //
-  // Set the volumes visible
-  gMC->Gsatt("DDIP","seen",1);
-  gMC->Gsatt("DIPC","seen",1);
-  gMC->Gsatt("DIIC","seen",1);
-  gMC->Gsatt("DIPY","seen",1);
-  //
-  gMC->Gdopt("hide", "on");
-  gMC->Gdopt("shad", "on");
-  gMC->Gsatt("*", "fill", 7);
-  gMC->SetClipBox(".");
-  gMC->SetClipBox(".");
-  gMC->DefaultRange();
-  gMC->Gdraw("alic", 30, 30, 0, 17, 13.5, .019, .019);
-  gMC->Gdhead(1111, "Magnetic Dipole Version 1");
-  gMC->Gdman(16, 4, "MAN");
-}
-
-//_____________________________________________________________________________
-void AliDIPOv1::CreateMaterials()
-{
-  //
-  // Create Materials for Dipole Magnet version 1
-  //
-  
-  Int_t isxfld   = gAlice->Field()->Integ();
-  Float_t sxmgmx = gAlice->Field()->Max();
-  
-  Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
-  Float_t zsteel[4] = { 26.,24.,28.,14. };
-  Float_t wsteel[4] = { .715,.18,.1,.005 };
-  Float_t epsil, stmin, deemax, tmaxfd, stemax;
-  
-  //     STEEL 
-  
-  
-  // --- Define the various materials for GEANT --- 
-  AliMaterial(9, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2);
-  AliMaterial(15, "AIR$      ", 14.61, 7.3, .001205, 30423.24, 67500);
-  AliMaterial(10, "IRON$     ", 55.85, 26., 7.87, 0, 17.1);
-  AliMaterial(16, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16);
-  AliMixture(24, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
-  
-  // **************** 
-  //     Defines tracking media parameters. 
-  //     Les valeurs sont commentees pour laisser le defaut 
-  //     a GEANT (version 3-21, page CONS200), f.m. 
-  epsil  = .001; // Tracking precision, 
-  stemax = -1.;  // Maximum displacement for multiple scat 
-  tmaxfd = -20.; // Maximum angle due to field deflection 
-  deemax = -.3;  // Maximum fractional energy loss, DLS 
-  stmin  = -.8;
-  // *************** 
-  
-  //    Air 
-
-  AliMedium(1, "AIR_DI_US         ", 15, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(2, "AIR_DI_US         ", 15, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(3, "AIR_L3_US         ", 15, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  
-  //    Aluminum 
-  
-  AliMedium(8, "ALU_DI_US         ", 9, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(11, "ALU_DI_SH         ", 9, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  
-  //    Iron 
-  
-  AliMedium(31, "FE_NF_US          ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(32, "FE_DI_US          ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(33, "FE_L3_US          ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(34, "FE_NF_SH          ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(35, "FE_DI_SH          ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(36, "FE_L3_SH          ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  
-  //    Vacuum 
-  
-  AliMedium(37, "VA_NF_US          ", 16, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(38, "VA_DI_US          ", 16, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium(39, "VA_L3_US          ", 16, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  
-  //    Steel 
-  
-  AliMedium(75, "ST_L3_US          ", 24, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-}
-
diff --git a/STRUCT/AliDIPOv1.h b/STRUCT/AliDIPOv1.h
deleted file mode 100644 (file)
index d3f5c12..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef ALIDIPOV1_H
-#define ALIDIPOV1_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
-/////////////////////////////////////////////////
-//  Manager class for detector: DIPO version 1 //
-/////////////////////////////////////////////////
-#include "AliDIPO.h"
-class AliDIPOv1 : public AliDIPO {
-public:
-  AliDIPOv1();
-  AliDIPOv1(const char *name, const char *title);
-  virtual      ~AliDIPOv1() {}
-  virtual void  CreateGeometry();
-  virtual void  CreateMaterials();
-  virtual Int_t IsVersion() const {return 1;}
-  virtual void  DrawModule() const;
-  
-  ClassDef(AliDIPOv1,1)  //Class for the Magnetic Dipole version 1
-};
-
-#endif
diff --git a/STRUCT/AliPIPEv1.h b/STRUCT/AliPIPEv1.h
deleted file mode 100644 (file)
index 110f769..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef ALIPIPEV1_H
-#define ALIPIPEV1_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
-////////////////////////////////////////////////
-//  Manager class for detector: PIPE          //
-////////////////////////////////////////////////
-#include "AliPIPE.h"
-class AliPIPEv1 : public AliPIPE {
-public:
-  AliPIPEv1();
-  AliPIPEv1(const char *name, const char *title);
-  virtual      ~AliPIPEv1() {}
-  virtual void  CreateGeometry();
-  virtual void  CreateMaterials();
-  virtual Int_t IsVersion() const {return 1;}
-  virtual void  DrawModule() const;
-  
-  ClassDef(AliPIPEv1,1)  //Class for PIPE version 1
-};
-
-#endif
diff --git a/STRUCT/AliPIPEv3.cxx b/STRUCT/AliPIPEv3.cxx
deleted file mode 100644 (file)
index 83ae05f..0000000
+++ /dev/null
@@ -1,535 +0,0 @@
-/**************************************************************************
- * 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$ */
-
-///////////////////////////////////////////////////////////////////////////////
-//                                                                           //
-//  Beam pipe class                                                          //
-//                                                                           //
-//Begin_Html
-/*
-<img src="picts/AliPIPEClass.gif">
-*/
-//End_Html
-//                                                                           //
-///////////////////////////////////////////////////////////////////////////////
-
-#include <TVirtualMC.h>
-
-#include "AliMagF.h"
-#include "AliPIPEv3.h"
-#include "AliRun.h"
-ClassImp(AliPIPEv3)
-//_____________________________________________________________________________
-AliPIPEv3::AliPIPEv3()
-{
-  //
-  // Default constructor for beam pipe
-  //
-}
-//_____________________________________________________________________________
-AliPIPEv3::AliPIPEv3(const char *name, const char *title)
-       : AliPIPE(name,title)
-{
-  //
-  // Standard constructor for beam pipe
-  //
-}
-//_____________________________________________________________________________
-void AliPIPEv3::CreateGeometry()
-{
-  //
-  // Create Beam Pipe geometry
-  //
-  //Begin_Html
-  /*
-    <img src="picts/AliPIPE.gif">
-  */
-  //End_Html
-  //Begin_Html
-  /*
-    <img src="picts/AliPIPETree.gif">
-  */
-  //End_Html
-
-  Float_t tpar[3], dzmo, zpos;
-  Float_t bepar[3], alpar[3],sspar[3],flange[3],vacpar[3];
-  Float_t bellow[3];
-//  Float_t undul[3];
-//  const Double_t z_flange = 150;
-//for undulated structure
-  char cn18[][5]={"CN01","CN02","CN03","CN04","CN05","CN06","CN07","CN08"};
-  char cn48[][5]={"CN21","CN22","CN23","CN24","CN25","CN26","CN27","CN28"};
-//  char undul[][5]={'BELO','UNDL'};
-  Float_t zundul;
-  Float_t rundul;
-  Float_t pitch;
-  Float_t thick;
-
-  
-  Int_t *idtmed = fIdtmed->GetArray()-1999;
-//     the mother of all beam pipes
-
-  tpar[0] = 0.;
-  tpar[1] = 10.;
-  tpar[2] = 1400. / 2;
-  dzmo = tpar[2];
-  gMC->Gsvolu("QQMO", "TUBE", idtmed[2015], tpar, 3);
-
-//     All beam pipe details as per the provisonal drawings given by Lars
-//     Leistam on 31.5.99 
-    
-//     Beryllium  beam pipe, length 56.6 cm, centered at vertex 
-  
-  bepar[0]=0.0;
-  bepar[1]=3.0;
-  bepar[2]=28.3;
-  zpos=0.0;
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=bepar[2];
-  //
-  gMC->Gsvolu("QQBE", "TUBE", idtmed[2004], bepar, 3);
-  gMC->Gsvolu("QAC1", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC1", 1, "QQBE", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QQBE", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-  
-  // now beam pipes only in negative z-part for use in PMD.
-  // SS Flange 4 cm thick, 5.8 cm ID, 6.3 cm OD
-  flange[0]=0.0;
-  flange[1]=3.15;
-  flange[2]=2.0;
-  zpos = zpos -bepar[2] - flange[2];
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=flange[2];
-  //
-  gMC->Gsvolu("QFL1", "TUBE", idtmed[2018], flange, 3);
-  gMC->Gsvolu("QAC2", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC2", 1, "QFL1", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QFL1", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-  
-  // Aluminium alloy beam pipe, 1mm thick, 230 cm long
-  alpar[0]=0.0;
-  alpar[1]=3.0;
-  alpar[2]=115.;
-  zpos = zpos - flange[2] - alpar[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=alpar[2];
-  gMC->Gsvolu("QQAL", "TUBE", idtmed[2003], alpar, 3);
-  gMC->Gsvolu("QAC3", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC3", 1, "QQAL", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QQAL", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-  // SS tube 2.0 cm long, 0.8 mm thick, 5.96 cm OD
-
-  sspar[0]=0.0;
-  sspar[1]=2.98;
-  sspar[2]=1.0;
-  zpos = zpos - alpar[2] - sspar[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=sspar[2];
-  gMC->Gsvolu("QSS1", "TUBE", idtmed[2018], sspar, 3);
-  gMC->Gsvolu("QAC4", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC4", 1, "QSS1", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QSS1", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-
- // SS Flange 3 cm thick 7.4 cm OD, 5.8 cm ID
-   
-  flange[0]=0.0;
-  flange[1]=3.7;
-  flange[2]=1.5;
-  zpos = zpos - sspar[2] - flange[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=flange[2];
-  gMC->Gsvolu("QFL2", "TUBE", idtmed[2018], flange, 3);
-  gMC->Gsvolu("QAC5", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC5", 1, "QFL2", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QFL2", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-
-  // SS tube 4.0 cm long, 0.8 mm thick, 5.96 cm OD
-
-  sspar[0]=0.0;
-  sspar[1]=2.98;
-  sspar[2]=2.0;
-  zpos = zpos - flange[2] - sspar[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=sspar[2];
-  gMC->Gsvolu("QSS2", "TUBE", idtmed[2018], sspar, 3);
-  gMC->Gsvolu("QAC6", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC6", 1, "QSS2", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QSS2", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-
-  // *************
-  // SS Bellow 8.4 cm long, 6.5 cm ID, 7.5 cm OD
-  // 0.8 mm thick material, 0.3 cm pitch.
-  // zundul=4.2, rundul=6.5, thick=0.08
-  // **************
-  pitch=0.3;
-  thick=0.08;
-  zundul=4.2;
-  rundul=6.5;
-  Undulation("BELO",pitch,thick,zundul,rundul,cn18);
-//
-  bellow[2]=zundul;
-  zpos = zpos - sspar[2] - bellow[2];
-  gMC->Gspos("BELO", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-  // SS tube 20.0 cm long, 0.8 mm thick, 5.96 cm OD
-
-  sspar[0]=0.0;
-  sspar[1]=2.98;
-  sspar[2]=10.0;
-  zpos = zpos - bellow[2] - sspar[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=sspar[2];
-  gMC->Gsvolu("QSS3", "TUBE", idtmed[2018], sspar, 3);
-  gMC->Gsvolu("QAC7", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC7", 1, "QSS3", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QSS3", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-  // *************
-  // SS Bellow 8.4 cm long, 6.5 cm ID, 7.5 cm OD
-  // 0.8 mm thick material, 0.3 cm pitch.
-  // **************
-//  
-  zpos = zpos - sspar[2] - bellow[2];
-  gMC->Gspos("BELO", 2, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-  // SS tube 4.7 cm long, 0.8 mm thick, 
-
-  sspar[0]=0.0;
-  sspar[1]=2.98;
-  sspar[2]=4.7/2.;
-  zpos = zpos - bellow[2] - sspar[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=sspar[2];
-  gMC->Gsvolu("QSS4", "TUBE", idtmed[2018], sspar, 3);
-  gMC->Gsvolu("QAC8", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC8", 1, "QSS4", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QSS4", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-  // SS Flange 2.2 cm thick, ID=5.8 cm, OD=9.8 cm
-
-  flange[0]=0.0;
-  flange[1]=4.9;
-  flange[2]=1.1;
-  zpos = zpos - sspar[2] - flange[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=flange[2];
-  gMC->Gsvolu("QFL3", "TUBE", idtmed[2018], flange, 3);
-  gMC->Gsvolu("QAC9", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QAC9", 1, "QFL3", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QFL3", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-//Total of 3150 mm from vertex on the negative side upto this point.
-
-// SS tube 20.0 cm long, 0.15 cm thick, 5.8 cm ID, to support vac. pump
-
-  sspar[0]=0.0;
-  sspar[1]=3.05;
-  sspar[2]=10.0;
-  zpos = zpos - flange[2] - sspar[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=sspar[2];
-  gMC->Gsvolu("QSS5", "TUBE", idtmed[2018], sspar, 3);
-  gMC->Gsvolu("QA10", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QA10", 1, "QSS5", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QSS5", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-// 
-  // last item, undulated SS beam pipe, pitch=0.25, length= 342.0 cm
-  // material thickness 0.015 cm, ID=6.0 cm,
-  // zundul=171.0, thick=0.015, rundul=3.0
-  pitch=0.25;
-  thick=0.015;
-  zundul=171;
-  rundul=3.0;
-  Undulation("UNDL",pitch,thick,zundul,rundul,cn48);
-  //
-  zpos = zpos - sspar[2] - zundul;
-  gMC->Gspos("UNDL", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-//
-  gMC->Gspos("QQMO", 1, "ALIC", 0., 0., 0.1, 0, "ONLY");
-
-//     total of 6770 mm length upto this point, end of undulated beam
-//     pipe section.
-
-//     SS flange 22*2 mm thick
-
-
-  flange[0]=0.0;
-  flange[1]=6.3;
-  flange[2]=2.2;
-  zpos = zpos  - zundul - flange[2];
-
-  vacpar[0]=0.0;
-  vacpar[1]=2.9;
-  vacpar[2]=flange[2];
-  gMC->Gsvolu("QFL4", "TUBE", idtmed[2018], flange, 3);
-  gMC->Gsvolu("QC11", "TUBE", idtmed[2015], vacpar, 3);
-  gMC->Gspos("QC11", 1, "QFL4", 0., 0., 0., 0, "ONLY");
-  gMC->Gspos("QFL4", 1, "QQMO", 0., 0., zpos, 0, "ONLY");
-
-}
-
-//_____________________________________________________________________________
-void AliPIPEv3::DrawModule() const
-{  
-  //
-  // Draw a shaded view of the Beam Pipe
-  //
-
-  // Set everything unseen
-  gMC->Gsatt("*", "seen", -1);
-  // 
-  // Set ALIC mother transparent
-  gMC->Gsatt("ALIC","SEEN",0);
-  //
-  // Set the volumes visible
-  gMC->Gsatt("QQMO","seen",1);
-  gMC->Gsatt("QQBE","seen",1);
-  gMC->Gsatt("QFL1","seen",1);
-  gMC->Gsatt("QQAL","seen",1);
-  gMC->Gsatt("QSS1","seen",1);
-  gMC->Gsatt("QFL2","seen",1);
-  gMC->Gsatt("QSS2","seen",1);
-  gMC->Gsatt("QSS3","seen",1);
-  gMC->Gsatt("QSS4","seen",1);
-  gMC->Gsatt("QFL3","seen",1);
-  gMC->Gsatt("QSS5","seen",1);
-  gMC->Gsatt("BELO","seen",1);
-  gMC->Gsatt("UNDL","seen",1);
-  //
-  gMC->Gdopt("hide", "on");
-  gMC->Gdopt("shad", "on");
-  gMC->Gsatt("*", "fill", 7);
-  gMC->SetClipBox(".");
-  gMC->SetClipBox("*", 0, 3000, -3000, 3000, -6000, 6000);
-  gMC->DefaultRange();
-  gMC->Gdraw("alic", 40, 30, 0, 3, 5, .04, .04);
-  gMC->Gdhead(1111, "Beam Pipe");
-  gMC->Gdman(16, 6, "MAN");
-  gMC->Gdopt("hide","off");
-}
-
-//_____________________________________________________________________________
-void AliPIPEv3::CreateMaterials()
-{
-  //
-  // Create materials for beam pipe
-  //
-
-  Int_t   isxfld = gAlice->Field()->Integ();
-  Float_t sxmgmx = gAlice->Field()->Max();
-  
-  Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
-  Float_t zsteel[4] = { 26.,24.,28.,14. };
-  Float_t wsteel[4] = { .715,.18,.1,.005 };
-  
-  Float_t epsil, stmin, tmaxfd, deemax, stemax;
-  
-  //     STEEL 
-  
-  
-  // --- Define the various materials for GEANT --- 
-  AliMaterial(5, "BERILLIUM$", 9.01, 4., 1.848, 35.3, 36.7);
-  AliMaterial(4, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 18.5);
-  AliMaterial(16, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16);
-  AliMaterial(15, "AIR$      ", 14.61, 7.3, .001205, 30423.24, 67500);
-  AliMixture(19, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
-  
-  // **************** 
-  //     Defines tracking media parameters. 
-  //     Les valeurs sont commentees pour laisser le defaut 
-  //     a GEANT (version 3-21, page CONS200), f.m. 
-  epsil  = .001;  // Tracking precision, 
-  stemax = -1.;   // Maximum displacement for multiple scat 
-  tmaxfd = -20.;  // Maximum angle due to field deflection 
-  deemax = -.3;   // Maximum fractional energy loss, DLS 
-  stmin  = -.8;
-  
-  //    Air 
-  
-  AliMedium(15, "AIR_L3_US", 15, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  
-  //    Beryllium 
-  
-  AliMedium(5, "BE_L3_US", 5, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-
-  
-    //    Aluminium 
-  
-  AliMedium(4, "AL_L3_US", 4, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-
-  //   Vacuum
-
-  AliMedium(16, "VA_L3_US", 16, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  
-  //    Steel 
-  
-  AliMedium(19, "ST_L3_US", 19, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-}
-//
-void AliPIPEv3::Undulation(char *undul, Float_t pitch, Float_t thick,
-                        Float_t zundul, Float_t rundul, char (*cone)[5])
-{
-  //
-  // RUNDUL   : Internal radius of the undulated chamber
-  // THICK    : material thickness
-  // PITCH    : one-QUARTER wave of undulation (cm)
-  // ZUNDUL   : half length (cm)
-  //
-  // The undulated structure is desgned as a superposition of eight CONES
-  // of suitable sizes, where the inner/outer radius of the cone increases,
-  // then decreases, each half of the wave is assumed to be a semicircle,
-  // which allows to calculate the thickness and the radii of the cone, by
-  // dividing the semicircle into 4 parts of equal arc length.
-  // Thus apear the constants 0.293 and 0.707.
-  //
-
-  const Float_t kConst1 = .293;
-  const Float_t kConst2 = .707;
-
-  // Local variables
-  Int_t j, nwave;
-  Float_t dcone1[5], dcone2[5], dcone3[5], dcone4[5], dcone5[5],
-    dcone6[5], dcone7[5], dcone8[5];
-  Float_t xc, yc, zc, dundul[3];
-  Int_t *idtmed = fIdtmed->GetArray()-1999;
-
-  // Function Body
-
-  dcone1[0] = kConst1 * pitch / 2;
-  dcone1[1] = rundul;
-  dcone1[2] = dcone1[1] + thick;
-  dcone1[3] = dcone1[1] + kConst2 * pitch;
-  dcone1[4] = dcone1[3] + thick;
-
-  dcone2[0] = kConst2 * pitch / 2;
-  dcone2[1] = dcone1[3];
-  dcone2[2] = dcone1[4];
-  dcone2[3] = dcone2[1] + kConst1 * pitch;
-  dcone2[4] = dcone2[3] + thick;
-
-  dcone3[0] = dcone2[0];
-  dcone3[1] = dcone2[3];
-  dcone3[2] = dcone2[4];
-  dcone3[3] = dcone2[1];
-  dcone3[4] = dcone2[2];
-
-  dcone4[0] = dcone1[0];
-  dcone4[1] = dcone1[3];
-  dcone4[2] = dcone1[4];
-  dcone4[3] = dcone1[1];
-  dcone4[4] = dcone1[2];
-
-  dcone5[0] = dcone1[0];
-  dcone5[1] = dcone1[1] - thick;
-  dcone5[2] = dcone1[1];
-  dcone5[3] = dcone5[1] - kConst2 * pitch;
-  dcone5[4] = dcone5[3] + thick;
-
-  dcone6[0] = dcone2[0];
-  dcone6[1] = dcone5[3];
-  dcone6[2] = dcone5[4];
-  dcone6[3] = dcone6[1] - kConst1 * pitch;
-  dcone6[4] = dcone6[3] + thick;
-  dcone7[0] = dcone6[0];
-  dcone7[1] = dcone6[3];
-  dcone7[2] = dcone6[4];
-  dcone7[3] = dcone5[3];
-  dcone7[4] = dcone5[4];
-
-  dcone8[0] = dcone5[0];
-  dcone8[1] = dcone7[3];
-  dcone8[2] = dcone7[4];
-  dcone8[3] = dcone5[1];
-  dcone8[4] = dcone5[2];
-
-  gMC->Gsvolu(cone[0], "CONE", idtmed[2018], dcone1, 5);
-  gMC->Gsvolu(cone[1], "CONE", idtmed[2018], dcone2, 5);
-  gMC->Gsvolu(cone[2], "CONE", idtmed[2018], dcone3, 5);
-  gMC->Gsvolu(cone[3], "CONE", idtmed[2018], dcone4, 5);
-  gMC->Gsvolu(cone[4], "CONE", idtmed[2018], dcone5, 5);
-  gMC->Gsvolu(cone[5], "CONE", idtmed[2018], dcone6, 5);
-  gMC->Gsvolu(cone[6], "CONE", idtmed[2018], dcone7, 5);
-  gMC->Gsvolu(cone[7], "CONE", idtmed[2018], dcone8, 5);
-  gMC->Gsatt(cone[0], "SEEN", 0);
-  gMC->Gsatt(cone[1], "SEEN", 0);
-  gMC->Gsatt(cone[2], "SEEN", 0);
-  gMC->Gsatt(cone[3], "SEEN", 0);
-  gMC->Gsatt(cone[4], "SEEN", 0);
-  gMC->Gsatt(cone[5], "SEEN", 0);
-  gMC->Gsatt(cone[6], "SEEN", 0);
-  gMC->Gsatt(cone[7], "SEEN", 0);
-
-  // DEFINE AN IMAGINARY TUBE VOLUME FOR UNDULATED CHAMBER, FILL WITH VACUUM
-
-  nwave = Int_t (zundul / (pitch * 2) + .1);
-  dundul[2] = pitch * 2 * nwave;
-  dundul[1] = rundul + pitch + thick * 2;
-  //
-  dundul[0] = 1e-4;
-  gMC->Gsvolu(undul, "TUBE", idtmed[2015], dundul, 3);
-
-  xc = 0;
-  yc = 0;
-  zc = -dundul[2] + dcone1[0];
-  for (j = 1; j <= nwave; ++j) {
-    gMC->Gspos(cone[0], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone1[0] + dcone2[0];
-    gMC->Gspos(cone[1], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone2[0] + dcone3[0];
-    gMC->Gspos(cone[2], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone3[0] + dcone4[0];
-    gMC->Gspos(cone[3], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone4[0] + dcone5[0];
-    gMC->Gspos(cone[4], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone5[0] + dcone6[0];
-    gMC->Gspos(cone[5], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone6[0] + dcone7[0];
-    gMC->Gspos(cone[6], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone7[0] + dcone8[0];
-    gMC->Gspos(cone[7], j, undul, xc, yc, zc, 0, "ONLY");
-    zc = zc + dcone8[0] + dcone1[0];
-  }
-}
diff --git a/STRUCT/AliPIPEv3.h b/STRUCT/AliPIPEv3.h
deleted file mode 100644 (file)
index c10cb85..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef ALIPIPEV3_H
-#define ALIPIPEV3_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
-////////////////////////////////////////////////
-//  Manager class for detector: PIPE          //
-////////////////////////////////////////////////
-#include "AliPIPE.h"
-class AliPIPEv3 : public AliPIPE {
-public:
-  AliPIPEv3();
-  AliPIPEv3(const char *name, const char *title);
-  virtual      ~AliPIPEv3() {}
-  virtual void  CreateGeometry();
-  virtual void  CreateMaterials();
-  virtual Int_t IsVersion() const {return 3;}
-  virtual void  DrawModule() const;
-  virtual void  Undulation(char *undul, Float_t pitch, Float_t thick, Float_t zundul, Float_t rundul,
-                           char (*cone)[5]);
-  ClassDef(AliPIPEv3,1)  //Class for PIPE version 3
-};
-
-#endif