ROOT logo
/**************************************************************************
 * 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
//  Default version
//  Author: A.Morsch
//-------------------------------------------------------------------------

#include <Riostream.h>

#include <TGeoManager.h>
#include <TGeoGlobalMagField.h>
#include <TSystem.h>
#include <TVirtualMC.h>
#include <TArrayI.h>

#include "AliConst.h"
#include "AliMagF.h"
#include "AliPIPEv0.h"
#include "AliRun.h"
#include "AliLog.h"
 
ClassImp(AliPIPEv0)

 
//_____________________________________________________________________________
AliPIPEv0::AliPIPEv0():
    fPipeMaterial(kBe)   
{
// Constructor
}

//_____________________________________________________________________________
AliPIPEv0::AliPIPEv0(const char *name, const char *title)
    : AliPIPE(name,title),
      fPipeMaterial(kBe)   
{
// Constructor
}

 
//___________________________________________
void AliPIPEv0::CreateGeometry()
{
//Begin_Html
/*
<img src="picts/pipe.gif">
*/
//End_Html


//Begin_Html
/*
<img src="picts/tree_pipe.gif">
*/
//End_Html

    AliDebugClass(1,"Create PIPEv0 geometry");
  

    Int_t *idtmed = fIdtmed->GetArray();
    Float_t ppcon[90], ptube[3], pbox[3];
    Int_t i=0;
    
    
    Int_t   idrotm[2099];  
    AliMatrix(idrotm[2001],90.,240.,  0.,  0., 90.,150.);
    AliMatrix(idrotm[2002],90.,  0.,  0.,  0., 90.,270.);
    AliMatrix(idrotm[2003],90.,120.,  0.,  0., 90., 30.);
    AliMatrix(idrotm[2004],90.,315., 90., 45.,  0.,  0.);
    AliMatrix(idrotm[2005],90.,270., 90.,  0.,  0.,  0.);
    AliMatrix(idrotm[2006],90.,225., 90.,315.,  0.,  0.);
    AliMatrix(idrotm[2007],90.,180., 90.,270.,  0.,  0.);
    AliMatrix(idrotm[2008],90.,135., 90.,225.,  0.,  0.);
    AliMatrix(idrotm[2009],90., 90., 90.,180.,  0.,  0.);
    AliMatrix(idrotm[2010],90., 45., 90.,135.,  0.,  0.);
    idrotm[2011] = 0;
    AliMatrix(idrotm[2012],90.,180., 90., 90.,180.,  0.);
    AliMatrix(idrotm[2013],90.,  0., 90., 90.,180.,  0.);
//
//  Bellow
//
//  distance between bellows
//  total size of bellow section
    const Float_t kdzb  = 14.6;
//  size of undulated region 
//  
//  Absorber side
//   
//  distance between bellows
    const Float_t kdzbbA =  4.6;
//  total size of bellow section
    const Float_t kdzbA  = 14.6;
//  size of undulated region 
    const Float_t kdzubA =  3.75;

// half-lengths of various beam pipe sections
// central Be-Pipe
    Float_t hlenQbbe1 = 40.;
    Float_t hlenQbbe2 = 36.5;
    Float_t hlenQbbe  = (hlenQbbe1+hlenQbbe2)/2.;
//
//
//    Float_t hlenQbt1 = 5.5/2.;
//
//  Pipe outside central region (non-absorber side)
    Float_t hlenQbab = 157.5 + 23./2.;
//
//  Flange non-absorber side
    Float_t hlenQb29 = 11.5/2.+1.75 + 5.0;
//
//  Bellow element 
    Float_t hlenQbe0 = kdzbA;
//
//  Inox pipe between Be and Bellow (absorber side)
    Float_t hlenQb24[3] = {11.3/2., 1.8, 3.3};
//
//
    Float_t hlenQb28 = (800.-hlenQbbe1-2.*hlenQbab-4.*hlenQb29-2.*hlenQbe0)/2.;
//
//  Position of the pump
    Float_t zPump = hlenQbbe1+2.*hlenQbab+2.*hlenQb29+kdzb;
//
//  Inner beam pipe radius
//  Be
    const Float_t kRinBe = 2.9;
//  Steel
    const Float_t kRinSt = 2.9;
//  Bellow
    const Float_t kRinSB = 2.92;
//
//  Outer beam pipe radius
//  Be
    const Float_t kRoutBe = 2.98;
//  Steel
    const Float_t kRoutSt = 2.98;
//  Bellow
    const Float_t kRoutSB = 3.00;

//
    Float_t dz;
    
//
// The peam pipe up to the Front Absorber
//
// Mother Volume QBPM
    ppcon[0]  =   0;
    ppcon[1]  = 360;
    ppcon[2]  =  20;
//  1 
    ppcon[3]  = -90.;
    ppcon[4]  =   0.;
    ppcon[5]  =   3.1;
//  2
    ppcon[6]  = -84.;
    ppcon[7]  =   0.;
    ppcon[8]  =   3.1;
//  3
    ppcon[9]  = -84.;
    ppcon[10] =   0.;
    ppcon[11] =   4.4;
//  4
    ppcon[12] = -90+2.*hlenQb24[2]+2.8+2.*hlenQb24[1];
    ppcon[13] =   0.;
    ppcon[14] =   4.4;
//  5
    ppcon[15]  = ppcon[12];
    ppcon[16] =   0.;
    ppcon[17] =   4.1;
//  6 
    ppcon[18] = ppcon[15] + 2.5 + 2.*kdzubA+0.2; 
    ppcon[19] =   0.;
    ppcon[20] =   4.1;
//  7 
    ppcon[21] = ppcon[18];
    ppcon[22] =   0.;
    ppcon[23] =   3.2;
//  8 
    ppcon[24] = ppcon[21] + 2.* kdzbbA-0.4; 
    ppcon[25] =   0.;
    ppcon[26] =   3.2;
//  9
    ppcon[27] = ppcon[24]; 
    ppcon[28] =   0.;
    ppcon[29] =   4.1;
//  10
    ppcon[30] = -44.;
    ppcon[31] =   0.;
    ppcon[32] =   4.1;
//  11
    ppcon[33] = -44.;
    ppcon[34] =    0;
    ppcon[35] =    3.06;
//  12
    ppcon[36] =  38.;
    ppcon[37] =    0;
    ppcon[38] =    3.06;
//  13
    ppcon[39] =  38.;
    ppcon[40] =    0;
    ppcon[41] =    4.1;
//  14
    ppcon[42] = hlenQbbe1+2.*hlenQbab-0.1;
    ppcon[43] =    0.;
    ppcon[44] =    4.1;
//  15
    ppcon[45] = ppcon[42];
    ppcon[46] =    0.;
    ppcon[47] =    4.1;
//  16
    ppcon[48] = ppcon[45]+2.*hlenQb29-5.;
    ppcon[49] =    0.;
    ppcon[50] =    4.1;
//  17
    ppcon[51] = ppcon[48];
    ppcon[52] =    0.;
    ppcon[53] =   56.;
//  18
    ppcon[54] = ppcon[51]+2.*kdzb+10.;
    ppcon[55] =    0.;
    ppcon[56] =   56.;
//  19
    ppcon[57] =   ppcon[54];
    ppcon[58] =    0.;
    ppcon[59] =    4.1;
//  20
    ppcon[60] =  800.;
    ppcon[61] =    0.;
    ppcon[62] =    4.1;
    
    TVirtualMC::GetMC()->Gsvolu("QBPM", "PCON", idtmed[kAir], ppcon,63);


//
// volume definitions of various sections
//

//
// The Vacuum 
    TVirtualMC::GetMC()->Gsvolu("QBVA","TUBE", idtmed[kVac], ptube, 0);
    ptube[0] =   0.0;
    ptube[1] =   kRinSt;
    ptube[2] =   (90.-hlenQbbe2)/2.;
    dz = -90. + ptube[2];
    TVirtualMC::GetMC()->Gsposp ("QBVA", 1, "QBPM", 0., 0., dz , 0, "ONLY", ptube, 3);
    dz = dz + ptube[2];

    ptube[1] =   kRinBe;
    ptube[2] =   hlenQbbe+hlenQbab;
    dz = dz + ptube[2];
    TVirtualMC::GetMC()->Gsposp ("QBVA", 2, "QBPM", 0., 0., dz , 0, "ONLY", ptube, 3);
    dz = dz + ptube[2];

    ptube[1] =   kRinSt;
    ptube[2] =   (800.-hlenQbbe1-2.*hlenQbab)/2.;
    dz = dz + ptube[2];
    TVirtualMC::GetMC()->Gsposp ("QBVA", 3, "QBPM", 0., 0., dz , 0, "ONLY", ptube, 3);

//
// Be Pipe in central Alice 
    ptube[0] = kRinBe;
    ptube[1] = kRoutBe;
    ptube[2] = hlenQbbe;
    
    TVirtualMC::GetMC()->Gsvolu("QBBE","TUBE", idtmed[kBe], ptube, 3);
    
//
//  Support Ring
//
    //  Mother
    ptube[0] = kRoutSB;
    ptube[1] = 4.0;
    ptube[2] = 0.6;
    TVirtualMC::GetMC()->Gsvolu("QBSR", "TUBE", idtmed[kAlu], ptube,3);
    // Inner support
    ptube[0] = kRoutSB;
    ptube[1] = 3.5;
    TVirtualMC::GetMC()->Gsvolu("QBSS", "TUBE", idtmed[kPA], ptube,3);
    TVirtualMC::GetMC()->Gspos("QBSS", 1, "QBSR", 0.0, 0.0,  0.0, 0, "ONLY");

    TVirtualMC::GetMC()->Gspos("QBSR", 1, "QBPM", 0.0, 0.0,  40., 0, "ONLY");
    TVirtualMC::GetMC()->Gspos("QBSR", 2, "QBPM", 0.0, 0.0, 150., 0, "ONLY");
    TVirtualMC::GetMC()->Gspos("QBSR", 3, "QBPM", 0.0, 0.0, 260., 0, "ONLY");
    TVirtualMC::GetMC()->Gspos("QBSR", 4, "QBPM", 0.0, 0.0,- 46., 0, "ONLY");
//
// Flange and Fixed Point: non absorber side
//
// ---------->
//
//  Mother
    ppcon[0]  =   0;
    ppcon[1]  = 360;
    ppcon[2]  =   4;
//  1: 
    ppcon[3]  = -hlenQb29;
    ppcon[4]  = kRinSt;
    ppcon[5]  = 5.8;
//  2
    ppcon[6]  = ppcon[3]+3.6;
    ppcon[7]  = kRinSt;
    ppcon[8]  = 5.8;
//  3
    ppcon[9]  = ppcon[6];
    ppcon[10] = kRinSt;
    ppcon[11] = 3.6;
//  4 
    ppcon[12] = hlenQb29;
    ppcon[13] = kRinSt;
    ppcon[14] = 3.6;
    
    TVirtualMC::GetMC()->Gsvolu("QB29", "PCON", idtmed[kAir], ppcon,15);
    

//    Flange
    ptube[0] = kRinSt;
    ptube[1] = 5.7;
    ptube[2] = 1.75;
    TVirtualMC::GetMC()->Gsvolu("QF29","TUBE", idtmed[kInox], ptube, 3);
    TVirtualMC::GetMC()->Gspos("QF29", 1, "QB29", 0.0, 0.0, -hlenQb29+1.75, 0, "ONLY");
//    Pipe
    ptube[0] = kRinSt;
    ptube[1] = 3.06;
    ptube[2] = hlenQb29;
    TVirtualMC::GetMC()->Gsvolu("QS29","TUBE", idtmed[kInox], ptube, 3);
    TVirtualMC::GetMC()->Gspos("QS29", 1, "QB29", 0.0, 0.0, 0., 0, "ONLY");
//    Fixed point
    ptube[0] = kRinSt;
    ptube[1] = 3.5;
    ptube[2] = 0.3;
    TVirtualMC::GetMC()->Gsvolu("QP29","TUBE", idtmed[kInox], ptube, 3);
    TVirtualMC::GetMC()->Gspos("QP29", 1, "QB29", 0.0, 0.0, -hlenQb29+9.75+3., 0, "ONLY");
    
//
//
// Inox beam pipe: final section on non-absorber side

    ptube[0] =   kRinSt;
    ptube[1] =   kRoutSt;
    ptube[2] =   hlenQb28;    

    TVirtualMC::GetMC()->Gsvolu("QB28","TUBE", idtmed[kInox], ptube, 3);
//
//
// Air with high transport cuts outside QB28
    ptube[0] =   25.;
    ptube[1] =   100.;
    ptube[2] =   hlenQb28;    

    TVirtualMC::GetMC()->Gsvolu("QA28","TUBE", idtmed[kAirHigh], ptube, 3);
    gGeoManager->SetVolumeAttribute("QA28", "SEEN", 0);
//  Al-Be (40-60 wgt%, rho=2.7 g/cm**3) beam pipe
//
//  This section is under study (A.M. 1/2/2002)
//

    ptube[0] = kRinBe;
    if (fPipeMaterial == kAlu) {
	ptube[1] = 3.06;
    } else if (fPipeMaterial == kBe) {
	ptube[1] = kRoutBe;
    } else if (fPipeMaterial == kInox){
	ptube[1] = kRoutSt;
    }
    ptube[2] =   hlenQbab;    

    TVirtualMC::GetMC()->Gsvolu("QBAB","TUBE", idtmed[fPipeMaterial], ptube, 3);

// 2.5 mm thick SS tube for hanging pump
/*
    ptube[0] = Rin;
    ptube[1] = 3.15;
    ptube[2] = hlenQb26;
    
    TVirtualMC::GetMC()->Gsvolu("QB26","TUBE", idtmed[kInox], ptube, 3);
*/
//
// Bellows
//
//
// Mother Volume
    Float_t pconQBE0[33];
    pconQBE0[ 0]= 0;
    pconQBE0[ 1]= 360;
    pconQBE0[ 2]=  10;
//  1
    pconQBE0[ 3] = -kdzbA;
    pconQBE0[ 4] = kRinSB;
    pconQBE0[ 5] = kRoutSB;
//
    pconQBE0[ 6] = -kdzbA+2.5;
    pconQBE0[ 7] = kRinSB;
    pconQBE0[ 8] = kRoutSB;
//  2
    pconQBE0[ 9] = -kdzbA+2.5;
    pconQBE0[10] = kRinSB;
    pconQBE0[11] = 3.60;
//  3
    pconQBE0[12] = -kdzbA+2.5+2.*kdzubA;
    pconQBE0[13] = kRinSB;
    pconQBE0[14] = 3.60;
//  4
    pconQBE0[15] = -kdzbA+2.5+2.*kdzubA;
    pconQBE0[16] = kRinSB;
    pconQBE0[17] = kRoutSB;
//  5    
    pconQBE0[18] = -kdzbA+2.5+2.*kdzubA+2.*kdzbbA;
    pconQBE0[19] = kRinSB;
    pconQBE0[20] = kRoutSB;
//  6    
    pconQBE0[21] = -kdzbA+2.5+2.*kdzubA+2.*kdzbbA;
    pconQBE0[22] = kRinSB;
    pconQBE0[23] = 3.60;
//  7
    pconQBE0[24] = -kdzbA+2.5+4.*kdzubA+2.*kdzbbA;
    pconQBE0[25] = kRinSB;
    pconQBE0[26] = 3.60;
//  8
    pconQBE0[27] = -kdzbA+2.5+4.*kdzubA+2.*kdzbbA;
    pconQBE0[28] = kRinSB;
    pconQBE0[29] = kRoutSB;
// 9
    pconQBE0[30] = -kdzbA+5.0+4.*kdzubA+2.*kdzbbA;
    pconQBE0[31] = kRinSB;
    pconQBE0[32] = kRoutSB;

    TVirtualMC::GetMC()->Gsvolu("QBE0", "PCON", idtmed[kAir], pconQBE0, 33);
//
//  Undulated piece mother
    ptube[0] =  kRinSB;
    ptube[1] =  3.60;
    ptube[2] =  kdzubA;
    TVirtualMC::GetMC()->Gsvolu("QBEM","TUBE", idtmed[kAir], ptube, 3);
    dz = -kdzbA+kdzubA+2.5;
    TVirtualMC::GetMC()->Gspos("QBEM", 2 ,"QBE0", 0.0, 0.0,   dz, 0 , "ONLY");
    TVirtualMC::GetMC()->Gspos("QBEM", 1 ,"QBE0", 0.0, 0.0,  -dz, idrotm[2012], "ONLY");
//  
    Float_t pund[30];
    Float_t uw = 0.02;
    Float_t ur = 2.*kdzubA-36.*uw;
    Float_t uz = ur/37.;
    Float_t ut = uz+uw;
    
    pund[ 0] = 0;
    pund[ 1] = 360;
    pund[ 2] =  8;

    pund[ 3] = -ut;
    pund[ 4] = kRinSB;
    pund[ 5] = kRinSB+uw;
    
    pund[ 6] = -ut+uz;
    pund[ 7] = pund[4];
    pund[ 8] = pund[5];
    
    pund[ 9] = pund[6];
    pund[10] = pund[4];
    pund[11] = 3.6;
    
    pund[12] = pund[9]+uw;
    pund[13] = pund[10];
    pund[14] = pund[11];
    
    pund[15] = pund[12];
    pund[16] = 3.6-uw;
    pund[17] = pund[14];
    
    pund[18] = pund[12]+uz;
    pund[19] = pund[16];
    pund[20] = pund[17];
    
    pund[21] = pund[18];
    pund[22] = kRinSB;
    pund[23] = pund[20];
    
    pund[24] = pund[21]+uw;
    pund[25] = pund[22];
    pund[26] = pund[23];

    TVirtualMC::GetMC()->Gsvolu("QBEU", "PCON", idtmed[kInox], pund, 27);

    for (i = 0; i < 18; i++)
    {
	dz = -kdzubA+(1+2*i)*ut;
	TVirtualMC::GetMC()->Gspos("QBEU", i+1 ,"QBEM", 0.0, 0.0,   dz, 0 , "ONLY");
    }
    ptube[0] =  kRinSB;
    ptube[1] =  kRinSB+uw;
    ptube[2] =  uz;
    TVirtualMC::GetMC()->Gsvolu("QBEW","TUBE", idtmed[kInox], ptube, 3);
    TVirtualMC::GetMC()->Gspos("QBEW", 1 ,"QBEM", 0.0, 0.0,   kdzubA-uz, 0 , "ONLY");

//
//  BeamPipe
    TVirtualMC::GetMC()->Gsvolu("QBEP","TUBE", idtmed[kInox], ptube, 0);
    ptube[0] =  kRinSB;
    ptube[1] =  kRoutSB;
    ptube[2] =  1.25;
    TVirtualMC::GetMC()->Gsposp("QBEP", 1 ,"QBE0", 0.0, 0.0, -kdzbA+1.25, 0 , "ONLY", ptube, 3);
    TVirtualMC::GetMC()->Gsposp("QBEP", 2 ,"QBE0", 0.0, 0.0,  kdzbA-1.25, 0 , "ONLY", ptube, 3);    
    ptube[2] = kdzbbA;
    TVirtualMC::GetMC()->Gsposp("QBEP", 3 ,"QBE0", 0.0, 0.0,  0., 0 , "ONLY", ptube, 3);    
//  
//
//  ----> End Bellow
//
// **** Placement of various sections on non-absorber side ****
//
    //
    // first the beryllium section
    Float_t zpos = -(hlenQbbe2-hlenQbbe1)/2;
    TVirtualMC::GetMC()->Gspos("QBBE", 1, "QBPM", 0., 0., zpos, 0, "ONLY");

    // next meta-metal transition QBT1 on on-absorber side
//    zpos = zpos + hlenQbbe + hlenQbt1;
//    TVirtualMC::GetMC()->Gspos("QBT1", 1, "QBPM", 0., 0.,  zpos, 0, "ONLY");
    
    // Aluminium OR Al-be alloy section
    zpos = hlenQbbe1+hlenQbab;
    TVirtualMC::GetMC()->Gspos("QBAB", 1, "QBPM", 0.0, 0.0, zpos, 0, "ONLY");
    //
    // inox flange at the start of bellow
    zpos = zpos + hlenQbab + hlenQb29;
    TVirtualMC::GetMC()->Gspos("QB29", 1, "QBPM", 0.0, 0.0, zpos, idrotm[2012], "ONLY");
    //
    // bellow section
    zpos = zpos + hlenQb29 + hlenQbe0;
    TVirtualMC::GetMC()->Gspos("QBE0", 2 ,"QBPM", 0.0, 0.0, zpos, 0, "ONLY");
    // 
    // inox flange at the end of bellow and start of thick inox for pump
    zpos = zpos + hlenQbe0 + hlenQb29;
    TVirtualMC::GetMC()->Gspos("QB29", 2, "QBPM", 0.0, 0.0, zpos, 0, "ONLY");
    //   
    //last inox section till 800 cm
    zpos = zpos + hlenQb29 + hlenQb28;
    TVirtualMC::GetMC()->Gspos("QB28", 1, "QBPM", 0.0, 0.0, zpos, 0, "ONLY"); 
    TVirtualMC::GetMC()->Gspos("QA28", 1, "ALIC", 0.0, 0.0, zpos, 0, "ONLY"); 
    
//******** end of placement on non-absorber side *********
    //
    // **** Absorber side *****   
    //
    //
//
// Beam pipes between elements
//    
    TVirtualMC::GetMC()->Gsvolu("QB24","TUBE", idtmed[kInox], ptube, 0);
    ptube[0] = kRinSt;
    ptube[1] = kRoutSt;
    ptube[2] = hlenQb24[0];
    Float_t bpbe[33];
    bpbe[ 0] =   0.;
    bpbe[ 1] = 360.;
    bpbe[ 2] =  10.;
    // 1
    bpbe[ 3] = -hlenQb24[0];
    bpbe[ 4] = kRinSB;
    bpbe[ 5] = kRoutSB;
    // 2
    bpbe[ 6] = hlenQb24[0] - 5.8;
    bpbe[ 7] = kRinSB;
    bpbe[ 8] = kRoutSB;
    // 3
    bpbe[ 9] = hlenQb24[0] - 5.8;
    bpbe[10] = kRinSt;
    bpbe[11] = 3.05;
    // 4
    bpbe[12] = hlenQb24[0] - 4.5;
    bpbe[13] = kRinSt;
    bpbe[14] = 3.05;
    // 5
    bpbe[15] = hlenQb24[0] - 4.5;
    bpbe[16] = kRinSt;
    bpbe[17] = kRoutSt ;
    // 6
    bpbe[18] = hlenQb24[0] - 3.5;
    bpbe[19] = kRinSt;
    bpbe[20] = kRoutSt ;
    // 7
    bpbe[21] = hlenQb24[0] - 3.5;
    bpbe[22] = kRinSt;
    bpbe[23] = 3.05;
    // 8
    bpbe[24] = hlenQb24[0] - 3.0;
    bpbe[25] = kRinSt;
    bpbe[26] = 3.05;
    // 9
    bpbe[27] = hlenQb24[0] - 3.0;
    bpbe[28] = kRinSt;
    bpbe[29] = kRoutSt;
    // 10
    bpbe[30] = hlenQb24[0];
    bpbe[31] = kRinSt;
    bpbe[32] = kRoutSt;

    TVirtualMC::GetMC()->Gsvolu("QA24","PCON", idtmed[kInox], bpbe, 33);

    dz = hlenQbbe2 + hlenQb24[0];
    
    TVirtualMC::GetMC()->Gspos("QA24", 1 ,"QBPM", 0.0, 0.0, -dz, 0, "ONLY");
//
// Bellow on absorber side

    dz = dz+hlenQb24[0] + kdzbA;
    TVirtualMC::GetMC()->Gspos("QBE0", 1 ,"QBPM", 0.0, 0.0, -dz, 0, "ONLY");
//
    ptube[2] = hlenQb24[1];
    dz = dz + kdzb + ptube[2];
    TVirtualMC::GetMC()->Gsposp("QB24", 2 ,"QBPM", 0.0, 0.0, -dz, 0, "ONLY", ptube, 3);
    dz = dz + ptube[2];
    
//
// Flange
// 
//  Mother Volume
    ptube[0] = kRinSB;
    ptube[1] = 4.300;
    ptube[2] = 1.4;
    
    TVirtualMC::GetMC()->Gsvolu("QFA0","TUBE", idtmed[kInox], ptube, 3);
    dz = dz + ptube[2];
    TVirtualMC::GetMC()->Gspos("QFA0", 1 ,"QBPM", 0.0, 0.0, -dz, 0, "ONLY");
    dz = dz + ptube[2];
//
//
    ptube[0] = kRinSB;
    ptube[1] = kRoutSB;
    ptube[2] = hlenQb24[2];
    dz = dz + ptube[2];
    TVirtualMC::GetMC()->Gsposp("QB24", 3 ,"QBPM", 0.0, 0.0, -dz, 0, "ONLY", ptube, 3);

// --- Place the PIPE ghost volume (QBPM) in its mother volume (ALIC)
//    by rotating it to 180 deg. and make it invisible
// 
    TVirtualMC::GetMC()->Gspos("QBPM",1,"ALIC", 0, 0, 0, 0, "ONLY");
    TVirtualMC::GetMC()->Gsbool("QBPM", "L3DX");
    TVirtualMC::GetMC()->Gsbool("QBPM", "L3O3");
    TVirtualMC::GetMC()->Gsbool("QBPM", "L3O4");


//
// ******** Ion Pump volume description starts here ******
// 
    //
    // Getters ->
    pbox[0] =  6.50;
    pbox[1] =  6.75;
    pbox[2] = 15.60;
    TVirtualMC::GetMC()->Gsvolu("QI32","BOX", idtmed[kInox], pbox, 3);
    
    pbox[0] =  5.90;
    pbox[1] =  6.15;
    pbox[2] = 15.00;
    TVirtualMC::GetMC()->Gsvolu("QI42","BOX", idtmed[kGetter], pbox, 3);
    TVirtualMC::GetMC()->Gspos("QI42", 1, "QI32", 0.0, 0.0, 0.0, 0, "ONLY");
// <-

    ptube[0] =  0.0;
    ptube[1] = 19.0;
    ptube[2] =  2.5;
    TVirtualMC::GetMC()->Gsvolu("QI33","TUBE", idtmed[kInox], ptube, 3);


    ptube[0] =  0.0;
    ptube[1] = 15.0;
    ptube[2] =  2.5;
    TVirtualMC::GetMC()->Gsvolu("QI43","TUBE", idtmed[kAir], ptube, 3);
    TVirtualMC::GetMC()->Gspos("QI43", 1, "QI33", 0.0, 0.0, 0.0, 0, "ONLY");
// 
// Connecting tube ->
    ptube[0] =  0.0;
    ptube[1] =  4.5;
    ptube[2] = 14.6;
    TVirtualMC::GetMC()->Gsvolu("QI34","TUBE", idtmed[kInox], ptube, 3);
    
    ptube[0] =  0.0;
    ptube[1] =  3.9;
    ptube[2] = 14.6;
    TVirtualMC::GetMC()->Gsvolu("QI44","TUBE", idtmed[kAir], ptube, 3);
    TVirtualMC::GetMC()->Gspos("QI44", 1, "QI34", 0.0, 0.0, 0.0, 0, "ONLY");
// <-

  //
  // Flange ->
    ptube[0] =  4.6;
    ptube[1] =  7.30;
    ptube[2] =  2.15;
    TVirtualMC::GetMC()->Gsvolu("QI35","TUBE", idtmed[kInox], ptube, 3);
// <-
    TVirtualMC::GetMC()->Gspos("QI32", 1, "QBPM", 0.0, -44.25, zPump, 0, "ONLY");
    TVirtualMC::GetMC()->Gspos("QI33", 1, "QBPM", 0.0, -35.00, zPump,idrotm[2002], "ONLY");
    TVirtualMC::GetMC()->Gspos("QI34", 1, "QBPM", 0.0, -17.90, zPump,idrotm[2002], "ONLY");
    TVirtualMC::GetMC()->Gspos("QI35", 1, "QBPM", 0.0, -24.35, zPump,idrotm[2002], "ONLY");

    gGeoManager->SetVolumeAttribute("QBPM", "SEEN", 1);
    gGeoManager->SetVolumeAttribute("QBEM", "SEEN", 1);
}



//___________________________________________
void AliPIPEv0::CreateMaterials()
{
  //
  // Define materials for beam pipe
  //

  AliDebugClass(1,"Create PIPEv0 materials");
  Int_t   isxfld = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ();
  Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max();
  // Steel (Inox)  
  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 };
  // AlBe - alloy 
  Float_t aAlBe[2] = { 26.98, 9.01};
  Float_t zAlBe[2] = { 13.00, 4.00};
  Float_t wAlBe[2] = { 0.4, 0.6};
  //
  // Polyamid
  Float_t aPA[4] = {16., 14., 12.,  1.};
  Float_t zPA[4] = { 8.,  7.,  6.,  1.};
  Float_t wPA[4] = { 1.,  1.,  6., 11.};
  //
  // Air 
  //
  Float_t aAir[4]={12.0107,14.0067,15.9994,39.948};
  Float_t zAir[4]={6.,7.,8.,18.};
  Float_t wAir[4]={0.000124,0.755267,0.231781,0.012827};
  Float_t dAir = 1.20479E-3;
  Float_t dAir1 = 1.20479E-10;
  //
  // Kapton
  //
  Float_t aKapton[4]={1.00794,12.0107, 14.010,15.9994};
  Float_t zKapton[4]={1.,6.,7.,8.};
  Float_t wKapton[4]={0.026362,0.69113,0.07327,0.209235};
  Float_t dKapton = 1.42;
  //
  //     Berillium 
  AliMaterial(5, "BERILLIUM$", 9.01, 4., 1.848, 35.3, 36.7);
  //
  //     Carbon 
  AliMaterial(6,  "CARBON$   ", 12.01, 6., 2.265, 18.8, 49.9);
  //
  //     Aluminum 
  AliMaterial(9,  "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2);
  //
  //     Air 
  AliMixture(15, "AIR$",      aAir, zAir, dAir, 4, wAir);
  AliMixture(35, "AIR_HIGH$", aAir, zAir, dAir, 4, wAir);
  //
  //     Vacuum 
  AliMixture(16, "VACUUM$ ", aAir, zAir, dAir1, 4, wAir);
  //
  //     stainless Steel 
  AliMixture(19, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
  //
  //     reduced density steel to approximate pump getter material
  AliMixture(20, "GETTER$", asteel, zsteel, 1.00, 4, wsteel);
  //     Al-Be alloy
  //     
  AliMixture(21, "AlBe$", aAlBe, zAlBe, 2.07, 2, wAlBe);
  //     Polyamid
  //   
  AliMixture(22, "PA$", aPA, zPA, 1.14, -4, wPA);
  //
  //     Kapton
  AliMixture(23, "KAPTON", aKapton, zKapton, dKapton, 4, wKapton);
  //
  // **************** 
  //     Defines tracking media parameters. 
  //
  Float_t epsil  = .001;    // Tracking precision, 
  Float_t stemax = -0.01;   // Maximum displacement for multiple scat 
  Float_t tmaxfd = -20.;    // Maximum angle due to field deflection 
  Float_t deemax = -.3;     // Maximum fractional energy loss, DLS 
  Float_t stmin  = -.8;
  // *************** 
  //
  //    Beryllium 
  
  AliMedium(5, "BE",       5, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);

  //    Carbon 
  AliMedium(6, "C",        6, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //    Aluminum 
  AliMedium(9, "ALU",      9, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //    Air 
  AliMedium(15, "AIR",     15, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  AliMedium(35, "AIR_HIFG",35, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //    Vacuum 
  AliMedium(16, "VACUUM", 16, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //    Steel 
  AliMedium(19, "INOX",   19, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //    Getter 
  AliMedium(20, "GETTER", 20, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //   AlBe - Aloy 
  AliMedium(21, "AlBe"  , 21, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //   Polyamid
  AliMedium(22, "PA"  ,   22, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
  //
  //   KAPTON
  AliMedium(23, "KAPTON", 23, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);

}










 AliPIPEv0.cxx:1
 AliPIPEv0.cxx:2
 AliPIPEv0.cxx:3
 AliPIPEv0.cxx:4
 AliPIPEv0.cxx:5
 AliPIPEv0.cxx:6
 AliPIPEv0.cxx:7
 AliPIPEv0.cxx:8
 AliPIPEv0.cxx:9
 AliPIPEv0.cxx:10
 AliPIPEv0.cxx:11
 AliPIPEv0.cxx:12
 AliPIPEv0.cxx:13
 AliPIPEv0.cxx:14
 AliPIPEv0.cxx:15
 AliPIPEv0.cxx:16
 AliPIPEv0.cxx:17
 AliPIPEv0.cxx:18
 AliPIPEv0.cxx:19
 AliPIPEv0.cxx:20
 AliPIPEv0.cxx:21
 AliPIPEv0.cxx:22
 AliPIPEv0.cxx:23
 AliPIPEv0.cxx:24
 AliPIPEv0.cxx:25
 AliPIPEv0.cxx:26
 AliPIPEv0.cxx:27
 AliPIPEv0.cxx:28
 AliPIPEv0.cxx:29
 AliPIPEv0.cxx:30
 AliPIPEv0.cxx:31
 AliPIPEv0.cxx:32
 AliPIPEv0.cxx:33
 AliPIPEv0.cxx:34
 AliPIPEv0.cxx:35
 AliPIPEv0.cxx:36
 AliPIPEv0.cxx:37
 AliPIPEv0.cxx:38
 AliPIPEv0.cxx:39
 AliPIPEv0.cxx:40
 AliPIPEv0.cxx:41
 AliPIPEv0.cxx:42
 AliPIPEv0.cxx:43
 AliPIPEv0.cxx:44
 AliPIPEv0.cxx:45
 AliPIPEv0.cxx:46
 AliPIPEv0.cxx:47
 AliPIPEv0.cxx:48
 AliPIPEv0.cxx:49
 AliPIPEv0.cxx:50
 AliPIPEv0.cxx:51
 AliPIPEv0.cxx:52
 AliPIPEv0.cxx:53
 AliPIPEv0.cxx:54
 AliPIPEv0.cxx:55
 AliPIPEv0.cxx:56
 AliPIPEv0.cxx:57
 AliPIPEv0.cxx:58
 AliPIPEv0.cxx:59
 AliPIPEv0.cxx:60
 AliPIPEv0.cxx:61
 AliPIPEv0.cxx:62
 AliPIPEv0.cxx:63
 AliPIPEv0.cxx:64
 AliPIPEv0.cxx:65
 AliPIPEv0.cxx:66
 AliPIPEv0.cxx:67
 AliPIPEv0.cxx:68
 AliPIPEv0.cxx:69
 AliPIPEv0.cxx:70
 AliPIPEv0.cxx:71
 AliPIPEv0.cxx:72
 AliPIPEv0.cxx:73
 AliPIPEv0.cxx:74
 AliPIPEv0.cxx:75
 AliPIPEv0.cxx:76
 AliPIPEv0.cxx:77
 AliPIPEv0.cxx:78
 AliPIPEv0.cxx:79
 AliPIPEv0.cxx:80
 AliPIPEv0.cxx:81
 AliPIPEv0.cxx:82
 AliPIPEv0.cxx:83
 AliPIPEv0.cxx:84
 AliPIPEv0.cxx:85
 AliPIPEv0.cxx:86
 AliPIPEv0.cxx:87
 AliPIPEv0.cxx:88
 AliPIPEv0.cxx:89
 AliPIPEv0.cxx:90
 AliPIPEv0.cxx:91
 AliPIPEv0.cxx:92
 AliPIPEv0.cxx:93
 AliPIPEv0.cxx:94
 AliPIPEv0.cxx:95
 AliPIPEv0.cxx:96
 AliPIPEv0.cxx:97
 AliPIPEv0.cxx:98
 AliPIPEv0.cxx:99
 AliPIPEv0.cxx:100
 AliPIPEv0.cxx:101
 AliPIPEv0.cxx:102
 AliPIPEv0.cxx:103
 AliPIPEv0.cxx:104
 AliPIPEv0.cxx:105
 AliPIPEv0.cxx:106
 AliPIPEv0.cxx:107
 AliPIPEv0.cxx:108
 AliPIPEv0.cxx:109
 AliPIPEv0.cxx:110
 AliPIPEv0.cxx:111
 AliPIPEv0.cxx:112
 AliPIPEv0.cxx:113
 AliPIPEv0.cxx:114
 AliPIPEv0.cxx:115
 AliPIPEv0.cxx:116
 AliPIPEv0.cxx:117
 AliPIPEv0.cxx:118
 AliPIPEv0.cxx:119
 AliPIPEv0.cxx:120
 AliPIPEv0.cxx:121
 AliPIPEv0.cxx:122
 AliPIPEv0.cxx:123
 AliPIPEv0.cxx:124
 AliPIPEv0.cxx:125
 AliPIPEv0.cxx:126
 AliPIPEv0.cxx:127
 AliPIPEv0.cxx:128
 AliPIPEv0.cxx:129
 AliPIPEv0.cxx:130
 AliPIPEv0.cxx:131
 AliPIPEv0.cxx:132
 AliPIPEv0.cxx:133
 AliPIPEv0.cxx:134
 AliPIPEv0.cxx:135
 AliPIPEv0.cxx:136
 AliPIPEv0.cxx:137
 AliPIPEv0.cxx:138
 AliPIPEv0.cxx:139
 AliPIPEv0.cxx:140
 AliPIPEv0.cxx:141
 AliPIPEv0.cxx:142
 AliPIPEv0.cxx:143
 AliPIPEv0.cxx:144
 AliPIPEv0.cxx:145
 AliPIPEv0.cxx:146
 AliPIPEv0.cxx:147
 AliPIPEv0.cxx:148
 AliPIPEv0.cxx:149
 AliPIPEv0.cxx:150
 AliPIPEv0.cxx:151
 AliPIPEv0.cxx:152
 AliPIPEv0.cxx:153
 AliPIPEv0.cxx:154
 AliPIPEv0.cxx:155
 AliPIPEv0.cxx:156
 AliPIPEv0.cxx:157
 AliPIPEv0.cxx:158
 AliPIPEv0.cxx:159
 AliPIPEv0.cxx:160
 AliPIPEv0.cxx:161
 AliPIPEv0.cxx:162
 AliPIPEv0.cxx:163
 AliPIPEv0.cxx:164
 AliPIPEv0.cxx:165
 AliPIPEv0.cxx:166
 AliPIPEv0.cxx:167
 AliPIPEv0.cxx:168
 AliPIPEv0.cxx:169
 AliPIPEv0.cxx:170
 AliPIPEv0.cxx:171
 AliPIPEv0.cxx:172
 AliPIPEv0.cxx:173
 AliPIPEv0.cxx:174
 AliPIPEv0.cxx:175
 AliPIPEv0.cxx:176
 AliPIPEv0.cxx:177
 AliPIPEv0.cxx:178
 AliPIPEv0.cxx:179
 AliPIPEv0.cxx:180
 AliPIPEv0.cxx:181
 AliPIPEv0.cxx:182
 AliPIPEv0.cxx:183
 AliPIPEv0.cxx:184
 AliPIPEv0.cxx:185
 AliPIPEv0.cxx:186
 AliPIPEv0.cxx:187
 AliPIPEv0.cxx:188
 AliPIPEv0.cxx:189
 AliPIPEv0.cxx:190
 AliPIPEv0.cxx:191
 AliPIPEv0.cxx:192
 AliPIPEv0.cxx:193
 AliPIPEv0.cxx:194
 AliPIPEv0.cxx:195
 AliPIPEv0.cxx:196
 AliPIPEv0.cxx:197
 AliPIPEv0.cxx:198
 AliPIPEv0.cxx:199
 AliPIPEv0.cxx:200
 AliPIPEv0.cxx:201
 AliPIPEv0.cxx:202
 AliPIPEv0.cxx:203
 AliPIPEv0.cxx:204
 AliPIPEv0.cxx:205
 AliPIPEv0.cxx:206
 AliPIPEv0.cxx:207
 AliPIPEv0.cxx:208
 AliPIPEv0.cxx:209
 AliPIPEv0.cxx:210
 AliPIPEv0.cxx:211
 AliPIPEv0.cxx:212
 AliPIPEv0.cxx:213
 AliPIPEv0.cxx:214
 AliPIPEv0.cxx:215
 AliPIPEv0.cxx:216
 AliPIPEv0.cxx:217
 AliPIPEv0.cxx:218
 AliPIPEv0.cxx:219
 AliPIPEv0.cxx:220
 AliPIPEv0.cxx:221
 AliPIPEv0.cxx:222
 AliPIPEv0.cxx:223
 AliPIPEv0.cxx:224
 AliPIPEv0.cxx:225
 AliPIPEv0.cxx:226
 AliPIPEv0.cxx:227
 AliPIPEv0.cxx:228
 AliPIPEv0.cxx:229
 AliPIPEv0.cxx:230
 AliPIPEv0.cxx:231
 AliPIPEv0.cxx:232
 AliPIPEv0.cxx:233
 AliPIPEv0.cxx:234
 AliPIPEv0.cxx:235
 AliPIPEv0.cxx:236
 AliPIPEv0.cxx:237
 AliPIPEv0.cxx:238
 AliPIPEv0.cxx:239
 AliPIPEv0.cxx:240
 AliPIPEv0.cxx:241
 AliPIPEv0.cxx:242
 AliPIPEv0.cxx:243
 AliPIPEv0.cxx:244
 AliPIPEv0.cxx:245
 AliPIPEv0.cxx:246
 AliPIPEv0.cxx:247
 AliPIPEv0.cxx:248
 AliPIPEv0.cxx:249
 AliPIPEv0.cxx:250
 AliPIPEv0.cxx:251
 AliPIPEv0.cxx:252
 AliPIPEv0.cxx:253
 AliPIPEv0.cxx:254
 AliPIPEv0.cxx:255
 AliPIPEv0.cxx:256
 AliPIPEv0.cxx:257
 AliPIPEv0.cxx:258
 AliPIPEv0.cxx:259
 AliPIPEv0.cxx:260
 AliPIPEv0.cxx:261
 AliPIPEv0.cxx:262
 AliPIPEv0.cxx:263
 AliPIPEv0.cxx:264
 AliPIPEv0.cxx:265
 AliPIPEv0.cxx:266
 AliPIPEv0.cxx:267
 AliPIPEv0.cxx:268
 AliPIPEv0.cxx:269
 AliPIPEv0.cxx:270
 AliPIPEv0.cxx:271
 AliPIPEv0.cxx:272
 AliPIPEv0.cxx:273
 AliPIPEv0.cxx:274
 AliPIPEv0.cxx:275
 AliPIPEv0.cxx:276
 AliPIPEv0.cxx:277
 AliPIPEv0.cxx:278
 AliPIPEv0.cxx:279
 AliPIPEv0.cxx:280
 AliPIPEv0.cxx:281
 AliPIPEv0.cxx:282
 AliPIPEv0.cxx:283
 AliPIPEv0.cxx:284
 AliPIPEv0.cxx:285
 AliPIPEv0.cxx:286
 AliPIPEv0.cxx:287
 AliPIPEv0.cxx:288
 AliPIPEv0.cxx:289
 AliPIPEv0.cxx:290
 AliPIPEv0.cxx:291
 AliPIPEv0.cxx:292
 AliPIPEv0.cxx:293
 AliPIPEv0.cxx:294
 AliPIPEv0.cxx:295
 AliPIPEv0.cxx:296
 AliPIPEv0.cxx:297
 AliPIPEv0.cxx:298
 AliPIPEv0.cxx:299
 AliPIPEv0.cxx:300
 AliPIPEv0.cxx:301
 AliPIPEv0.cxx:302
 AliPIPEv0.cxx:303
 AliPIPEv0.cxx:304
 AliPIPEv0.cxx:305
 AliPIPEv0.cxx:306
 AliPIPEv0.cxx:307
 AliPIPEv0.cxx:308
 AliPIPEv0.cxx:309
 AliPIPEv0.cxx:310
 AliPIPEv0.cxx:311
 AliPIPEv0.cxx:312
 AliPIPEv0.cxx:313
 AliPIPEv0.cxx:314
 AliPIPEv0.cxx:315
 AliPIPEv0.cxx:316
 AliPIPEv0.cxx:317
 AliPIPEv0.cxx:318
 AliPIPEv0.cxx:319
 AliPIPEv0.cxx:320
 AliPIPEv0.cxx:321
 AliPIPEv0.cxx:322
 AliPIPEv0.cxx:323
 AliPIPEv0.cxx:324
 AliPIPEv0.cxx:325
 AliPIPEv0.cxx:326
 AliPIPEv0.cxx:327
 AliPIPEv0.cxx:328
 AliPIPEv0.cxx:329
 AliPIPEv0.cxx:330
 AliPIPEv0.cxx:331
 AliPIPEv0.cxx:332
 AliPIPEv0.cxx:333
 AliPIPEv0.cxx:334
 AliPIPEv0.cxx:335
 AliPIPEv0.cxx:336
 AliPIPEv0.cxx:337
 AliPIPEv0.cxx:338
 AliPIPEv0.cxx:339
 AliPIPEv0.cxx:340
 AliPIPEv0.cxx:341
 AliPIPEv0.cxx:342
 AliPIPEv0.cxx:343
 AliPIPEv0.cxx:344
 AliPIPEv0.cxx:345
 AliPIPEv0.cxx:346
 AliPIPEv0.cxx:347
 AliPIPEv0.cxx:348
 AliPIPEv0.cxx:349
 AliPIPEv0.cxx:350
 AliPIPEv0.cxx:351
 AliPIPEv0.cxx:352
 AliPIPEv0.cxx:353
 AliPIPEv0.cxx:354
 AliPIPEv0.cxx:355
 AliPIPEv0.cxx:356
 AliPIPEv0.cxx:357
 AliPIPEv0.cxx:358
 AliPIPEv0.cxx:359
 AliPIPEv0.cxx:360
 AliPIPEv0.cxx:361
 AliPIPEv0.cxx:362
 AliPIPEv0.cxx:363
 AliPIPEv0.cxx:364
 AliPIPEv0.cxx:365
 AliPIPEv0.cxx:366
 AliPIPEv0.cxx:367
 AliPIPEv0.cxx:368
 AliPIPEv0.cxx:369
 AliPIPEv0.cxx:370
 AliPIPEv0.cxx:371
 AliPIPEv0.cxx:372
 AliPIPEv0.cxx:373
 AliPIPEv0.cxx:374
 AliPIPEv0.cxx:375
 AliPIPEv0.cxx:376
 AliPIPEv0.cxx:377
 AliPIPEv0.cxx:378
 AliPIPEv0.cxx:379
 AliPIPEv0.cxx:380
 AliPIPEv0.cxx:381
 AliPIPEv0.cxx:382
 AliPIPEv0.cxx:383
 AliPIPEv0.cxx:384
 AliPIPEv0.cxx:385
 AliPIPEv0.cxx:386
 AliPIPEv0.cxx:387
 AliPIPEv0.cxx:388
 AliPIPEv0.cxx:389
 AliPIPEv0.cxx:390
 AliPIPEv0.cxx:391
 AliPIPEv0.cxx:392
 AliPIPEv0.cxx:393
 AliPIPEv0.cxx:394
 AliPIPEv0.cxx:395
 AliPIPEv0.cxx:396
 AliPIPEv0.cxx:397
 AliPIPEv0.cxx:398
 AliPIPEv0.cxx:399
 AliPIPEv0.cxx:400
 AliPIPEv0.cxx:401
 AliPIPEv0.cxx:402
 AliPIPEv0.cxx:403
 AliPIPEv0.cxx:404
 AliPIPEv0.cxx:405
 AliPIPEv0.cxx:406
 AliPIPEv0.cxx:407
 AliPIPEv0.cxx:408
 AliPIPEv0.cxx:409
 AliPIPEv0.cxx:410
 AliPIPEv0.cxx:411
 AliPIPEv0.cxx:412
 AliPIPEv0.cxx:413
 AliPIPEv0.cxx:414
 AliPIPEv0.cxx:415
 AliPIPEv0.cxx:416
 AliPIPEv0.cxx:417
 AliPIPEv0.cxx:418
 AliPIPEv0.cxx:419
 AliPIPEv0.cxx:420
 AliPIPEv0.cxx:421
 AliPIPEv0.cxx:422
 AliPIPEv0.cxx:423
 AliPIPEv0.cxx:424
 AliPIPEv0.cxx:425
 AliPIPEv0.cxx:426
 AliPIPEv0.cxx:427
 AliPIPEv0.cxx:428
 AliPIPEv0.cxx:429
 AliPIPEv0.cxx:430
 AliPIPEv0.cxx:431
 AliPIPEv0.cxx:432
 AliPIPEv0.cxx:433
 AliPIPEv0.cxx:434
 AliPIPEv0.cxx:435
 AliPIPEv0.cxx:436
 AliPIPEv0.cxx:437
 AliPIPEv0.cxx:438
 AliPIPEv0.cxx:439
 AliPIPEv0.cxx:440
 AliPIPEv0.cxx:441
 AliPIPEv0.cxx:442
 AliPIPEv0.cxx:443
 AliPIPEv0.cxx:444
 AliPIPEv0.cxx:445
 AliPIPEv0.cxx:446
 AliPIPEv0.cxx:447
 AliPIPEv0.cxx:448
 AliPIPEv0.cxx:449
 AliPIPEv0.cxx:450
 AliPIPEv0.cxx:451
 AliPIPEv0.cxx:452
 AliPIPEv0.cxx:453
 AliPIPEv0.cxx:454
 AliPIPEv0.cxx:455
 AliPIPEv0.cxx:456
 AliPIPEv0.cxx:457
 AliPIPEv0.cxx:458
 AliPIPEv0.cxx:459
 AliPIPEv0.cxx:460
 AliPIPEv0.cxx:461
 AliPIPEv0.cxx:462
 AliPIPEv0.cxx:463
 AliPIPEv0.cxx:464
 AliPIPEv0.cxx:465
 AliPIPEv0.cxx:466
 AliPIPEv0.cxx:467
 AliPIPEv0.cxx:468
 AliPIPEv0.cxx:469
 AliPIPEv0.cxx:470
 AliPIPEv0.cxx:471
 AliPIPEv0.cxx:472
 AliPIPEv0.cxx:473
 AliPIPEv0.cxx:474
 AliPIPEv0.cxx:475
 AliPIPEv0.cxx:476
 AliPIPEv0.cxx:477
 AliPIPEv0.cxx:478
 AliPIPEv0.cxx:479
 AliPIPEv0.cxx:480
 AliPIPEv0.cxx:481
 AliPIPEv0.cxx:482
 AliPIPEv0.cxx:483
 AliPIPEv0.cxx:484
 AliPIPEv0.cxx:485
 AliPIPEv0.cxx:486
 AliPIPEv0.cxx:487
 AliPIPEv0.cxx:488
 AliPIPEv0.cxx:489
 AliPIPEv0.cxx:490
 AliPIPEv0.cxx:491
 AliPIPEv0.cxx:492
 AliPIPEv0.cxx:493
 AliPIPEv0.cxx:494
 AliPIPEv0.cxx:495
 AliPIPEv0.cxx:496
 AliPIPEv0.cxx:497
 AliPIPEv0.cxx:498
 AliPIPEv0.cxx:499
 AliPIPEv0.cxx:500
 AliPIPEv0.cxx:501
 AliPIPEv0.cxx:502
 AliPIPEv0.cxx:503
 AliPIPEv0.cxx:504
 AliPIPEv0.cxx:505
 AliPIPEv0.cxx:506
 AliPIPEv0.cxx:507
 AliPIPEv0.cxx:508
 AliPIPEv0.cxx:509
 AliPIPEv0.cxx:510
 AliPIPEv0.cxx:511
 AliPIPEv0.cxx:512
 AliPIPEv0.cxx:513
 AliPIPEv0.cxx:514
 AliPIPEv0.cxx:515
 AliPIPEv0.cxx:516
 AliPIPEv0.cxx:517
 AliPIPEv0.cxx:518
 AliPIPEv0.cxx:519
 AliPIPEv0.cxx:520
 AliPIPEv0.cxx:521
 AliPIPEv0.cxx:522
 AliPIPEv0.cxx:523
 AliPIPEv0.cxx:524
 AliPIPEv0.cxx:525
 AliPIPEv0.cxx:526
 AliPIPEv0.cxx:527
 AliPIPEv0.cxx:528
 AliPIPEv0.cxx:529
 AliPIPEv0.cxx:530
 AliPIPEv0.cxx:531
 AliPIPEv0.cxx:532
 AliPIPEv0.cxx:533
 AliPIPEv0.cxx:534
 AliPIPEv0.cxx:535
 AliPIPEv0.cxx:536
 AliPIPEv0.cxx:537
 AliPIPEv0.cxx:538
 AliPIPEv0.cxx:539
 AliPIPEv0.cxx:540
 AliPIPEv0.cxx:541
 AliPIPEv0.cxx:542
 AliPIPEv0.cxx:543
 AliPIPEv0.cxx:544
 AliPIPEv0.cxx:545
 AliPIPEv0.cxx:546
 AliPIPEv0.cxx:547
 AliPIPEv0.cxx:548
 AliPIPEv0.cxx:549
 AliPIPEv0.cxx:550
 AliPIPEv0.cxx:551
 AliPIPEv0.cxx:552
 AliPIPEv0.cxx:553
 AliPIPEv0.cxx:554
 AliPIPEv0.cxx:555
 AliPIPEv0.cxx:556
 AliPIPEv0.cxx:557
 AliPIPEv0.cxx:558
 AliPIPEv0.cxx:559
 AliPIPEv0.cxx:560
 AliPIPEv0.cxx:561
 AliPIPEv0.cxx:562
 AliPIPEv0.cxx:563
 AliPIPEv0.cxx:564
 AliPIPEv0.cxx:565
 AliPIPEv0.cxx:566
 AliPIPEv0.cxx:567
 AliPIPEv0.cxx:568
 AliPIPEv0.cxx:569
 AliPIPEv0.cxx:570
 AliPIPEv0.cxx:571
 AliPIPEv0.cxx:572
 AliPIPEv0.cxx:573
 AliPIPEv0.cxx:574
 AliPIPEv0.cxx:575
 AliPIPEv0.cxx:576
 AliPIPEv0.cxx:577
 AliPIPEv0.cxx:578
 AliPIPEv0.cxx:579
 AliPIPEv0.cxx:580
 AliPIPEv0.cxx:581
 AliPIPEv0.cxx:582
 AliPIPEv0.cxx:583
 AliPIPEv0.cxx:584
 AliPIPEv0.cxx:585
 AliPIPEv0.cxx:586
 AliPIPEv0.cxx:587
 AliPIPEv0.cxx:588
 AliPIPEv0.cxx:589
 AliPIPEv0.cxx:590
 AliPIPEv0.cxx:591
 AliPIPEv0.cxx:592
 AliPIPEv0.cxx:593
 AliPIPEv0.cxx:594
 AliPIPEv0.cxx:595
 AliPIPEv0.cxx:596
 AliPIPEv0.cxx:597
 AliPIPEv0.cxx:598
 AliPIPEv0.cxx:599
 AliPIPEv0.cxx:600
 AliPIPEv0.cxx:601
 AliPIPEv0.cxx:602
 AliPIPEv0.cxx:603
 AliPIPEv0.cxx:604
 AliPIPEv0.cxx:605
 AliPIPEv0.cxx:606
 AliPIPEv0.cxx:607
 AliPIPEv0.cxx:608
 AliPIPEv0.cxx:609
 AliPIPEv0.cxx:610
 AliPIPEv0.cxx:611
 AliPIPEv0.cxx:612
 AliPIPEv0.cxx:613
 AliPIPEv0.cxx:614
 AliPIPEv0.cxx:615
 AliPIPEv0.cxx:616
 AliPIPEv0.cxx:617
 AliPIPEv0.cxx:618
 AliPIPEv0.cxx:619
 AliPIPEv0.cxx:620
 AliPIPEv0.cxx:621
 AliPIPEv0.cxx:622
 AliPIPEv0.cxx:623
 AliPIPEv0.cxx:624
 AliPIPEv0.cxx:625
 AliPIPEv0.cxx:626
 AliPIPEv0.cxx:627
 AliPIPEv0.cxx:628
 AliPIPEv0.cxx:629
 AliPIPEv0.cxx:630
 AliPIPEv0.cxx:631
 AliPIPEv0.cxx:632
 AliPIPEv0.cxx:633
 AliPIPEv0.cxx:634
 AliPIPEv0.cxx:635
 AliPIPEv0.cxx:636
 AliPIPEv0.cxx:637
 AliPIPEv0.cxx:638
 AliPIPEv0.cxx:639
 AliPIPEv0.cxx:640
 AliPIPEv0.cxx:641
 AliPIPEv0.cxx:642
 AliPIPEv0.cxx:643
 AliPIPEv0.cxx:644
 AliPIPEv0.cxx:645
 AliPIPEv0.cxx:646
 AliPIPEv0.cxx:647
 AliPIPEv0.cxx:648
 AliPIPEv0.cxx:649
 AliPIPEv0.cxx:650
 AliPIPEv0.cxx:651
 AliPIPEv0.cxx:652
 AliPIPEv0.cxx:653
 AliPIPEv0.cxx:654
 AliPIPEv0.cxx:655
 AliPIPEv0.cxx:656
 AliPIPEv0.cxx:657
 AliPIPEv0.cxx:658
 AliPIPEv0.cxx:659
 AliPIPEv0.cxx:660
 AliPIPEv0.cxx:661
 AliPIPEv0.cxx:662
 AliPIPEv0.cxx:663
 AliPIPEv0.cxx:664
 AliPIPEv0.cxx:665
 AliPIPEv0.cxx:666
 AliPIPEv0.cxx:667
 AliPIPEv0.cxx:668
 AliPIPEv0.cxx:669
 AliPIPEv0.cxx:670
 AliPIPEv0.cxx:671
 AliPIPEv0.cxx:672
 AliPIPEv0.cxx:673
 AliPIPEv0.cxx:674
 AliPIPEv0.cxx:675
 AliPIPEv0.cxx:676
 AliPIPEv0.cxx:677
 AliPIPEv0.cxx:678
 AliPIPEv0.cxx:679
 AliPIPEv0.cxx:680
 AliPIPEv0.cxx:681
 AliPIPEv0.cxx:682
 AliPIPEv0.cxx:683
 AliPIPEv0.cxx:684
 AliPIPEv0.cxx:685
 AliPIPEv0.cxx:686
 AliPIPEv0.cxx:687
 AliPIPEv0.cxx:688
 AliPIPEv0.cxx:689
 AliPIPEv0.cxx:690
 AliPIPEv0.cxx:691
 AliPIPEv0.cxx:692
 AliPIPEv0.cxx:693
 AliPIPEv0.cxx:694
 AliPIPEv0.cxx:695
 AliPIPEv0.cxx:696
 AliPIPEv0.cxx:697
 AliPIPEv0.cxx:698
 AliPIPEv0.cxx:699
 AliPIPEv0.cxx:700
 AliPIPEv0.cxx:701
 AliPIPEv0.cxx:702
 AliPIPEv0.cxx:703
 AliPIPEv0.cxx:704
 AliPIPEv0.cxx:705
 AliPIPEv0.cxx:706
 AliPIPEv0.cxx:707
 AliPIPEv0.cxx:708
 AliPIPEv0.cxx:709
 AliPIPEv0.cxx:710
 AliPIPEv0.cxx:711
 AliPIPEv0.cxx:712
 AliPIPEv0.cxx:713
 AliPIPEv0.cxx:714
 AliPIPEv0.cxx:715
 AliPIPEv0.cxx:716
 AliPIPEv0.cxx:717
 AliPIPEv0.cxx:718
 AliPIPEv0.cxx:719
 AliPIPEv0.cxx:720
 AliPIPEv0.cxx:721
 AliPIPEv0.cxx:722
 AliPIPEv0.cxx:723
 AliPIPEv0.cxx:724
 AliPIPEv0.cxx:725
 AliPIPEv0.cxx:726
 AliPIPEv0.cxx:727
 AliPIPEv0.cxx:728
 AliPIPEv0.cxx:729
 AliPIPEv0.cxx:730
 AliPIPEv0.cxx:731
 AliPIPEv0.cxx:732
 AliPIPEv0.cxx:733
 AliPIPEv0.cxx:734
 AliPIPEv0.cxx:735
 AliPIPEv0.cxx:736
 AliPIPEv0.cxx:737
 AliPIPEv0.cxx:738
 AliPIPEv0.cxx:739
 AliPIPEv0.cxx:740
 AliPIPEv0.cxx:741
 AliPIPEv0.cxx:742
 AliPIPEv0.cxx:743
 AliPIPEv0.cxx:744
 AliPIPEv0.cxx:745
 AliPIPEv0.cxx:746
 AliPIPEv0.cxx:747
 AliPIPEv0.cxx:748
 AliPIPEv0.cxx:749
 AliPIPEv0.cxx:750
 AliPIPEv0.cxx:751
 AliPIPEv0.cxx:752
 AliPIPEv0.cxx:753
 AliPIPEv0.cxx:754
 AliPIPEv0.cxx:755
 AliPIPEv0.cxx:756
 AliPIPEv0.cxx:757
 AliPIPEv0.cxx:758
 AliPIPEv0.cxx:759
 AliPIPEv0.cxx:760
 AliPIPEv0.cxx:761
 AliPIPEv0.cxx:762
 AliPIPEv0.cxx:763
 AliPIPEv0.cxx:764
 AliPIPEv0.cxx:765
 AliPIPEv0.cxx:766
 AliPIPEv0.cxx:767
 AliPIPEv0.cxx:768
 AliPIPEv0.cxx:769
 AliPIPEv0.cxx:770
 AliPIPEv0.cxx:771
 AliPIPEv0.cxx:772
 AliPIPEv0.cxx:773
 AliPIPEv0.cxx:774
 AliPIPEv0.cxx:775
 AliPIPEv0.cxx:776
 AliPIPEv0.cxx:777
 AliPIPEv0.cxx:778
 AliPIPEv0.cxx:779
 AliPIPEv0.cxx:780
 AliPIPEv0.cxx:781
 AliPIPEv0.cxx:782
 AliPIPEv0.cxx:783
 AliPIPEv0.cxx:784
 AliPIPEv0.cxx:785
 AliPIPEv0.cxx:786
 AliPIPEv0.cxx:787
 AliPIPEv0.cxx:788
 AliPIPEv0.cxx:789
 AliPIPEv0.cxx:790
 AliPIPEv0.cxx:791
 AliPIPEv0.cxx:792
 AliPIPEv0.cxx:793
 AliPIPEv0.cxx:794
 AliPIPEv0.cxx:795
 AliPIPEv0.cxx:796
 AliPIPEv0.cxx:797
 AliPIPEv0.cxx:798
 AliPIPEv0.cxx:799
 AliPIPEv0.cxx:800
 AliPIPEv0.cxx:801
 AliPIPEv0.cxx:802
 AliPIPEv0.cxx:803
 AliPIPEv0.cxx:804
 AliPIPEv0.cxx:805
 AliPIPEv0.cxx:806
 AliPIPEv0.cxx:807
 AliPIPEv0.cxx:808
 AliPIPEv0.cxx:809
 AliPIPEv0.cxx:810
 AliPIPEv0.cxx:811
 AliPIPEv0.cxx:812
 AliPIPEv0.cxx:813
 AliPIPEv0.cxx:814
 AliPIPEv0.cxx:815
 AliPIPEv0.cxx:816
 AliPIPEv0.cxx:817
 AliPIPEv0.cxx:818
 AliPIPEv0.cxx:819
 AliPIPEv0.cxx:820
 AliPIPEv0.cxx:821
 AliPIPEv0.cxx:822
 AliPIPEv0.cxx:823
 AliPIPEv0.cxx:824
 AliPIPEv0.cxx:825
 AliPIPEv0.cxx:826
 AliPIPEv0.cxx:827
 AliPIPEv0.cxx:828
 AliPIPEv0.cxx:829
 AliPIPEv0.cxx:830
 AliPIPEv0.cxx:831
 AliPIPEv0.cxx:832
 AliPIPEv0.cxx:833
 AliPIPEv0.cxx:834
 AliPIPEv0.cxx:835
 AliPIPEv0.cxx:836
 AliPIPEv0.cxx:837