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$ */

///////////////////////////////////////////////////////////////////////
//                                                                   // 
//  (V-zero) detector  version 7 as designed by the Lyon and         //
//   Mexico groups and Carlos Perez Lara from Pontificia Universidad //
//   Catolica del Peru    				             // 
//   All comments should be sent to Brigitte CHEYNIS:                //
//                     b.cheynis@ipnl.in2p3.fr                       // 
//   Geometry of April 2006 done with ROOT geometrical modeler       //
//   V0R (now V0C) sits between Z values  -89.5 and  -84.8 cm        // 
//   V0L (now V0A) sits between Z values +325.0 and +330.0 cm        // 
//   New coordinate system has been implemented in october 2003      //
//   Revision of the V0A part by Lizardo Valencia  in July 2008      //
//                                                                   //
/////////////////////////////////////////////////////////////////////// 

// --- Standard libraries ---
#include <Riostream.h>

// --- ROOT libraries ---
#include <TClonesArray.h>
#include <TGeoGlobalMagField.h>
#include <TMath.h>
#include <TParticle.h>
#include <TVirtualMC.h>

#include <TGeoManager.h>
#include <TGeoMatrix.h>
#include <TGeoMaterial.h>
#include <TGeoMedium.h>
#include <TGeoVolume.h>
#include "TGeoTube.h"
#include "TGeoArb8.h"
#include "TGeoCompositeShape.h"
#include <TTree.h>

// --- AliRoot header files ---
#include "AliRun.h"
#include "AliMC.h"
#include "AliMagF.h"
#include "AliVZEROLoader.h"
#include "AliVZEROdigit.h"
#include "AliVZEROhit.h"
#include "AliVZEROv7.h"
#include "AliLog.h"
#include "AliTrackReference.h"
 
ClassImp(AliVZEROv7)

//_____________________________________________________________________________
AliVZEROv7:: AliVZEROv7():AliVZERO(),
   fCellId(0),
   fTrackPosition(),
   fTrackMomentum(), 
   fV0CHeight1(2.5), 
   fV0CHeight2(4.4), 
   fV0CHeight3(7.4), 
   fV0CHeight4(12.5),
   fV0CRMin(4.6), 
   fV0CRBox(38.0),
   fV0CLidThickness(0.30),
   fV0CCellThickness(2.00),
   fV0CBoxThickness(4.70),
   fV0COffsetFibers(1.125),
   fV0CLightYield(93.75),
   fV0CLightAttenuation(0.05),
   fV0CnMeters(15.0),
   fV0CFibToPhot(0.3),
   fV0AR0(4.2),
   fV0AR1(7.6), 
   fV0AR2(13.8), 
   fV0AR3(22.7),
   fV0AR4(41.3), 
   fV0AR5(43.3), 
   fV0AR6(72.6),
   fV0AR7(92.0), // Distance from origin to outtermost intersection sector7 and sector8 
   fV0ASciWd(2.5), 
   fV0APlaWd(0.5), 
   fV0APlaAl(0.06), 
   fV0AOctWd(0.75), 
   fV0AFraWd(0.2),
   fV0AOctH1(1.0), 
   fV0AOctH2(2.0), 
   fV0ABasHt(2.0),
   fV0AFibRd(0.1),
   fV0APlaEx(4.4),
   fV0APMBWd(24.6), 
   fV0APMBHt(22.0), 
   fV0APMBTh(7.1), 
   fV0APMBWdW(0.3), 
   fV0APMBHtW(1.0),
   fV0APMBAng(30.0), 
   fV0APMBThW(0.3), 
   fV0APMTR1(2.44), 
   fV0APMTR2(2.54), 
   fV0APMTR3(2.54),
   fV0APMTR4(2.70), 
   fV0APMTH(10.0), 
   fV0APMTB(1.0),
   fV0AFEEBWd(26.5),
   fV0AFEEBHt(20.5),
   fV0AFEEBTh(7.5),
   fV0AnMeters(fV0AR6*0.01),
   fV0ALightYield(93.75),
   fV0ALightAttenuation(0.05), 
   fV0AFibToPhot(0.3),
   fVersion(7)
{
// Standard default constructor 
}

//_____________________________________________________________________________
AliVZEROv7::AliVZEROv7(const char *name, const char *title):AliVZERO(name,title),
   fCellId(0),
   fTrackPosition(),
   fTrackMomentum(), 
   fV0CHeight1(2.5), 
   fV0CHeight2(4.4), 
   fV0CHeight3(7.4), 
   fV0CHeight4(12.5),
   fV0CRMin(4.6), 
   fV0CRBox(38.0),
   fV0CLidThickness(0.30),
   fV0CCellThickness(2.00),
   fV0CBoxThickness(4.70),
   fV0COffsetFibers(1.125),
   fV0CLightYield(93.75),
   fV0CLightAttenuation(0.05),
   fV0CnMeters(15.0),
   fV0CFibToPhot(0.3),
   fV0AR0(4.2),    
   fV0AR1(7.6), 
   fV0AR2(13.8), 
   fV0AR3(22.7),
   fV0AR4(41.3), 
   fV0AR5(43.3), 
   fV0AR6(72.6),
   fV0AR7(92.0), // Distance from origin to outtermost intersection of sector7 and sector8 
   fV0ASciWd(2.5), 
   fV0APlaWd(0.5), 
   fV0APlaAl(0.06), 
   fV0AOctWd(0.75), 
   fV0AFraWd(0.2),
   fV0AOctH1(1.0), 
   fV0AOctH2(2.0), 
   fV0ABasHt(2.0),
   fV0AFibRd(0.1),
   fV0APlaEx(4.4),
   fV0APMBWd(24.6), 
   fV0APMBHt(22.0), 
   fV0APMBTh(7.1), 
   fV0APMBWdW(0.3), 
   fV0APMBHtW(1.0),
   fV0APMBAng(30.0), 
   fV0APMBThW(0.3), 
   fV0APMTR1(2.44), 
   fV0APMTR2(2.54), 
   fV0APMTR3(2.54),
   fV0APMTR4(2.70), 
   fV0APMTH(10.0), 
   fV0APMTB(1.0),
   fV0AFEEBWd(26.5),
   fV0AFEEBHt(20.5),
   fV0AFEEBTh(7.5),		   
   fV0AnMeters(fV0AR6*0.01),
   fV0ALightYield(93.75),
   fV0ALightAttenuation(0.05),
   fV0AFibToPhot(0.3),
   fVersion(7)


{
// Standard constructor for V-zero Detector  version 7

  AliDebug(2,"Create VZERO object ");

//  fVersion            =     7;  // version number

//   // V0C Parameters related to geometry: All in cm
//   fV0CHeight1         =    2.5; // height of cell 1
//   fV0CHeight2         =    4.4; // height of cell 2
//   fV0CHeight3         =    7.4; // height of cell 3
//   fV0CHeight4         =   12.5; // height of cell 4
//   fV0CRMin            =    4.6; // inner radius of box
//   fV0CRBox            =   38.0; // outer radius of box
//   fV0CLidThickness    =   0.30; // thickness of Carbon lid
//   fV0CCellThickness   =   2.00; // thickness of elementary cell
//   fV0CBoxThickness    =   4.70; // thickness of V0C Box
//   fV0COffsetFibers    =    1.0; // offset to output fibers
//   // V0C Parameters related to light output
//   fV0CLightYield         =  93.75; // Light yield in BC408 (93.75 eV per photon)
//   fV0CLightAttenuation   =   0.05; // Light attenuation in fiber (0.05 per meter)
//   fV0CnMeters            =   15.0; // Number of meters of clear fibers to PM
//   fV0CFibToPhot          =    0.3; // Attenuation at fiber-photocathode interface
// 
//   // V0A Parameters related to geometry: All in cm
//   fV0AR0     =  4.2;  // Radius of hole
//   fV0AR1     =  7.6;  // Maximun radius of 1st cell
//   fV0AR2     = 13.8; // Maximun radius of 2nd cell
//   fV0AR3     = 22.7; // Maximun radius of 3rd cell
//   fV0AR4     = 41.3; // Maximun radius of 4th cell
//   fV0AR5     = 43.3; // Radius circunscrite to innermost octagon
//   fV0AR6     = 68.0; // Radius circunscrite to outtermost octagon
//   fV0ASciWd  =  2.5;  // Scintillator thickness 
//   fV0APlaWd  =  0.5;  // Plates thinckness
//   fV0APlaAl  = 0.06; // Plates AlMg3 thinckness
//   fV0AOctWd  = 0.75; // Innermost octagon thickness
//   fV0AOctH1  =  1.0;  // Height of innermost octagon
//   fV0AOctH2  =  2.0;  // Height of outtermost octagon
//   fV0AFibRd  =  0.1;  // Radius of Fiber
//   fV0AFraWd  =  0.2;  // Support Frame thickness
//   fV0APMBWd  = 24.6;  // Width of PM Box
//   fV0APMBHt  = 22.0;  // Height of PM Box
//   fV0APMBTh  =  7.1;  // Thickness of PM Box
//   fV0APMBWdW =  0.3;  // Thickness of PM Box Side1 Wall
//   fV0APMBHtW =  1.0;  // Thickness of PM Box Side2 Wall
//   fV0APMBThW =  0.3;  // Thickness of PM Box Top Wall
//   fV0APMBAng = 30.0;  // Angle between PM Box and Support
//   fV0APMTR1  = 2.44;  // PMT Glass
//   fV0APMTR2  = 2.54;  // PMT Glass
//   fV0APMTR3  = 2.54;  // PMT Cover
//   fV0APMTR4  = 2.70;  // PMT Cover
//   fV0APMTH   = 10.0;  // PMT Height
//   fV0APMTB   =  1.0;  // PMT Basis
//   fV0APlaEx  =  4.4;  // Plates Extension height
//   fV0ABasHt  =  2.0;  // Basis Height
//   // V0A Parameters related to light output
//   fV0ALightYield         =  93.75;      // Light yield in BC404
//   fV0ALightAttenuation   =   0.05;      // Light attenuation in WLS fiber, per meter
//   fV0AnMeters            = fV0AR6*0.01; // Tentative value, in meters
//   fV0AFibToPhot          =    0.3;      // Attenuation at fiber-photocathode interface
}

//_____________________________________________________________________________
void AliVZEROv7::CreateGeometry()
{
// Constructs TGeo geometry 

  AliDebug(2,"VZERO ConstructGeometry");
  TGeoVolume *top = gGeoManager->GetVolume("ALIC");

  ///////////////////////////////////////////////////////////////////////////
  // Construct the geometry of V0C Detector. Brigitte CHEYNIS
  
    const int kColorVZERO  = kGreen;
    TGeoMedium *medV0CAlu = gGeoManager->GetMedium("VZERO_V0CAlu");
    TGeoMedium *medV0CCar = gGeoManager->GetMedium("VZERO_V0CCar");
    TGeoMedium *medV0CSci = gGeoManager->GetMedium("VZERO_V0CSci");
    TGeoVolume *v0RI = new TGeoVolumeAssembly("V0RI");
    Float_t heightRight, r4Right;
    Float_t zdet = 90.0 - 0.5 - fV0CBoxThickness/2.0;
    heightRight  = fV0CHeight1 + fV0CHeight2 + fV0CHeight3 + fV0CHeight4;
    r4Right      = fV0CRMin + heightRight + 3.0*0.2; // 3 spacings of 2mm between rings

    // Creation of  carbon lids (3.0 mm thick) to keep V0C box shut :
    Float_t   partube[3];
    partube[0] =   fV0CRMin;
    partube[1] =   fV0CRBox;
    partube[2] =   fV0CLidThickness/2.0;
    //    TGeoTube   *sV0CA = new TGeoTube("V0CA", partube[0], partube[1], partube[2]);
    //    TGeoVolume *v0CA  = new TGeoVolume("V0CA",sV0CA,medV0CCar);
    //    TGeoTranslation *tr2 = new TGeoTranslation(0.,0., fV0CBoxThickness/2.0-partube[2]);
    //    TGeoTranslation *tr3 = new TGeoTranslation(0.,0.,-fV0CBoxThickness/2.0+partube[2]);
    //    v0RI->AddNode(v0CA,1,tr2);
    //    v0RI->AddNode(v0CA,2,tr3);
    //    v0CA->SetLineColor(kYellow);

    Float_t rInt1 = 11.5, rOut1 = 20.0, rInt2 = 9.0;

    TGeoTube   *sV0CA4 = new TGeoTube("V0CA4", partube[0], rInt2, partube[2] - 0.1);
    TGeoVolume *v0CA4  = new TGeoVolume("V0CA4",sV0CA4,medV0CCar);
    TGeoTranslation *tr21 = new TGeoTranslation(0.,0., fV0CBoxThickness/2.0-partube[2] + 0.1);
    v0RI->AddNode(v0CA4,1,tr21);
    v0CA4->SetLineColor(kYellow);

    TGeoTube   *sV0CA5 = new TGeoTube("V0CA5", rInt2, partube[1], partube[2]);
    TGeoVolume *v0CA5  = new TGeoVolume("V0CA5",sV0CA5,medV0CCar);
    TGeoTranslation *tr22 = new TGeoTranslation(0.,0., fV0CBoxThickness/2.0-partube[2]);
    v0RI->AddNode(v0CA5,1,tr22);
    v0CA5->SetLineColor(kYellow);

    TGeoTube   *sV0CA1 = new TGeoTube("V0CA1",partube[0], rInt1, partube[2]);
    TGeoVolume *v0CA1  = new TGeoVolume("V0CA1",sV0CA1,medV0CCar);
    TGeoTranslation *tr31 = new TGeoTranslation(0.,0.,-fV0CBoxThickness/2.0+partube[2]);
    v0RI->AddNode(v0CA1,1,tr31);
    v0CA1->SetLineColor(kYellow);

    TGeoTube   *sV0CA2 = new TGeoTube("V0CA2", rInt1, rOut1, partube[2] - 0.1);
    TGeoVolume *v0CA2  = new TGeoVolume("V0CA2",sV0CA2,medV0CCar);
    TGeoTranslation *tr32 = new TGeoTranslation(0.,0.,-fV0CBoxThickness/2.0+partube[2] - 0.1);
    v0RI->AddNode(v0CA2,1,tr32);
    v0CA2->SetLineColor(kYellow);

    TGeoTube   *sV0CA3 = new TGeoTube("V0CA3", rOut1, partube[1], partube[2]);
    TGeoVolume *v0CA3  = new TGeoVolume("V0CA3",sV0CA3,medV0CCar);
    TGeoTranslation *tr33 = new TGeoTranslation(0.,0.,-fV0CBoxThickness/2.0+partube[2]);
    v0RI->AddNode(v0CA3,1,tr33);
    v0CA3->SetLineColor(kYellow);

    // Creation of aluminum rings 3.0 mm thick to maintain the v0RI pieces : 
    partube[0] =   fV0CRMin - 0.3;
    partube[1] =   fV0CRMin;
    partube[2] =   fV0CBoxThickness/2.0;
    TGeoTube   *sV0IR = new TGeoTube("V0IR", partube[0], partube[1], partube[2]);
    TGeoVolume *v0IR  = new TGeoVolume("V0IR",sV0IR,medV0CAlu);
    v0RI->AddNode(v0IR,1,0);
    v0IR->SetLineColor(kYellow);
    partube[0] =   fV0CRBox;
    partube[1] =   fV0CRBox + 0.3; 
    partube[2] =   fV0CBoxThickness/2.0;
    TGeoTube   *sV0ER = new TGeoTube("V0ER", partube[0], partube[1], partube[2]);
    TGeoVolume *v0ER  = new TGeoVolume("V0ER",sV0ER,medV0CAlu);
    v0RI->AddNode(v0ER,1,0);
    v0ER->SetLineColor(kYellow);

    // Creation of assembly V0R0 of scintillator cells within one sector
    TGeoVolume *v0R0 = new TGeoVolumeAssembly("V0R0");  					  

    // Elementary cell of ring 1  - right part - :
    // (cells of ring 1 will be shifted by 2.0 cm backwards to output fibers)
    Float_t   r1Right =  fV0CRMin + fV0CHeight1;
    Float_t   offset  = fV0CBoxThickness/2.0 - fV0CLidThickness - fV0CCellThickness/2.0;   
    Float_t   partubs[5];   
    partubs[0]     =  fV0CRMin;
    partubs[1]     =  r1Right;
    partubs[2]     =  fV0CCellThickness/2.0;
    partubs[3]     =  90.0-22.5;
    partubs[4]     = 135.0-22.5;
    TGeoTubeSeg *sV0R1 = new TGeoTubeSeg("V0R1", partubs[0], partubs[1], partubs[2],
					 partubs[3], partubs[4]);
    TGeoVolume  *v0R1  = new TGeoVolume("V0R1",sV0R1,medV0CSci);				       
    TGeoTranslation *tr4 = new TGeoTranslation(0.,0., offset);
    v0R0->AddNode(v0R1,1,tr4);
    v0R1->SetLineColor(kColorVZERO);

    // Elementary cell of ring 2 - right part - :
    // (cells of ring 2 will be shifted by 1.0 cm backwards to output fibers)
    Float_t   r2Right  =  r1Right + fV0CHeight2;  
    partubs[0]     =  r1Right;  //  must be equal to 7.1
    partubs[1]     =  r2Right;  //  must be equal to 11.5
    TGeoTubeSeg *sV0R2 = new TGeoTubeSeg("V0R2", partubs[0], partubs[1], partubs[2],
					 partubs[3], partubs[4]);
    TGeoVolume  *v0R2  = new TGeoVolume("V0R2",sV0R2,medV0CSci);
    TGeoTranslation *tr5 = new TGeoTranslation(0.0,0.2, offset - fV0COffsetFibers);
    v0R0->AddNode(v0R2,1,tr5);
    v0R2->SetLineColor(kColorVZERO);

    // Ring 3 - right part -  :
    r2Right  =  r2Right + 0.2;
    Float_t   r3Right  =  r2Right + fV0CHeight3;     
    partubs[0]     =  r2Right;  //  must be equal to 11.7
    partubs[1]     =  r3Right;  //  must be equal to 19.1
    partubs[3]     =  90.0-22.5;
    partubs[4]     = 112.5-22.5;
    TGeoTubeSeg *sV0R3 = new TGeoTubeSeg("V0R3", partubs[0], partubs[1], partubs[2],
					 partubs[3], partubs[4]);
    TGeoVolume  *v0R3  = new TGeoVolume("V0R3",sV0R3,medV0CSci);
    TGeoTranslation *tr6 = new TGeoTranslation(0.,0.2, offset - 2.0*fV0COffsetFibers);
    v0R0->AddNode(v0R3,1,tr6);
    v0R3->SetLineColor(kColorVZERO);
    partubs[3]     = 112.5-22.5;
    partubs[4]     = 135.0-22.5;
    TGeoTubeSeg *sV0R4 = new TGeoTubeSeg("V0R4", partubs[0], partubs[1], partubs[2],
					 partubs[3], partubs[4]);
    TGeoVolume  *v0R4  = new TGeoVolume("V0R4",sV0R4,medV0CSci);
    v0R0->AddNode(v0R4,1,tr6);
    v0R4->SetLineColor(kColorVZERO);
  
    // Ring 4 - right part -  : 
    Float_t x = TMath::ATan(3.5/257.5) * ((180./TMath::Pi()));
    r3Right = r3Right + 0.2 + 0.2;   // + 0.2 because no shift in translation here !!
    partubs[0]     =  r3Right;  //  must be equal to 19.5
    partubs[1]     =  r4Right;  //  must be equal to 32.0
    partubs[3]     =  90.0-22.5+x;
    partubs[4]     = 112.5-22.5-x;
    TGeoTubeSeg *sV0R5 = new TGeoTubeSeg("V0R5", partubs[0], partubs[1], partubs[2],
					 partubs[3], partubs[4]);
    TGeoVolume  *v0R5  = new TGeoVolume("V0R5",sV0R5,medV0CSci);
    TGeoTranslation *tr7 = new TGeoTranslation(0.,0.0, offset - 2.0*fV0COffsetFibers + 0.25);					      
    v0R0->AddNode(v0R5,1,tr7);
    v0R5->SetLineColor(kColorVZERO);
    partubs[3]     = 112.5-22.5+x;
    partubs[4]     = 135.0-22.5-x;
    TGeoTubeSeg *sV0R6 = new TGeoTubeSeg("V0R6", partubs[0], partubs[1], partubs[2],
					 partubs[3], partubs[4]);
    TGeoVolume  *v0R6  = new TGeoVolume("V0R6",sV0R6,medV0CSci);
    v0R0->AddNode(v0R6,1,tr7);
    v0R6->SetLineColor(kColorVZERO);
    Float_t  phi;
    Float_t  phiDeg= 180./4.;
    Int_t    nsecR = 1;     // number of sectors in right part of V0
    for (phi = 22.5; phi < 360.0; phi = phi + phiDeg) {
      TGeoRotation  *rot1 = new TGeoRotation("rot1", 90.0, +phi, 90., 90.+phi, 0.0, 0.0 ); 
      v0RI->AddNode(v0R0,nsecR,rot1);    
      nsecR++;        
    }

  ///////////////////////////////////////////////////////////////////////////
  // Construct the geometry of V0A Detector. Carlos PEREZ, PUCP
  // Revision by Lizardo VALENCIA, UNAM Mexico in July 2008

    const int kV0AColorSci   = 5;
    const int kV0AColorPlaIn = 3;
    const int kV0AColorPlaOu = 41;
    const int kV0AColorOct   = 7;
    const int kV0AColorFra   = 6;
    const int kV0AColorFib   = 11;
    const int kV0AColorPMG   = 1;
    const int kV0AColorPMA   = 2;
    const int kV0AColorFibGlass = 4; 
    TGeoMedium *medV0ASci = gGeoManager->GetMedium("VZERO_V0ASci");
    TGeoMedium *medV0APlaIn = gGeoManager->GetMedium("VZERO_V0APlaIn");
    TGeoMedium *medV0APlaOu = gGeoManager->GetMedium("VZERO_V0APlaOu");
    TGeoMedium *medV0ASup = gGeoManager->GetMedium("VZERO_V0APMA");
    TGeoMedium *medV0AFra = gGeoManager->GetMedium("VZERO_V0ALuc");
    TGeoMedium *medV0AFib = gGeoManager->GetMedium("VZERO_V0AFib");
    TGeoMedium *medV0APMGlass = gGeoManager->GetMedium("VZERO_V0APMG");
    TGeoMedium *medV0APMAlum = gGeoManager->GetMedium("VZERO_V0APMA");
    TGeoMedium *medV0AFibGlass = gGeoManager->GetMedium("VZERO_V0AFibGlass");
    double pi = TMath::Pi();
    double sin225   = TMath::Sin(pi/8.);
    double cos225   = TMath::Cos(pi/8.);
    double sin45    = TMath::Sin(pi/4.); // lucky: Sin45=Cos45
    double cos45    = TMath::Cos(pi/4.); 
    double v0APts[16];
    double sin654   = TMath::Sin(1.14);
    double cos654   = TMath::Cos(1.14);
    
    //Defining the master volume for V0A
    TGeoVolume *v0LE = new TGeoVolumeAssembly("V0LE");

    /// Definition sector 1
    TGeoVolume *v0ASec1 = new TGeoVolumeAssembly("V0ASec1");
        
    /// For boolean sustraction
    double preShapeSec1 = 0.2;
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec1;  v0APts[1+8*i] = -preShapeSec1;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec1;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec1;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec1;  v0APts[7+8*i] = -preShapeSec1;
    }
    new TGeoArb8("sV0ACha1Sec1",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45-preShapeSec1;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45-preShapeSec1;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45-preShapeSec1;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+preShapeSec1;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+2.*preShapeSec1;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45+preShapeSec1;
      v0APts[7+8*i] = fV0AR4*sin45+preShapeSec1;
    }
    new TGeoArb8("sV0ACha2Sec1", fV0ASciWd/2.+2.*preShapeSec1, v0APts);
    new TGeoCompositeShape("sV0ACha12Sec1","sV0ACha1Sec1+sV0ACha2Sec1");
    new TGeoTube("sV0ANail1SciHoleSec1", 0.0, 0.4, 1.65);
    TGeoTranslation *pos1Sec1 = new TGeoTranslation("pos1Sec1", 42.9, 0.51, 0.0);
    pos1Sec1->RegisterYourself();
    new TGeoTube("sV0ANail2SciHoleSec1", 0.0, 0.4, 1.65);
    TGeoTranslation *pos2Sec1 = new TGeoTranslation("pos2Sec1", 30.73,29.98,0.0);
    pos2Sec1->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsSciHolesSec1","sV0ANail1SciHoleSec1:pos1Sec1+sV0ANail2SciHoleSec1:pos2Sec1");
    new TGeoCompositeShape("sV0AChaSec1","sV0ACha12Sec1+sV0ANailsSciHolesSec1");
    new TGeoTubeSeg("sV0AFicR5Sec1", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec1, 0, 45);
    new TGeoBBox("sV0AFicFEEBSec1", fV0AFEEBWd/2., fV0AFEEBHt/2., fV0AFEEBTh/2.);
    TGeoRotation *rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0);
    double aFEEshiftR2Sec1 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    TGeoCombiTrans *posFicFEEBSec1 = new TGeoCombiTrans("posFicFEEBSec1", aFEEshiftR2Sec1*cos225 + 2.0, 0, 7.5, rot);
    posFicFEEBSec1->RegisterYourself();
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0+45.0);
    TGeoCombiTrans *posFicFEEBUpSec1 = new TGeoCombiTrans("posFicFEEBUpSec1", (aFEEshiftR2Sec1*cos225 + 2.0 )*cos45, (aFEEshiftR2Sec1*cos225 + 2.0 )*sin45, 7.5, rot);
    posFicFEEBUpSec1->RegisterYourself();
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AOctH2/2.;	       v0APts[1+8*i] = fV0AFEEBHt/2. + 2.5;
    v0APts[2+8*i] = fV0AOctH2/2.;              v0APts[3+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[4+8*i] = -fV0AOctH2/2.;	       v0APts[5+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[6+8*i] = -fV0AOctH2/2.;	       v0APts[7+8*i] = fV0AFEEBHt/2.+ 2.5;
    }
    new TGeoArb8("sV0AFicOct2Sec1", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoTranslation *posFicOct2Sec1 = new TGeoTranslation("posFicOct2Sec1",(aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0,0.0,0.0);
    posFicOct2Sec1->RegisterYourself();  
    rot = new TGeoRotation("rot");
    rot->RotateZ(-90.0+45.0+90.0);
    TGeoCombiTrans *posFicOct2UpSec1 = new TGeoCombiTrans("posFicOct2UpSec1",((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*cos45,((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*sin45,0.0,rot);
    posFicOct2UpSec1->RegisterYourself(); 

    /// Frame
    TGeoVolume *v0AFraSec1 = new TGeoVolumeAssembly("V0AFraSec1");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[7+8*i] = 0.;
    }
    TGeoArb8 *sV0AFraB1Sec1 = new TGeoArb8("sV0AFraB1Sec1",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB1Sec1 = new TGeoVolume("V0AFraB1Sec1",sV0AFraB1Sec1,medV0AFra);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45;
      v0APts[7+8*i] = fV0AR4*sin45;
    }
    TGeoArb8 *sV0AFraB2Sec1 = new TGeoArb8("sV0AFraB2Sec1", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB2Sec1 = new TGeoVolume("V0AFraB2Sec1",sV0AFraB2Sec1,medV0AFra);
    v0AFraB1Sec1->SetLineColor(kV0AColorFra); v0AFraB2Sec1->SetLineColor(kV0AColorFra);
    v0AFraSec1->AddNode(v0AFraB1Sec1,1);
    v0AFraSec1->AddNode(v0AFraB2Sec1,1);  
    new TGeoTubeSeg( "sV0AFraR1bSec1", fV0AR0-fV0AFraWd/2.,
		     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR2bSec1", fV0AR1-fV0AFraWd/2.,
		     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR3bSec1", fV0AR2-fV0AFraWd/2.,
		     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR4bSec1", fV0AR3-fV0AFraWd/2.,
		     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR5bSec1", fV0AR4-fV0AFraWd/2.,
		     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AFraR1Sec1 = new TGeoCompositeShape("sV0AFraR1Sec1","sV0AFraR1bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AFraR2Sec1 = new TGeoCompositeShape("sV0AFraR2Sec1","sV0AFraR2bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AFraR3Sec1 = new TGeoCompositeShape("sV0AFraR3Sec1","sV0AFraR3bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AFraR4Sec1 = new TGeoCompositeShape("sV0AFraR4Sec1","sV0AFraR4bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AFraR5Sec1 = new TGeoCompositeShape("sV0AFraR5Sec1","sV0AFraR5bSec1-sV0AChaSec1");
    TGeoVolume *v0AFraR1Sec1 = new TGeoVolume("V0AFraR1Sec1",sV0AFraR1Sec1,medV0AFra);
    TGeoVolume *v0AFraR2Sec1 = new TGeoVolume("V0AFraR2Sec1",sV0AFraR2Sec1,medV0AFra);
    TGeoVolume *v0AFraR3Sec1 = new TGeoVolume("V0AFraR3Sec1",sV0AFraR3Sec1,medV0AFra);
    TGeoVolume *v0AFraR4Sec1 = new TGeoVolume("V0AFraR4Sec1",sV0AFraR4Sec1,medV0AFra);
    TGeoVolume *v0AFraR5Sec1 = new TGeoVolume("V0AFraR5Sec1",sV0AFraR5Sec1,medV0AFra);
    v0AFraR1Sec1->SetLineColor(kV0AColorFra); v0AFraR2Sec1->SetLineColor(kV0AColorFra);
    v0AFraR3Sec1->SetLineColor(kV0AColorFra); v0AFraR4Sec1->SetLineColor(kV0AColorFra);
    v0AFraR5Sec1->SetLineColor(kV0AColorFra);
    v0AFraSec1->AddNode(v0AFraR1Sec1,1); 
    v0AFraSec1->AddNode(v0AFraR2Sec1,1);
    v0AFraSec1->AddNode(v0AFraR3Sec1,1); 
    v0AFraSec1->AddNode(v0AFraR4Sec1,1);
    v0AFraSec1->AddNode(v0AFraR5Sec1,1);
    v0ASec1->AddNode(v0AFraSec1,1);
    
    /// Sensitive scintilator
    TGeoVolume *v0ASciSec1 = new TGeoVolumeAssembly("V0ASciSec1");
    new TGeoTubeSeg( "sV0AR1bSec1", fV0AR0+fV0AFraWd/2.,
		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR2bSec1", fV0AR1+fV0AFraWd/2.,
		     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR3bSec1", fV0AR2+fV0AFraWd/2.,
		     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR4bSec1", fV0AR3+fV0AFraWd/2.,
		     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AR1Sec1 = new TGeoCompositeShape("sV0AR1Sec1","sV0AR1bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AR2Sec1 = new TGeoCompositeShape("sV0AR2Sec1","sV0AR2bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AR3Sec1 = new TGeoCompositeShape("sV0AR3Sec1","sV0AR3bSec1-sV0AChaSec1");
    TGeoCompositeShape *sV0AR4Sec1 = new TGeoCompositeShape("sV0AR4Sec1","sV0AR4bSec1-sV0AChaSec1");
    TGeoVolume *v0L1Sec1 = new TGeoVolume("V0L1Sec1",sV0AR1Sec1,medV0ASci);
    TGeoVolume *v0L2Sec1 = new TGeoVolume("V0L2Sec1",sV0AR2Sec1,medV0ASci);
    TGeoVolume *v0L3Sec1 = new TGeoVolume("V0L3Sec1",sV0AR3Sec1,medV0ASci);
    TGeoVolume *v0L4Sec1 = new TGeoVolume("V0L4Sec1",sV0AR4Sec1,medV0ASci);
    v0L1Sec1->SetLineColor(kV0AColorSci); v0L2Sec1->SetLineColor(kV0AColorSci);
    v0L3Sec1->SetLineColor(kV0AColorSci); v0L4Sec1->SetLineColor(kV0AColorSci);
    v0ASec1->AddNode(v0L1Sec1,1);
    v0ASec1->AddNode(v0L2Sec1,1);
    v0ASec1->AddNode(v0L3Sec1,1);
    v0ASec1->AddNode(v0L4Sec1,1);      
    
    /// Segment of octagon 
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] =  fV0AR6-fV0AOctH2;           v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = (fV0AR6-fV0AOctH2)*sin45;  v0APts[3+8*i] = (fV0AR6-fV0AOctH2)*sin45;
      v0APts[4+8*i] = fV0AR6*sin45;		 v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;			 v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0AOct2Sec1", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoCompositeShape *sV0AOct2FEEBSec1 = new TGeoCompositeShape("sV0AOct2FEEBSec1","sV0AOct2Sec1-sV0AFicFEEBSec1:posFicFEEBSec1-sV0AFicFEEBSec1:posFicFEEBUpSec1-sV0AFicOct2Sec1:posFicOct2Sec1-sV0AFicOct2Sec1:posFicOct2UpSec1");
    TGeoVolume *v0AOct2Sec1 = new TGeoVolume("V0AOct2Sec1", sV0AOct2FEEBSec1,medV0ASup);
    v0AOct2Sec1->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASupSec1 = new TGeoVolumeAssembly("V0ASupSec1");
    v0ASupSec1->AddNode(v0AOct2Sec1,1);
    v0ASec1->AddNode(v0ASupSec1,1);

    //Bunch of fibers
    v0APts[ 0] = v0APts[ 2] = -13.0;
    v0APts[ 1] = v0APts[ 7] = (fV0ASciWd+fV0AOctWd)/2.-0.01;
    v0APts[ 3] = v0APts[ 5] = (fV0ASciWd+fV0AOctWd)/2.+0.01;
    v0APts[ 4] = v0APts[ 6] = +13.0;
    v0APts[ 8] = v0APts[10] = -10.0;
    v0APts[ 9] = v0APts[15] = 0.;
    v0APts[11] = v0APts[13] = 0.25;
    v0APts[12] = v0APts[14] = +10.0;
    new TGeoArb8("sV0AFib1Sec1", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos1Sec1 = new TGeoCombiTrans("fibpos1Sec1", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos1Sec1->RegisterYourself();
    TGeoCompositeShape *sV0AFib1HoleSec1 = new TGeoCompositeShape("sV0AFib1HoleSec1","sV0AFib1Sec1:fibpos1Sec1-sV0AFicR5Sec1"); 
    TGeoVolume *v0AFib1HoleSec1 = new TGeoVolume("V0AFib1HoleSec1",sV0AFib1HoleSec1,medV0AFib);
    v0AFib1HoleSec1->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib2Sec1", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateY(180);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos2Sec1 = new TGeoCombiTrans("fibpos2Sec1", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos2Sec1->RegisterYourself();
    TGeoCompositeShape *sV0AFib2HoleSec1 = new TGeoCompositeShape("sV0AFib2HoleSec1","sV0AFib2Sec1:fibpos2Sec1-sV0AFicR5Sec1");
    TGeoVolume *v0AFib2HoleSec1 = new TGeoVolume("V0AFib2HoleSec1",sV0AFib2HoleSec1,medV0AFib);
    v0AFib2HoleSec1->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFibSec1 = new TGeoVolumeAssembly("V0AFibSec1");
    v0AFibSec1->AddNode(v0AFib1HoleSec1,1);
    v0AFibSec1->AddNode(v0AFib2HoleSec1,1);
    v0ASec1->AddNode(v0AFibSec1,1); 
    
     /// Plates
    new TGeoTube("sV0ANail1PlaInHoleSec1", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaInHoleSec1", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaInHolesSec1","sV0ANail1PlaInHoleSec1:pos1Sec1+sV0ANail2PlaInHoleSec1:pos2Sec1");
    new TGeoTube("sV0ANail1PlaOuHoleSec1", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaOuHoleSec1", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaOuHolesSec1","sV0ANail1PlaOuHoleSec1:pos1Sec1+sV0ANail2PlaOuHoleSec1:pos2Sec1");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0;			v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0*sin45;		v0APts[3+8*i] = fV0AR0*sin45;
      v0APts[4+8*i] = fV0AR6 * sin45;	v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;		v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0APlaInSec1", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHolesSec1 = new TGeoCompositeShape("sV0APlaInNailsHolesSec1","sV0APlaInSec1-sV0ANailsPlaInHolesSec1-sV0AFicFEEBSec1:posFicFEEBSec1-sV0AFicFEEBSec1:posFicFEEBUpSec1");
    TGeoVolume *v0APlaInNailsHolesSec1 = new TGeoVolume("V0APlaInNailsHolesSec1", sV0APlaInNailsHolesSec1, medV0APlaIn);
    new TGeoArb8("sV0APlaOuSec1", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHolesSec1 = new TGeoCompositeShape("sV0APlaOuNailsHolesSec1","sV0APlaOuSec1-sV0ANailsPlaOuHolesSec1-sV0AFicFEEBSec1:posFicFEEBSec1-sV0AFicFEEBSec1:posFicFEEBUpSec1"); 
    TGeoVolume *v0APlaOuNailsHolesSec1 = new TGeoVolume("V0APlaOuNailsHolesSec1", sV0APlaOuNailsHolesSec1, medV0APlaOu);
    v0APlaInNailsHolesSec1->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHolesSec1->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APlaSec1 = new TGeoVolumeAssembly("V0APlaSec1");
    v0APlaSec1->AddNode(v0APlaInNailsHolesSec1,1);
    v0APlaSec1->AddNode(v0APlaOuNailsHolesSec1,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APlaSec1->AddNode(v0APlaOuNailsHolesSec1,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec1->AddNode(v0APlaSec1,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec1->AddNode(v0APlaSec1,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
     /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S2Sec1", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec1, 0, 45);
    TGeoCompositeShape *sV0AR5Sec1 = new TGeoCompositeShape("V0AR5Sec1","sV0AR5S2Sec1 - sV0AChaSec1");
    TGeoVolume *v0AR5Sec1 = new TGeoVolume("V0AR5Sec1",sV0AR5Sec1,medV0ASci);
    v0AR5Sec1->SetLineColor(kV0AColorSci);
    v0ASciSec1->AddNode(v0AR5Sec1,1);
    v0ASec1->AddNode(v0ASciSec1,1); 

    /// PMBox
    TGeoVolume* v0APMSec1 = new TGeoVolumeAssembly("V0APMSec1");
    new TGeoBBox("sV0APMB1Sec1", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB2Sec1", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMBSec1 = new TGeoCompositeShape("sV0APMBSec1","sV0APMB1Sec1-sV0APMB2Sec1");
    TGeoVolume *v0APMBSec1 = new TGeoVolume("V0APMBSec1",sV0APMBSec1, medV0APMAlum);
    v0APMBSec1->SetLineColor(kV0AColorPMA);
    v0APMSec1->AddNode(v0APMBSec1,1);

    /// PMTubes
    TGeoTube *sV0APMT1Sec1 = new TGeoTube("sV0APMT1Sec1", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT1Sec1 = new TGeoVolume("V0APMT1Sec1", sV0APMT1Sec1, medV0APMGlass);
    TGeoTube *sV0APMT2Sec1 = new TGeoTube("sV0APMT2Sec1", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT2Sec1 = new TGeoVolume("V0APMT2Sec1", sV0APMT2Sec1, medV0APMAlum);
    TGeoVolume *v0APMTSec1 = new TGeoVolumeAssembly("V0APMTSec1");
    TGeoTube *sV0APMTTSec1 = new TGeoTube("sV0APMTTSec1", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTTSec1 = new TGeoVolume("V0APMTTSec1", sV0APMTTSec1, medV0APMAlum);
    v0APMT1Sec1->SetLineColor(kV0AColorPMG);
    v0APMT2Sec1->SetLineColor(kV0AColorPMA);
    v0APMTTSec1->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMTSec1->AddNode(v0APMT1Sec1,1,rot);
    v0APMTSec1->AddNode(v0APMT2Sec1,1,rot);
    v0APMTSec1->AddNode(v0APMTTSec1,1,new TGeoCombiTrans(0,-(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShiftSec1 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APMSec1->AddNode(v0APMTSec1, 1, new TGeoTranslation(-1.5*autoShiftSec1, 0, 0));
    v0APMSec1->AddNode(v0APMTSec1, 2, new TGeoTranslation(-0.5*autoShiftSec1, 0, 0));
    v0APMSec1->AddNode(v0APMTSec1, 3, new TGeoTranslation(+0.5*autoShiftSec1, 0, 0));
    v0APMSec1->AddNode(v0APMTSec1, 4, new TGeoTranslation(+1.5*autoShiftSec1, 0, 0));

    // PM
    rot = new TGeoRotation("rot");
    rot->RotateX(90-fV0APMBAng);
    rot->RotateZ(-90.+22.5);
    double cosAngPMBSec1 = TMath::Cos(fV0APMBAng*TMath::DegToRad());
    double sinAngPMBSec1 = TMath::Sin(fV0APMBAng*TMath::DegToRad());
    double shiftZSec1 = fV0APMBHt/2. * cosAngPMBSec1
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMBSec1;
    double shiftRSec1 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0ASec1->AddNode(v0APMSec1,1, new TGeoCombiTrans( shiftRSec1*cos225+1.07, shiftRSec1*sin225, shiftZSec1, rot));
    
    // Aluminium nails 
    TGeoTube *sV0ANail1Sec1 = new TGeoTube("sV0ANail1Sec1", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail1Sec1 = new TGeoVolume("V0ANail1Sec1", sV0ANail1Sec1, medV0APMAlum);
    v0ANail1Sec1->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec1->AddNode(v0ANail1Sec1,1,new TGeoTranslation(42.9, 0.51, 0.0));
    TGeoTube *sV0ANail2Sec1 = new TGeoTube("sV0ANail2Sec1", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail2Sec1 = new TGeoVolume("V0ANail2Sec1", sV0ANail2Sec1, medV0APMAlum);
    v0ANail2Sec1->SetLineColor(kV0AColorPMA);
    v0ASec1->AddNode(v0ANail2Sec1,1,new TGeoTranslation(30.73,29.98,0.0)); 
        
    /// Adding sector to v0LE volume
    for(int i=0; i<1; i++) {
       TGeoRotation *rotation = new TGeoRotation("rotation", 90., i*45., 90., 90.+i*45., 0., 0.);
       v0LE->AddNode(v0ASec1,i+1,rotation);  
    }

    //Front end electronics for sector 1

    //FEEBox
    TGeoVolume* v0AFEE = new TGeoVolumeAssembly("V0AFEE");
    new TGeoBBox("sV0AFEEB1", fV0AFEEBWd/2., fV0AFEEBHt/2., fV0AFEEBTh/2.);
    new TGeoBBox("sV0AFEEB2", fV0AFEEBWd/2.-fV0APMBWdW, fV0AFEEBHt/2.-fV0APMBHtW, fV0AFEEBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0AFEEB = new TGeoCompositeShape("sV0AFEEB","sV0AFEEB1-sV0AFEEB2");
    TGeoVolume *v0AFEEB = new TGeoVolume("V0AFEEB",sV0AFEEB, medV0APMAlum);
    v0AFEEB->SetLineColor(kV0AColorPMA);
    v0AFEE->AddNode(v0AFEEB,1);

    //Mother and daughter boards
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -fV0APMBHtW/10.;	       v0APts[1+8*i] = fV0AFEEBTh/2.-fV0APMTB;
    v0APts[2+8*i] = fV0APMBHtW/10.;             v0APts[3+8*i] = fV0AFEEBTh/2.-fV0APMTB;
    v0APts[4+8*i] = fV0APMBHtW/10.;	       v0APts[5+8*i] = -fV0AFEEBTh/2.+fV0APMTB;
    v0APts[6+8*i] = -fV0APMBHtW/10.;	       v0APts[7+8*i] = -fV0AFEEBTh/2.+fV0APMTB;
    }
    TGeoArb8 *sV0AFEEDaughter = new TGeoArb8("sV0AFEEDaughter", fV0AFEEBTh/2.-fV0APMTB, v0APts);
    TGeoVolume *v0AFEEDaughter = new TGeoVolume("V0AFEEDaughter", sV0AFEEDaughter, medV0AFibGlass);
    v0AFEEDaughter->SetLineColor(kV0AColorFibGlass);
    double spacing = fV0APMBHtW;
    v0AFEE->AddNode(v0AFEEDaughter, 1, new TGeoTranslation(9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 2, new TGeoTranslation(6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 3, new TGeoTranslation(3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 4, new TGeoTranslation(0.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 5, new TGeoTranslation(-3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 6, new TGeoTranslation(-6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 7, new TGeoTranslation(-9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE->AddNode(v0AFEEDaughter, 8, new TGeoTranslation(-12.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));   
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -fV0AFEEBWd/2.+fV0APMBWdW;	       v0APts[1+8*i] = fV0AFEEBTh+fV0APMTB;
    v0APts[2+8*i] = fV0AFEEBWd/2.-fV0APMBWdW;          v0APts[3+8*i] = fV0AFEEBTh+fV0APMTB;
    v0APts[4+8*i] = fV0AFEEBWd/2.-fV0APMBWdW;	       v0APts[5+8*i] = -fV0AFEEBTh-fV0APMTB;
    v0APts[6+8*i] = -fV0AFEEBWd/2.+fV0APMBWdW;	       v0APts[7+8*i] = -fV0AFEEBTh-fV0APMTB;
    }
    TGeoArb8 *sV0AFEEMother = new TGeoArb8("sV0AFEEMother", fV0APMBHtW/10., v0APts);
    TGeoVolume *v0AFEEMother = new TGeoVolume("V0AFEEMother", sV0AFEEMother, medV0AFibGlass);
    v0AFEEMother->SetLineColor(kV0AColorFibGlass);
    v0AFEE->AddNode(v0AFEEMother, 1, new TGeoTranslation(0.0, 0.0, -fV0AFEEBTh/2.+fV0APMBThW+fV0APMBHtW));
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = -fV0AFEEBWd/2.+fV0APMBWdW;	       v0APts[1+8*i] = (fV0AFEEBTh+fV0APMTB)/2.;
      v0APts[2+8*i] = fV0AFEEBWd/2.-fV0APMBWdW;                v0APts[3+8*i] = (fV0AFEEBTh+fV0APMTB)/2.;
      v0APts[4+8*i] = fV0AFEEBWd/2.-fV0APMBWdW;	               v0APts[5+8*i] = (-fV0AFEEBTh-fV0APMTB)/2.;
      v0APts[6+8*i] = -fV0AFEEBWd/2.+fV0APMBWdW;	       v0APts[7+8*i] = (-fV0AFEEBTh-fV0APMTB)/2.; 
    }
    TGeoArb8 *sV0AFEEHalfMother = new TGeoArb8("sV0AFEEHalfMother", fV0APMBHtW/10., v0APts);
    TGeoVolume *v0AFEEHalfMother = new TGeoVolume("V0AFEEHalfMother", sV0AFEEHalfMother, medV0AFibGlass);
    v0AFEEHalfMother->SetLineColor(kV0AColorFibGlass);
    v0AFEE->AddNode(v0AFEEHalfMother, 1, new TGeoTranslation(0.0, -(fV0AFEEBTh+fV0APMTB)/2., -2.0*spacing));


    //FEE
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(+90.0);
    double aFEEshiftR = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0LE->AddNode(v0AFEE,1, new TGeoCombiTrans( aFEEshiftR*cos225+2.0, 0, 7.5, rot));
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AOctH2/2.;	       v0APts[1+8*i] = fV0AFEEBHt/2. + 2.5;
    v0APts[2+8*i] = fV0AOctH2/2.;              v0APts[3+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[4+8*i] = -fV0AOctH2/2.;	       v0APts[5+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[6+8*i] = -fV0AOctH2/2.;	       v0APts[7+8*i] = fV0AFEEBHt/2.+ 2.5;
    }
    TGeoArb8 *sV0AFEEOct2 = new TGeoArb8("sV0AFEEOct2", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoVolume *v0AFEEOct2 = new TGeoVolume("V0AFEEOct2",sV0AFEEOct2, medV0ASup);
    v0AFEEOct2->SetLineColor(kV0AColorOct);
    v0LE->AddNode(v0AFEEOct2,1, new TGeoTranslation((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0,0.0,0.0));


    /// Definition sector 2
    TGeoVolume *v0ASec2 = new TGeoVolumeAssembly("V0ASec2");
        
    /// For boolean sustraction
    double preShapeSec2 = 0.2;
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec2;  v0APts[1+8*i] = -preShapeSec2;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec2;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec2;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec2;  v0APts[7+8*i] = -preShapeSec2;
    }
    new TGeoArb8("sV0ACha1Sec2",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45-preShapeSec2;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45-preShapeSec2;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45-preShapeSec2;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+preShapeSec2;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+2.*preShapeSec2;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45+preShapeSec2;
      v0APts[7+8*i] = fV0AR4*sin45+preShapeSec2;
    }
    new TGeoArb8("sV0ACha2Sec2", fV0ASciWd/2.+2.*preShapeSec2, v0APts);
    new TGeoCompositeShape("sV0ACha12Sec2","sV0ACha1Sec2+sV0ACha2Sec2");
    new TGeoTube("sV0ANail1SciHoleSec2", 0.0, 0.4, 1.65);
    TGeoTranslation *pos1Sec2 = new TGeoTranslation("pos1Sec2", 42.9, 0.51, 0.0);
    pos1Sec2->RegisterYourself();
    new TGeoTube("sV0ANail2SciHoleSec2", 0.0, 0.4, 1.65);
    TGeoTranslation *pos2Sec2 = new TGeoTranslation("pos2Sec2", 30.73,29.98,0.0);
    pos2Sec2->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsSciHolesSec2","sV0ANail1SciHoleSec2:pos1Sec2+sV0ANail2SciHoleSec2:pos2Sec2");
    new TGeoCompositeShape("sV0AChaSec2","sV0ACha12Sec2+sV0ANailsSciHolesSec2");
    new TGeoTubeSeg("sV0AFicR5Sec2", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec2, 0, 45);
    new TGeoBBox("sV0AFicFEEBSec2", fV0AFEEBWd/2., fV0AFEEBHt/2., fV0AFEEBTh/2.);
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0);
    double aFEEshiftR2Sec2 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    TGeoCombiTrans *posFicFEEBSec2 = new TGeoCombiTrans("posFicFEEBSec2", aFEEshiftR2Sec2*cos225 + 2.0, 0, 7.5, rot);
    posFicFEEBSec2->RegisterYourself();
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AOctH2/2.;	       v0APts[1+8*i] = fV0AFEEBHt/2. + 2.5;
    v0APts[2+8*i] = fV0AOctH2/2.;              v0APts[3+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[4+8*i] = -fV0AOctH2/2.;	       v0APts[5+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[6+8*i] = -fV0AOctH2/2.;	       v0APts[7+8*i] = fV0AFEEBHt/2.+ 2.5;
    }
    new TGeoArb8("sV0AFicOct2Sec2", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoTranslation *posFicOct2Sec2 = new TGeoTranslation("posFicOct2Sec2",(aFEEshiftR2Sec2*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0,0.0,0.0);
    posFicOct2Sec2->RegisterYourself();  

    /// Frame
    TGeoVolume *v0AFraSec2 = new TGeoVolumeAssembly("V0AFraSec2");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[7+8*i] = 0.;
    }
    TGeoArb8 *sV0AFraB1Sec2 = new TGeoArb8("sV0AFraB1Sec2",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB1Sec2 = new TGeoVolume("V0AFraB1Sec2",sV0AFraB1Sec2,medV0AFra);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45;
      v0APts[7+8*i] = fV0AR4*sin45;
    }
    TGeoArb8 *sV0AFraB2Sec2 = new TGeoArb8("sV0AFraB2Sec2", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB2Sec2 = new TGeoVolume("V0AFraB2Sec2",sV0AFraB2Sec2,medV0AFra);
    v0AFraB1Sec2->SetLineColor(kV0AColorFra); v0AFraB2Sec2->SetLineColor(kV0AColorFra);
    v0AFraSec2->AddNode(v0AFraB1Sec2,1);
    v0AFraSec2->AddNode(v0AFraB2Sec2,1);  
    new TGeoTubeSeg( "sV0AFraR1bSec2", fV0AR0-fV0AFraWd/2.,
		     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR2bSec2", fV0AR1-fV0AFraWd/2.,
		     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR3bSec2", fV0AR2-fV0AFraWd/2.,
		     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR4bSec2", fV0AR3-fV0AFraWd/2.,
		     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR5bSec2", fV0AR4-fV0AFraWd/2.,
		     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AFraR1Sec2 = new TGeoCompositeShape("sV0AFraR1Sec2","sV0AFraR1bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AFraR2Sec2 = new TGeoCompositeShape("sV0AFraR2Sec2","sV0AFraR2bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AFraR3Sec2 = new TGeoCompositeShape("sV0AFraR3Sec2","sV0AFraR3bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AFraR4Sec2 = new TGeoCompositeShape("sV0AFraR4Sec2","sV0AFraR4bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AFraR5Sec2 = new TGeoCompositeShape("sV0AFraR5Sec2","sV0AFraR5bSec2-sV0AChaSec2");
    TGeoVolume *v0AFraR1Sec2 = new TGeoVolume("V0AFraR1Sec2",sV0AFraR1Sec2,medV0AFra);
    TGeoVolume *v0AFraR2Sec2 = new TGeoVolume("V0AFraR2Sec2",sV0AFraR2Sec2,medV0AFra);
    TGeoVolume *v0AFraR3Sec2 = new TGeoVolume("V0AFraR3Sec2",sV0AFraR3Sec2,medV0AFra);
    TGeoVolume *v0AFraR4Sec2 = new TGeoVolume("V0AFraR4Sec2",sV0AFraR4Sec2,medV0AFra);
    TGeoVolume *v0AFraR5Sec2 = new TGeoVolume("V0AFraR5Sec2",sV0AFraR5Sec2,medV0AFra);
    v0AFraR1Sec2->SetLineColor(kV0AColorFra); v0AFraR2Sec2->SetLineColor(kV0AColorFra);
    v0AFraR3Sec2->SetLineColor(kV0AColorFra); v0AFraR4Sec2->SetLineColor(kV0AColorFra);
    v0AFraR5Sec2->SetLineColor(kV0AColorFra);
    v0AFraSec2->AddNode(v0AFraR1Sec2,1); 
    v0AFraSec2->AddNode(v0AFraR2Sec2,1);
    v0AFraSec2->AddNode(v0AFraR3Sec2,1); 
    v0AFraSec2->AddNode(v0AFraR4Sec2,1);
    v0AFraSec2->AddNode(v0AFraR5Sec2,1);
    v0ASec2->AddNode(v0AFraSec2,1);
    
    /// Sensitive scintilator
    TGeoVolume *v0ASciSec2 = new TGeoVolumeAssembly("V0ASciSec2");
    new TGeoTubeSeg( "sV0AR1bSec2", fV0AR0+fV0AFraWd/2.,
		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR2bSec2", fV0AR1+fV0AFraWd/2.,
		     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR3bSec2", fV0AR2+fV0AFraWd/2.,
		     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR4bSec2", fV0AR3+fV0AFraWd/2.,
		     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AR1Sec2 = new TGeoCompositeShape("sV0AR1Sec2","sV0AR1bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AR2Sec2 = new TGeoCompositeShape("sV0AR2Sec2","sV0AR2bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AR3Sec2 = new TGeoCompositeShape("sV0AR3Sec2","sV0AR3bSec2-sV0AChaSec2");
    TGeoCompositeShape *sV0AR4Sec2 = new TGeoCompositeShape("sV0AR4Sec2","sV0AR4bSec2-sV0AChaSec2");
    TGeoVolume *v0L1Sec2 = new TGeoVolume("V0L1Sec2",sV0AR1Sec2,medV0ASci);
    TGeoVolume *v0L2Sec2 = new TGeoVolume("V0L2Sec2",sV0AR2Sec2,medV0ASci);
    TGeoVolume *v0L3Sec2 = new TGeoVolume("V0L3Sec2",sV0AR3Sec2,medV0ASci);
    TGeoVolume *v0L4Sec2 = new TGeoVolume("V0L4Sec2",sV0AR4Sec2,medV0ASci);
    v0L1Sec2->SetLineColor(kV0AColorSci); v0L2Sec2->SetLineColor(kV0AColorSci);
    v0L3Sec2->SetLineColor(kV0AColorSci); v0L4Sec2->SetLineColor(kV0AColorSci);
    v0ASec2->AddNode(v0L1Sec2,1);
    v0ASec2->AddNode(v0L2Sec2,1);
    v0ASec2->AddNode(v0L3Sec2,1);
    v0ASec2->AddNode(v0L4Sec2,1);      
    
    /// Segment of octagon 
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] =  fV0AR6-fV0AOctH2;           v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = (fV0AR6-fV0AOctH2)*sin45;  v0APts[3+8*i] = (fV0AR6-fV0AOctH2)*sin45;
      v0APts[4+8*i] = fV0AR6*sin45;		 v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;			 v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0AOct2Sec2", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoCompositeShape *sV0AOct2FEEBSec2 = new TGeoCompositeShape("sV0AOct2FEEBSec2","sV0AOct2Sec2-sV0AFicFEEBSec2:posFicFEEBSec2-sV0AFicOct2Sec2:posFicOct2Sec2");
    TGeoVolume *v0AOct2Sec2 = new TGeoVolume("V0AOct2Sec2", sV0AOct2FEEBSec2,medV0ASup);
    v0AOct2Sec2->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASupSec2 = new TGeoVolumeAssembly("V0ASupSec2");
    v0ASupSec2->AddNode(v0AOct2Sec2,1);
    v0ASec2->AddNode(v0ASupSec2,1);

    //Bunch of fibers
    v0APts[ 0] = v0APts[ 2] = -13.0;
    v0APts[ 1] = v0APts[ 7] = (fV0ASciWd+fV0AOctWd)/2.-0.01;
    v0APts[ 3] = v0APts[ 5] = (fV0ASciWd+fV0AOctWd)/2.+0.01;
    v0APts[ 4] = v0APts[ 6] = +13.0;
    v0APts[ 8] = v0APts[10] = -10.0;
    v0APts[ 9] = v0APts[15] = 0.;
    v0APts[11] = v0APts[13] = 0.25;
    v0APts[12] = v0APts[14] = +10.0;
    new TGeoArb8("sV0AFib1Sec2", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos1Sec2 = new TGeoCombiTrans("fibpos1Sec2", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos1Sec2->RegisterYourself();
    TGeoCompositeShape *sV0AFib1HoleSec2 = new TGeoCompositeShape("sV0AFib1HoleSec2","sV0AFib1Sec2:fibpos1Sec2-sV0AFicR5Sec2"); 
    TGeoVolume *v0AFib1HoleSec2 = new TGeoVolume("V0AFib1HoleSec2",sV0AFib1HoleSec2,medV0AFib);
    v0AFib1HoleSec2->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib2Sec2", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateY(180);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos2Sec2 = new TGeoCombiTrans("fibpos2Sec2", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos2Sec2->RegisterYourself();
    TGeoCompositeShape *sV0AFib2HoleSec2 = new TGeoCompositeShape("sV0AFib2HoleSec2","sV0AFib2Sec2:fibpos2Sec2-sV0AFicR5Sec2");
    TGeoVolume *v0AFib2HoleSec2 = new TGeoVolume("V0AFib2HoleSec2",sV0AFib2HoleSec2,medV0AFib);
    v0AFib2HoleSec2->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFibSec2 = new TGeoVolumeAssembly("V0AFibSec2");
    v0AFibSec2->AddNode(v0AFib1HoleSec2,1);
    v0AFibSec2->AddNode(v0AFib2HoleSec2,1);
    v0ASec2->AddNode(v0AFibSec2,1); 
    
     /// Plates
    new TGeoTube("sV0ANail1PlaInHoleSec2", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaInHoleSec2", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaInHolesSec2","sV0ANail1PlaInHoleSec2:pos1Sec2+sV0ANail2PlaInHoleSec2:pos2Sec2");
    new TGeoTube("sV0ANail1PlaOuHoleSec2", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaOuHoleSec2", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaOuHolesSec2","sV0ANail1PlaOuHoleSec2:pos1Sec2+sV0ANail2PlaOuHoleSec2:pos2Sec2");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0;			v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0*sin45;		v0APts[3+8*i] = fV0AR0*sin45;
      v0APts[4+8*i] = fV0AR6 * sin45;	v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;		v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0APlaInSec2", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHolesSec2 = new TGeoCompositeShape("sV0APlaInNailsHolesSec2","sV0APlaInSec2-sV0ANailsPlaInHolesSec2-sV0AFicFEEBSec2:posFicFEEBSec2");
    TGeoVolume *v0APlaInNailsHolesSec2 = new TGeoVolume("V0APlaInNailsHolesSec2", sV0APlaInNailsHolesSec2, medV0APlaIn);
    new TGeoArb8("sV0APlaOuSec2", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHolesSec2 = new TGeoCompositeShape("sV0APlaOuNailsHolesSec2","sV0APlaOuSec2-sV0ANailsPlaOuHolesSec2-sV0AFicFEEBSec2:posFicFEEBSec2"); 
    TGeoVolume *v0APlaOuNailsHolesSec2 = new TGeoVolume("V0APlaOuNailsHolesSec2", sV0APlaOuNailsHolesSec2, medV0APlaOu);
    v0APlaInNailsHolesSec2->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHolesSec2->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APlaSec2 = new TGeoVolumeAssembly("V0APlaSec2");
    v0APlaSec2->AddNode(v0APlaInNailsHolesSec2,1);
    v0APlaSec2->AddNode(v0APlaOuNailsHolesSec2,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APlaSec2->AddNode(v0APlaOuNailsHolesSec2,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec2->AddNode(v0APlaSec2,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec2->AddNode(v0APlaSec2,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
     /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S2Sec2", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec2, 0, 45);
    TGeoCompositeShape *sV0AR5Sec2 = new TGeoCompositeShape("V0AR5Sec2","sV0AR5S2Sec2 - sV0AChaSec2");
    TGeoVolume *v0AR5Sec2 = new TGeoVolume("V0AR5Sec2",sV0AR5Sec2,medV0ASci);
    v0AR5Sec2->SetLineColor(kV0AColorSci);
    v0ASciSec2->AddNode(v0AR5Sec2,1);
    v0ASec2->AddNode(v0ASciSec2,1); 

    /// PMBox
    TGeoVolume* v0APMSec2 = new TGeoVolumeAssembly("V0APMSec2");
    new TGeoBBox("sV0APMB1Sec2", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB2Sec2", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMBSec2 = new TGeoCompositeShape("sV0APMBSec2","sV0APMB1Sec2-sV0APMB2Sec2");
    TGeoVolume *v0APMBSec2 = new TGeoVolume("V0APMBSec2",sV0APMBSec2, medV0APMAlum);
    v0APMBSec2->SetLineColor(kV0AColorPMA);
    v0APMSec2->AddNode(v0APMBSec2,1);

    /// PMTubes
    TGeoTube *sV0APMT1Sec2 = new TGeoTube("sV0APMT1Sec2", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT1Sec2 = new TGeoVolume("V0APMT1Sec2", sV0APMT1Sec2, medV0APMGlass);
    TGeoTube *sV0APMT2Sec2 = new TGeoTube("sV0APMT2Sec2", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT2Sec2 = new TGeoVolume("V0APMT2Sec2", sV0APMT2Sec2, medV0APMAlum);
    TGeoVolume *v0APMTSec2 = new TGeoVolumeAssembly("V0APMTSec2");
    TGeoTube *sV0APMTTSec2 = new TGeoTube("sV0APMTTSec2", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTTSec2 = new TGeoVolume("V0APMTTSec2", sV0APMTTSec2, medV0APMAlum);
    v0APMT1Sec2->SetLineColor(kV0AColorPMG);
    v0APMT2Sec2->SetLineColor(kV0AColorPMA);
    v0APMTTSec2->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMTSec2->AddNode(v0APMT1Sec2,1,rot);
    v0APMTSec2->AddNode(v0APMT2Sec2,1,rot);
    v0APMTSec2->AddNode(v0APMTTSec2,1,new TGeoCombiTrans(0,-(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShiftSec2 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APMSec2->AddNode(v0APMTSec2, 1, new TGeoTranslation(-1.5*autoShiftSec2, 0, 0));
    v0APMSec2->AddNode(v0APMTSec2, 2, new TGeoTranslation(-0.5*autoShiftSec2, 0, 0));
    v0APMSec2->AddNode(v0APMTSec2, 3, new TGeoTranslation(+0.5*autoShiftSec2, 0, 0));
    v0APMSec2->AddNode(v0APMTSec2, 4, new TGeoTranslation(+1.5*autoShiftSec2, 0, 0));

    // PM
    rot = new TGeoRotation("rot");
    rot->RotateX(90-fV0APMBAng);
    rot->RotateZ(-90.+22.5);
    double cosAngPMBSec2 = TMath::Cos(fV0APMBAng*TMath::DegToRad());
    double sinAngPMBSec2 = TMath::Sin(fV0APMBAng*TMath::DegToRad());
    double shiftZSec2 = fV0APMBHt/2. * cosAngPMBSec2
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMBSec2;
    double shiftRSec2 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0ASec2->AddNode(v0APMSec2,1, new TGeoCombiTrans( shiftRSec2*cos225+1.07, shiftRSec2*sin225, shiftZSec2, rot));
    
    // Aluminium nails 
    TGeoTube *sV0ANail1Sec2 = new TGeoTube("sV0ANail1Sec2", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail1Sec2 = new TGeoVolume("V0ANail1Sec2", sV0ANail1Sec2, medV0APMAlum);
    v0ANail1Sec2->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec2->AddNode(v0ANail1Sec2,1,new TGeoTranslation(42.9, 0.51, 0.0));
    TGeoTube *sV0ANail2Sec2 = new TGeoTube("sV0ANail2Sec2", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail2Sec2 = new TGeoVolume("V0ANail2Sec2", sV0ANail2Sec2, medV0APMAlum);
    v0ANail2Sec2->SetLineColor(kV0AColorPMA);
    v0ASec2->AddNode(v0ANail2Sec2,1,new TGeoTranslation(30.73,29.98,0.0)); 
        
    /// Adding sector to v0LE volume
    for(int i=1; i<2; i++) {
       TGeoRotation *rotation = new TGeoRotation("rotation", 90., i*45., 90., 90.+i*45., 0., 0.);
       v0LE->AddNode(v0ASec2,i+1,rotation);  
    }

    //FEEBox
    TGeoVolume* v0AFEE2 = new TGeoVolumeAssembly("V0AFEE2");
    v0AFEE2->AddNode(v0AFEEB,1);

    //Mother and daughter boards
    v0AFEE2->AddNode(v0AFEEDaughter, 1, new TGeoTranslation(9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 2, new TGeoTranslation(6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 3, new TGeoTranslation(3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 4, new TGeoTranslation(0.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 5, new TGeoTranslation(-3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 6, new TGeoTranslation(-6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 7, new TGeoTranslation(-9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE2->AddNode(v0AFEEDaughter, 8, new TGeoTranslation(-12.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));   
    v0AFEE2->AddNode(v0AFEEMother, 1, new TGeoTranslation(0.0, 0.0, -fV0AFEEBTh/2.+fV0APMBThW+fV0APMBHtW));
    v0AFEE2->AddNode(v0AFEEHalfMother, 1, new TGeoTranslation(0.0, -(fV0AFEEBTh+fV0APMTB)/2., -2.0*spacing));

    //FEE
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(+90.0-45.0+90);
    v0LE->AddNode(v0AFEE2,1, new TGeoCombiTrans( (aFEEshiftR2Sec1*cos225 + 2.0)*cos45, (aFEEshiftR2Sec1*cos225 + 2.0)*sin45, 7.5, rot));
    rot = new TGeoRotation("rot");
    rot->RotateZ(-90.0+45.0+90.0);
    v0LE->AddNode(v0AFEEOct2,2, new TGeoCombiTrans(((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*cos45,((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*sin45,0.0,rot));

   
    //Upper supports
    for (int i=0;i<2;i++){
    v0APts[0+8*i] = 0.0;	    v0APts[1+8*i] = 45.5;  
    v0APts[2+8*i] = 0.0;            v0APts[3+8*i] = 70.4;   
    v0APts[4+8*i] = 4.0;	    v0APts[5+8*i] = 68.9;
    v0APts[6+8*i] = 4.0;	    v0APts[7+8*i] = 45.5;  
    }
    TGeoArb8 *sV0ASuppur = new TGeoArb8("sV0ASuppur", 1.65, v0APts);    
    TGeoVolume *v0ASuppur = new TGeoVolume("V0ASuppur", sV0ASuppur, medV0ASup);
    v0ASuppur->SetLineColor(kV0AColorOct);
    v0LE->AddNode(v0ASuppur,1);
    for (int i=0;i<2;i++){
    v0APts[0+8*i] = -0.0;	    v0APts[1+8*i] = 70.4;
    v0APts[2+8*i] = -0.0;           v0APts[3+8*i] = 45.5;
    v0APts[4+8*i] = -4.0;	    v0APts[5+8*i] = 45.5;
    v0APts[6+8*i] = -4.0;	    v0APts[7+8*i] = 68.9;
    }
    TGeoArb8 *sV0ASuppul = new TGeoArb8("sV0ASuppul", 1.65, v0APts);    
    TGeoVolume *v0ASuppul = new TGeoVolume("V0ASuppul", sV0ASuppul, medV0ASup);
    v0ASuppul->SetLineColor(kV0AColorOct);
    v0LE->AddNode(v0ASuppul,1);

    /// Definition sector 3
    TGeoVolume *v0ASec3 = new TGeoVolumeAssembly("V0ASec3");
        
    /// For boolean sustraction
    double preShapeSec3 = 0.2;
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec3;  v0APts[1+8*i] = -preShapeSec3;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec3;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec3;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec3;  v0APts[7+8*i] = -preShapeSec3;
    }
    new TGeoArb8("sV0ACha1Sec3",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45-preShapeSec3;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45-preShapeSec3;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45-preShapeSec3;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+preShapeSec3;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+2.*preShapeSec3;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45+preShapeSec3;
      v0APts[7+8*i] = fV0AR4*sin45+preShapeSec3;
    }
    new TGeoArb8("sV0ACha2Sec3", fV0ASciWd/2.+2.*preShapeSec3, v0APts);
    new TGeoCompositeShape("sV0ACha12Sec3","sV0ACha1Sec3+sV0ACha2Sec3");
    new TGeoTube("sV0ANail1SciHoleSec3", 0.0, 0.4, 1.65);
    TGeoTranslation *pos1Sec3 = new TGeoTranslation("pos1Sec3", 42.9, 0.51, 0.0);
    pos1Sec3->RegisterYourself();
    new TGeoTube("sV0ANail2SciHoleSec3", 0.0, 0.4, 1.65);
    TGeoTranslation *pos2Sec3 = new TGeoTranslation("pos2Sec3", 30.73,29.98,0.0);
    pos2Sec3->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsSciHolesSec3","sV0ANail1SciHoleSec3:pos1Sec3+sV0ANail2SciHoleSec3:pos2Sec3");
    new TGeoCompositeShape("sV0AChaSec3","sV0ACha12Sec3+sV0ANailsSciHolesSec3");
    new TGeoTubeSeg("sV0AFicR5Sec3", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec3, 0, 45);
    new TGeoBBox("sV0AFicFEEBSec3", fV0AFEEBWd/2., fV0AFEEBHt/2., fV0AFEEBTh/2.);
    double aFEEshiftR2Sec3 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0+45.0);
    TGeoCombiTrans *posFicFEEBSec3 = new TGeoCombiTrans("posFicFEEBSec3", (aFEEshiftR2Sec3*cos225 + 2.0 )*cos45, (aFEEshiftR2Sec3*cos225 + 2.0 )*sin45, 7.5, rot);
    posFicFEEBSec3->RegisterYourself();
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AOctH2/2.;	       v0APts[1+8*i] = fV0AFEEBHt/2. + 2.5;
    v0APts[2+8*i] = fV0AOctH2/2.;              v0APts[3+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[4+8*i] = -fV0AOctH2/2.;	       v0APts[5+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[6+8*i] = -fV0AOctH2/2.;	       v0APts[7+8*i] = fV0AFEEBHt/2.+ 2.5;
    }
    new TGeoArb8("sV0AFicOct2Sec3", (fV0ASciWd+2*fV0AOctWd)/2., v0APts); 
    rot = new TGeoRotation("rot");
    rot->RotateZ(-90.0+45.0+90.0);
    TGeoCombiTrans *posFicOct2UpSec3 = new TGeoCombiTrans("posFicOct2UpSec3",((aFEEshiftR2Sec3*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*cos45,((aFEEshiftR2Sec3*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*sin45,0.0,rot);
    posFicOct2UpSec3->RegisterYourself();

    /// Frame
    TGeoVolume *v0AFraSec3 = new TGeoVolumeAssembly("V0AFraSec3");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[7+8*i] = 0.;
    }
    TGeoArb8 *sV0AFraB1Sec3 = new TGeoArb8("sV0AFraB1Sec3",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB1Sec3 = new TGeoVolume("V0AFraB1Sec3",sV0AFraB1Sec3,medV0AFra);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45;
      v0APts[7+8*i] = fV0AR4*sin45;
    }
    TGeoArb8 *sV0AFraB2Sec3 = new TGeoArb8("sV0AFraB2Sec3", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB2Sec3 = new TGeoVolume("V0AFraB2Sec3",sV0AFraB2Sec3,medV0AFra);
    v0AFraB1Sec3->SetLineColor(kV0AColorFra); v0AFraB2Sec3->SetLineColor(kV0AColorFra);
    v0AFraSec3->AddNode(v0AFraB1Sec3,1);
    v0AFraSec3->AddNode(v0AFraB2Sec3,1);  
    new TGeoTubeSeg( "sV0AFraR1bSec3", fV0AR0-fV0AFraWd/2.,
		     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR2bSec3", fV0AR1-fV0AFraWd/2.,
		     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR3bSec3", fV0AR2-fV0AFraWd/2.,
		     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR4bSec3", fV0AR3-fV0AFraWd/2.,
		     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR5bSec3", fV0AR4-fV0AFraWd/2.,
		     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AFraR1Sec3 = new TGeoCompositeShape("sV0AFraR1Sec3","sV0AFraR1bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AFraR2Sec3 = new TGeoCompositeShape("sV0AFraR2Sec3","sV0AFraR2bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AFraR3Sec3 = new TGeoCompositeShape("sV0AFraR3Sec3","sV0AFraR3bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AFraR4Sec3 = new TGeoCompositeShape("sV0AFraR4Sec3","sV0AFraR4bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AFraR5Sec3 = new TGeoCompositeShape("sV0AFraR5Sec3","sV0AFraR5bSec3-sV0AChaSec3");
    TGeoVolume *v0AFraR1Sec3 = new TGeoVolume("V0AFraR1Sec3",sV0AFraR1Sec3,medV0AFra);
    TGeoVolume *v0AFraR2Sec3 = new TGeoVolume("V0AFraR2Sec3",sV0AFraR2Sec3,medV0AFra);
    TGeoVolume *v0AFraR3Sec3 = new TGeoVolume("V0AFraR3Sec3",sV0AFraR3Sec3,medV0AFra);
    TGeoVolume *v0AFraR4Sec3 = new TGeoVolume("V0AFraR4Sec3",sV0AFraR4Sec3,medV0AFra);
    TGeoVolume *v0AFraR5Sec3 = new TGeoVolume("V0AFraR5Sec3",sV0AFraR5Sec3,medV0AFra);
    v0AFraR1Sec3->SetLineColor(kV0AColorFra); v0AFraR2Sec3->SetLineColor(kV0AColorFra);
    v0AFraR3Sec3->SetLineColor(kV0AColorFra); v0AFraR4Sec3->SetLineColor(kV0AColorFra);
    v0AFraR5Sec3->SetLineColor(kV0AColorFra);
    v0AFraSec3->AddNode(v0AFraR1Sec3,1); 
    v0AFraSec3->AddNode(v0AFraR2Sec3,1);
    v0AFraSec3->AddNode(v0AFraR3Sec3,1); 
    v0AFraSec3->AddNode(v0AFraR4Sec3,1);
    v0AFraSec3->AddNode(v0AFraR5Sec3,1);
    v0ASec3->AddNode(v0AFraSec3,1);
    
    /// Sensitive scintilator
    TGeoVolume *v0ASciSec3 = new TGeoVolumeAssembly("V0ASciSec3");
    new TGeoTubeSeg( "sV0AR1bSec3", fV0AR0+fV0AFraWd/2.,
		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR2bSec3", fV0AR1+fV0AFraWd/2.,
		     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR3bSec3", fV0AR2+fV0AFraWd/2.,
		     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR4bSec3", fV0AR3+fV0AFraWd/2.,
		     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AR1Sec3 = new TGeoCompositeShape("sV0AR1Sec3","sV0AR1bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AR2Sec3 = new TGeoCompositeShape("sV0AR2Sec3","sV0AR2bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AR3Sec3 = new TGeoCompositeShape("sV0AR3Sec3","sV0AR3bSec3-sV0AChaSec3");
    TGeoCompositeShape *sV0AR4Sec3 = new TGeoCompositeShape("sV0AR4Sec3","sV0AR4bSec3-sV0AChaSec3");
    TGeoVolume *v0L1Sec3 = new TGeoVolume("V0L1Sec3",sV0AR1Sec3,medV0ASci);
    TGeoVolume *v0L2Sec3 = new TGeoVolume("V0L2Sec3",sV0AR2Sec3,medV0ASci);
    TGeoVolume *v0L3Sec3 = new TGeoVolume("V0L3Sec3",sV0AR3Sec3,medV0ASci);
    TGeoVolume *v0L4Sec3 = new TGeoVolume("V0L4Sec3",sV0AR4Sec3,medV0ASci);
    v0L1Sec3->SetLineColor(kV0AColorSci); v0L2Sec3->SetLineColor(kV0AColorSci);
    v0L3Sec3->SetLineColor(kV0AColorSci); v0L4Sec3->SetLineColor(kV0AColorSci);
    v0ASec3->AddNode(v0L1Sec3,1);
    v0ASec3->AddNode(v0L2Sec3,1);
    v0ASec3->AddNode(v0L3Sec3,1);
    v0ASec3->AddNode(v0L4Sec3,1);      
    
    /// Segment of octagon 
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] =  fV0AR6-fV0AOctH2;           v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = (fV0AR6-fV0AOctH2)*sin45;  v0APts[3+8*i] = (fV0AR6-fV0AOctH2)*sin45;
      v0APts[4+8*i] = fV0AR6*sin45;		 v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;			 v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0AOct2Sec3", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoCompositeShape *sV0AOct2FEEBSec3 = new TGeoCompositeShape("sV0AOct2FEEBSec3","sV0AOct2Sec3-sV0AFicOct2Sec3:posFicOct2UpSec3-sV0AFicFEEBSec3:posFicFEEBSec3");
    TGeoVolume *v0AOct2Sec3 = new TGeoVolume("V0AOct2Sec3", sV0AOct2FEEBSec3,medV0ASup);
    v0AOct2Sec3->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASupSec3 = new TGeoVolumeAssembly("V0ASupSec3");
    v0ASupSec3->AddNode(v0AOct2Sec3,1);
    v0ASec3->AddNode(v0ASupSec3,1);

    //Bunch of fibers
    v0APts[ 0] = v0APts[ 2] = -13.0;
    v0APts[ 1] = v0APts[ 7] = (fV0ASciWd+fV0AOctWd)/2.-0.01;
    v0APts[ 3] = v0APts[ 5] = (fV0ASciWd+fV0AOctWd)/2.+0.01;
    v0APts[ 4] = v0APts[ 6] = +13.0;
    v0APts[ 8] = v0APts[10] = -10.0;
    v0APts[ 9] = v0APts[15] = 0.;
    v0APts[11] = v0APts[13] = 0.25;
    v0APts[12] = v0APts[14] = +10.0;
    new TGeoArb8("sV0AFib1Sec3", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos1Sec3 = new TGeoCombiTrans("fibpos1Sec3", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos1Sec3->RegisterYourself();
    TGeoCompositeShape *sV0AFib1HoleSec3 = new TGeoCompositeShape("sV0AFib1HoleSec3","sV0AFib1Sec3:fibpos1Sec3-sV0AFicR5Sec3"); 
    TGeoVolume *v0AFib1HoleSec3 = new TGeoVolume("V0AFib1HoleSec3",sV0AFib1HoleSec3,medV0AFib);
    v0AFib1HoleSec3->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib2Sec3", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateY(180);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos2Sec3 = new TGeoCombiTrans("fibpos2Sec3", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos2Sec3->RegisterYourself();
    TGeoCompositeShape *sV0AFib2HoleSec3 = new TGeoCompositeShape("sV0AFib2HoleSec3","sV0AFib2Sec3:fibpos2Sec3-sV0AFicR5Sec3");
    TGeoVolume *v0AFib2HoleSec3 = new TGeoVolume("V0AFib2HoleSec3",sV0AFib2HoleSec3,medV0AFib);
    v0AFib2HoleSec3->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFibSec3 = new TGeoVolumeAssembly("V0AFibSec3");
    v0AFibSec3->AddNode(v0AFib1HoleSec3,1);
    v0AFibSec3->AddNode(v0AFib2HoleSec3,1);
    v0ASec3->AddNode(v0AFibSec3,1); 
    
     /// Plates
    new TGeoTube("sV0ANail1PlaInHoleSec3", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaInHoleSec3", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaInHolesSec3","sV0ANail1PlaInHoleSec3:pos1Sec3+sV0ANail2PlaInHoleSec3:pos2Sec3");
    new TGeoTube("sV0ANail1PlaOuHoleSec3", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaOuHoleSec3", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaOuHolesSec3","sV0ANail1PlaOuHoleSec3:pos1Sec3+sV0ANail2PlaOuHoleSec3:pos2Sec3");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0;			v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0*sin45;		v0APts[3+8*i] = fV0AR0*sin45;
      v0APts[4+8*i] = fV0AR6 * sin45;	v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;		v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0APlaInSec3", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHolesSec3 = new TGeoCompositeShape("sV0APlaInNailsHolesSec3","sV0APlaInSec3-sV0ANailsPlaInHolesSec3-sV0AFicFEEBSec3:posFicFEEBSec3");
    TGeoVolume *v0APlaInNailsHolesSec3 = new TGeoVolume("V0APlaInNailsHolesSec3", sV0APlaInNailsHolesSec3, medV0APlaIn);
    new TGeoArb8("sV0APlaOuSec3", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHolesSec3 = new TGeoCompositeShape("sV0APlaOuNailsHolesSec3","sV0APlaOuSec3-sV0ANailsPlaOuHolesSec3-sV0AFicFEEBSec3:posFicFEEBSec3"); 
    TGeoVolume *v0APlaOuNailsHolesSec3 = new TGeoVolume("V0APlaOuNailsHolesSec3", sV0APlaOuNailsHolesSec3, medV0APlaOu);
    v0APlaInNailsHolesSec3->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHolesSec3->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APlaSec3 = new TGeoVolumeAssembly("V0APlaSec3");
    v0APlaSec3->AddNode(v0APlaInNailsHolesSec3,1);
    v0APlaSec3->AddNode(v0APlaOuNailsHolesSec3,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APlaSec3->AddNode(v0APlaOuNailsHolesSec3,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec3->AddNode(v0APlaSec3,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec3->AddNode(v0APlaSec3,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
     /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S2Sec3", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec3, 0, 45);
    TGeoCompositeShape *sV0AR5Sec3 = new TGeoCompositeShape("V0AR5Sec3","sV0AR5S2Sec3 - sV0AChaSec3");
    TGeoVolume *v0AR5Sec3 = new TGeoVolume("V0AR5Sec3",sV0AR5Sec3,medV0ASci);
    v0AR5Sec3->SetLineColor(kV0AColorSci);
    v0ASciSec3->AddNode(v0AR5Sec3,1);
    v0ASec3->AddNode(v0ASciSec3,1); 

    /// PMBox
    TGeoVolume* v0APMSec3 = new TGeoVolumeAssembly("V0APMSec3");
    new TGeoBBox("sV0APMB1Sec3", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB2Sec3", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMBSec3 = new TGeoCompositeShape("sV0APMBSec3","sV0APMB1Sec3-sV0APMB2Sec3");
    TGeoVolume *v0APMBSec3 = new TGeoVolume("V0APMBSec3",sV0APMBSec3, medV0APMAlum);
    v0APMBSec3->SetLineColor(kV0AColorPMA);
    v0APMSec3->AddNode(v0APMBSec3,1);

    /// PMTubes
    TGeoTube *sV0APMT1Sec3 = new TGeoTube("sV0APMT1Sec3", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT1Sec3 = new TGeoVolume("V0APMT1Sec3", sV0APMT1Sec3, medV0APMGlass);
    TGeoTube *sV0APMT2Sec3 = new TGeoTube("sV0APMT2Sec3", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT2Sec3 = new TGeoVolume("V0APMT2Sec3", sV0APMT2Sec3, medV0APMAlum);
    TGeoVolume *v0APMTSec3 = new TGeoVolumeAssembly("V0APMTSec3");
    TGeoTube *sV0APMTTSec3 = new TGeoTube("sV0APMTTSec3", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTTSec3 = new TGeoVolume("V0APMTTSec3", sV0APMTTSec3, medV0APMAlum);
    v0APMT1Sec3->SetLineColor(kV0AColorPMG);
    v0APMT2Sec3->SetLineColor(kV0AColorPMA);
    v0APMTTSec3->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMTSec3->AddNode(v0APMT1Sec3,1,rot);
    v0APMTSec3->AddNode(v0APMT2Sec3,1,rot);
    v0APMTSec3->AddNode(v0APMTTSec3,1,new TGeoCombiTrans(0,-(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShiftSec3 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APMSec3->AddNode(v0APMTSec3, 1, new TGeoTranslation(-1.5*autoShiftSec3, 0, 0));
    v0APMSec3->AddNode(v0APMTSec3, 2, new TGeoTranslation(-0.5*autoShiftSec3, 0, 0));
    v0APMSec3->AddNode(v0APMTSec3, 3, new TGeoTranslation(+0.5*autoShiftSec3, 0, 0));
    v0APMSec3->AddNode(v0APMTSec3, 4, new TGeoTranslation(+1.5*autoShiftSec3, 0, 0));

    // PM
    rot = new TGeoRotation("rot");
    rot->RotateX(90-fV0APMBAng);
    rot->RotateZ(-90.+22.5);
    double cosAngPMBSec3 = TMath::Cos(fV0APMBAng*TMath::DegToRad());
    double sinAngPMBSec3 = TMath::Sin(fV0APMBAng*TMath::DegToRad());
    double shiftZSec3 = fV0APMBHt/2. * cosAngPMBSec3
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMBSec3;
    double shiftRSec3 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0ASec3->AddNode(v0APMSec3,1, new TGeoCombiTrans( shiftRSec3*cos225+1.07, shiftRSec3*sin225, shiftZSec3, rot));
    
    // Aluminium nails 
    TGeoTube *sV0ANail1Sec3 = new TGeoTube("sV0ANail1Sec3", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail1Sec3 = new TGeoVolume("V0ANail1Sec3", sV0ANail1Sec3, medV0APMAlum);
    v0ANail1Sec3->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec3->AddNode(v0ANail1Sec3,1,new TGeoTranslation(42.9, 0.51, 0.0));
    TGeoTube *sV0ANail2Sec3 = new TGeoTube("sV0ANail2Sec3", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail2Sec3 = new TGeoVolume("V0ANail2Sec3", sV0ANail2Sec3, medV0APMAlum);
    v0ANail2Sec3->SetLineColor(kV0AColorPMA);
    v0ASec3->AddNode(v0ANail2Sec3,1,new TGeoTranslation(30.73,29.98,0.0)); 
        
    /// Adding sector to v0LE volume
    for(int i=2; i<3; i++) {
       TGeoRotation *rotation = new TGeoRotation("rotation", 90., i*45., 90., 90.+i*45., 0., 0.);
       v0LE->AddNode(v0ASec3,i+1,rotation);  
    }

    //FEEBox
    TGeoVolume* v0AFEE3 = new TGeoVolumeAssembly("V0AFEE3");
    v0AFEE3->AddNode(v0AFEEB,1);

    //Mother and daughter boards
    v0AFEE3->AddNode(v0AFEEDaughter, 1, new TGeoTranslation(9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 2, new TGeoTranslation(6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 3, new TGeoTranslation(3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 4, new TGeoTranslation(0.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 5, new TGeoTranslation(-3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 6, new TGeoTranslation(-6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 7, new TGeoTranslation(-9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE3->AddNode(v0AFEEDaughter, 8, new TGeoTranslation(-12.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));   
    v0AFEE3->AddNode(v0AFEEMother, 1, new TGeoTranslation(0.0, 0.0, -fV0AFEEBTh/2.+fV0APMBThW+fV0APMBHtW));
    v0AFEE3->AddNode(v0AFEEHalfMother, 1, new TGeoTranslation(0.0, -(fV0AFEEBTh+fV0APMTB)/2., -2.0*spacing));

    //FEE
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0+45.0-90);
    v0LE->AddNode(v0AFEE3,1, new TGeoCombiTrans( -(aFEEshiftR2Sec1*cos225 + 2.0)*cos45, (aFEEshiftR2Sec1*cos225 + 2.0)*sin45, 7.5, rot) );
    rot = new TGeoRotation("rot");
    rot->RotateZ(+90.0-45.0-90.0);
    v0LE->AddNode(v0AFEEOct2,3, new TGeoCombiTrans(-((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*cos45,((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*sin45,0.0,rot)); 


    /// Definition sector 4
    TGeoVolume *v0ASec4 = new TGeoVolumeAssembly("V0ASec4");
        
    /// For boolean sustraction
    double preShapeSec4 = 0.2;
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec4;  v0APts[1+8*i] = -preShapeSec4;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.-preShapeSec4;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec4;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.+preShapeSec4;  v0APts[7+8*i] = -preShapeSec4;
    }
    new TGeoArb8("sV0ACha1Sec4",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45-preShapeSec4;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45-preShapeSec4;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45-preShapeSec4;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+preShapeSec4;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45+2.*preShapeSec4;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45+preShapeSec4;
      v0APts[7+8*i] = fV0AR4*sin45+preShapeSec4;
    }
    new TGeoArb8("sV0ACha2Sec4", fV0ASciWd/2.+2.*preShapeSec4, v0APts);
    new TGeoCompositeShape("sV0ACha12Sec4","sV0ACha1Sec4+sV0ACha2Sec4");
    new TGeoTube("sV0ANail1SciHoleSec4", 0.0, 0.4, 1.65);
    TGeoTranslation *pos1Sec4 = new TGeoTranslation("pos1Sec4", 42.9, 0.51, 0.0);
    pos1Sec4->RegisterYourself();
    new TGeoTube("sV0ANail2SciHoleSec4", 0.0, 0.4, 1.65);
    TGeoTranslation *pos2Sec4 = new TGeoTranslation("pos2Sec4", 30.73,29.98,0.0);
    pos2Sec4->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsSciHolesSec4","sV0ANail1SciHoleSec4:pos1Sec4+sV0ANail2SciHoleSec4:pos2Sec4");
    new TGeoCompositeShape("sV0AChaSec4","sV0ACha12Sec4+sV0ANailsSciHolesSec4");
    new TGeoTubeSeg("sV0AFicR5Sec4", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec4, 0, 45);
    new TGeoBBox("sV0AFicFEEBSec4", fV0AFEEBWd/2., fV0AFEEBHt/2., fV0AFEEBTh/2.);
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0);
    double aFEEshiftR2Sec4 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    TGeoCombiTrans *posFicFEEBSec4 = new TGeoCombiTrans("posFicFEEBSec4", aFEEshiftR2Sec4*cos225 + 2.0, 0, 7.5, rot);
    posFicFEEBSec4->RegisterYourself();
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0+45.0);
    TGeoCombiTrans *posFicFEEBUpSec4 = new TGeoCombiTrans("posFicFEEBUpSec4", (aFEEshiftR2Sec4*cos225 + 2.0 )*cos45, (aFEEshiftR2Sec4*cos225 + 2.0 )*sin45, 7.5, rot);
    posFicFEEBUpSec4->RegisterYourself();
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AOctH2/2.;	       v0APts[1+8*i] = fV0AFEEBHt/2. + 2.5;
    v0APts[2+8*i] = fV0AOctH2/2.;              v0APts[3+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[4+8*i] = -fV0AOctH2/2.;	       v0APts[5+8*i] = -fV0AFEEBHt/2.- 2.5;
    v0APts[6+8*i] = -fV0AOctH2/2.;	       v0APts[7+8*i] = fV0AFEEBHt/2.+ 2.5;
    }
    new TGeoArb8("sV0AFicOct2Sec4", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoTranslation *posFicOct2Sec4 = new TGeoTranslation("posFicOct2Sec4",(aFEEshiftR2Sec4*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0,0.0,0.0);
    posFicOct2Sec4->RegisterYourself();  
    rot = new TGeoRotation("rot");
    rot->RotateZ(-90.0+45.0+90.0);
    TGeoCombiTrans *posFicOct2UpSec4 = new TGeoCombiTrans("posFicOct2UpSec4",((aFEEshiftR2Sec4*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*cos45,((aFEEshiftR2Sec4*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0)*sin45,0.0,rot);
    posFicOct2UpSec4->RegisterYourself(); 

    /// Frame
    TGeoVolume *v0AFraSec4 = new TGeoVolumeAssembly("V0AFraSec4");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[3+8*i] = fV0AFraWd/2.;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[5+8*i] = fV0AFraWd/2.;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[7+8*i] = 0.;
    }
    TGeoArb8 *sV0AFraB1Sec4 = new TGeoArb8("sV0AFraB1Sec4",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB1Sec4 = new TGeoVolume("V0AFraB1Sec4",sV0AFraB1Sec4,medV0AFra);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0*sin45;
      v0APts[1+8*i] = (fV0AR0-fV0AFraWd)*sin45;
      v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[3+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[5+8*i] = (fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45;
      v0APts[7+8*i] = fV0AR4*sin45;
    }
    TGeoArb8 *sV0AFraB2Sec4 = new TGeoArb8("sV0AFraB2Sec4", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB2Sec4 = new TGeoVolume("V0AFraB2Sec4",sV0AFraB2Sec4,medV0AFra);
    v0AFraB1Sec4->SetLineColor(kV0AColorFra); v0AFraB2Sec4->SetLineColor(kV0AColorFra);
    v0AFraSec4->AddNode(v0AFraB1Sec4,1);
    v0AFraSec4->AddNode(v0AFraB2Sec4,1);  
    new TGeoTubeSeg( "sV0AFraR1bSec4", fV0AR0-fV0AFraWd/2.,
		     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR2bSec4", fV0AR1-fV0AFraWd/2.,
		     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR3bSec4", fV0AR2-fV0AFraWd/2.,
		     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR4bSec4", fV0AR3-fV0AFraWd/2.,
		     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AFraR5bSec4", fV0AR4-fV0AFraWd/2.,
		     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AFraR1Sec4 = new TGeoCompositeShape("sV0AFraR1Sec4","sV0AFraR1bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AFraR2Sec4 = new TGeoCompositeShape("sV0AFraR2Sec4","sV0AFraR2bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AFraR3Sec4 = new TGeoCompositeShape("sV0AFraR3Sec4","sV0AFraR3bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AFraR4Sec4 = new TGeoCompositeShape("sV0AFraR4Sec4","sV0AFraR4bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AFraR5Sec4 = new TGeoCompositeShape("sV0AFraR5Sec4","sV0AFraR5bSec4-sV0AChaSec4");
    TGeoVolume *v0AFraR1Sec4 = new TGeoVolume("V0AFraR1Sec4",sV0AFraR1Sec4,medV0AFra);
    TGeoVolume *v0AFraR2Sec4 = new TGeoVolume("V0AFraR2Sec4",sV0AFraR2Sec4,medV0AFra);
    TGeoVolume *v0AFraR3Sec4 = new TGeoVolume("V0AFraR3Sec4",sV0AFraR3Sec4,medV0AFra);
    TGeoVolume *v0AFraR4Sec4 = new TGeoVolume("V0AFraR4Sec4",sV0AFraR4Sec4,medV0AFra);
    TGeoVolume *v0AFraR5Sec4 = new TGeoVolume("V0AFraR5Sec4",sV0AFraR5Sec4,medV0AFra);
    v0AFraR1Sec4->SetLineColor(kV0AColorFra); v0AFraR2Sec4->SetLineColor(kV0AColorFra);
    v0AFraR3Sec4->SetLineColor(kV0AColorFra); v0AFraR4Sec4->SetLineColor(kV0AColorFra);
    v0AFraR5Sec4->SetLineColor(kV0AColorFra);
    v0AFraSec4->AddNode(v0AFraR1Sec4,1); 
    v0AFraSec4->AddNode(v0AFraR2Sec4,1);
    v0AFraSec4->AddNode(v0AFraR3Sec4,1); 
    v0AFraSec4->AddNode(v0AFraR4Sec4,1);
    v0AFraSec4->AddNode(v0AFraR5Sec4,1);
    v0ASec4->AddNode(v0AFraSec4,1);
    
    /// Sensitive scintilator
    TGeoVolume *v0ASciSec4 = new TGeoVolumeAssembly("V0ASciSec4");
    new TGeoTubeSeg( "sV0AR1bSec4", fV0AR0+fV0AFraWd/2.,
		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR2bSec4", fV0AR1+fV0AFraWd/2.,
		     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR3bSec4", fV0AR2+fV0AFraWd/2.,
		     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    new TGeoTubeSeg( "sV0AR4bSec4", fV0AR3+fV0AFraWd/2.,
		     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 0, 45);
    TGeoCompositeShape *sV0AR1Sec4 = new TGeoCompositeShape("sV0AR1Sec4","sV0AR1bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AR2Sec4 = new TGeoCompositeShape("sV0AR2Sec4","sV0AR2bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AR3Sec4 = new TGeoCompositeShape("sV0AR3Sec4","sV0AR3bSec4-sV0AChaSec4");
    TGeoCompositeShape *sV0AR4Sec4 = new TGeoCompositeShape("sV0AR4Sec4","sV0AR4bSec4-sV0AChaSec4");
    TGeoVolume *v0L1Sec4 = new TGeoVolume("V0L1Sec4",sV0AR1Sec4,medV0ASci);
    TGeoVolume *v0L2Sec4 = new TGeoVolume("V0L2Sec4",sV0AR2Sec4,medV0ASci);
    TGeoVolume *v0L3Sec4 = new TGeoVolume("V0L3Sec4",sV0AR3Sec4,medV0ASci);
    TGeoVolume *v0L4Sec4 = new TGeoVolume("V0L4Sec4",sV0AR4Sec4,medV0ASci);
    v0L1Sec4->SetLineColor(kV0AColorSci); v0L2Sec4->SetLineColor(kV0AColorSci);
    v0L3Sec4->SetLineColor(kV0AColorSci); v0L4Sec4->SetLineColor(kV0AColorSci);
    v0ASec4->AddNode(v0L1Sec4,1);
    v0ASec4->AddNode(v0L2Sec4,1);
    v0ASec4->AddNode(v0L3Sec4,1);
    v0ASec4->AddNode(v0L4Sec4,1);      
    
    /// Segment of octagon 
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] =  fV0AR6-fV0AOctH2;           v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = (fV0AR6-fV0AOctH2)*sin45;  v0APts[3+8*i] = (fV0AR6-fV0AOctH2)*sin45;
      v0APts[4+8*i] = fV0AR6*sin45;		 v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;			 v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0AOct2Sec4", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoCompositeShape *sV0AOct2FEEBSec4 = new TGeoCompositeShape("sV0AOct2FEEBSec4","sV0AOct2Sec4-sV0AFicFEEBSec4:posFicFEEBSec4-sV0AFicFEEBSec4:posFicFEEBUpSec4-sV0AFicOct2Sec4:posFicOct2Sec4-sV0AFicOct2Sec4:posFicOct2UpSec4");
    TGeoVolume *v0AOct2Sec4 = new TGeoVolume("V0AOct2Sec4", sV0AOct2FEEBSec4,medV0ASup);
    v0AOct2Sec4->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASupSec4 = new TGeoVolumeAssembly("V0ASupSec4");
    v0ASupSec4->AddNode(v0AOct2Sec4,1);
    v0ASec4->AddNode(v0ASupSec4,1);

    //Bunch of fibers
    v0APts[ 0] = v0APts[ 2] = -13.0;
    v0APts[ 1] = v0APts[ 7] = (fV0ASciWd+fV0AOctWd)/2.-0.01;
    v0APts[ 3] = v0APts[ 5] = (fV0ASciWd+fV0AOctWd)/2.+0.01;
    v0APts[ 4] = v0APts[ 6] = +13.0;
    v0APts[ 8] = v0APts[10] = -10.0;
    v0APts[ 9] = v0APts[15] = 0.;
    v0APts[11] = v0APts[13] = 0.25;
    v0APts[12] = v0APts[14] = +10.0;
    new TGeoArb8("sV0AFib1Sec4", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos1Sec4 = new TGeoCombiTrans("fibpos1Sec4", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos1Sec4->RegisterYourself();
    TGeoCompositeShape *sV0AFib1HoleSec4 = new TGeoCompositeShape("sV0AFib1HoleSec4","sV0AFib1Sec4:fibpos1Sec4-sV0AFicR5Sec4"); 
    TGeoVolume *v0AFib1HoleSec4 = new TGeoVolume("V0AFib1HoleSec4",sV0AFib1HoleSec4,medV0AFib);
    v0AFib1HoleSec4->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib2Sec4", 11.5, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateY(180);
    rot->RotateZ(-90.+22.5);
    TGeoCombiTrans *fibpos2Sec4 = new TGeoCombiTrans("fibpos2Sec4", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.8, (fV0AR6-fV0AOctH2+fV0AR5)*sin225/2.-1.8, 0, rot);
    fibpos2Sec4->RegisterYourself();
    TGeoCompositeShape *sV0AFib2HoleSec4 = new TGeoCompositeShape("sV0AFib2HoleSec4","sV0AFib2Sec4:fibpos2Sec4-sV0AFicR5Sec4");
    TGeoVolume *v0AFib2HoleSec4 = new TGeoVolume("V0AFib2HoleSec4",sV0AFib2HoleSec4,medV0AFib);
    v0AFib2HoleSec4->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFibSec4 = new TGeoVolumeAssembly("V0AFibSec4");
    v0AFibSec4->AddNode(v0AFib1HoleSec4,1);
    v0AFibSec4->AddNode(v0AFib2HoleSec4,1);
    v0ASec4->AddNode(v0AFibSec4,1); 
    
     /// Plates
    new TGeoTube("sV0ANail1PlaInHoleSec4", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaInHoleSec4", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaInHolesSec4","sV0ANail1PlaInHoleSec4:pos1Sec4+sV0ANail2PlaInHoleSec4:pos2Sec4");
    new TGeoTube("sV0ANail1PlaOuHoleSec4", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaOuHoleSec4", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaOuHolesSec4","sV0ANail1PlaOuHoleSec4:pos1Sec4+sV0ANail2PlaOuHoleSec4:pos2Sec4");
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0;			v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR0*sin45;		v0APts[3+8*i] = fV0AR0*sin45;
      v0APts[4+8*i] = fV0AR6 * sin45;	v0APts[5+8*i] = fV0AR6*sin45;
      v0APts[6+8*i] = fV0AR6;		v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0APlaInSec4", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHolesSec4 = new TGeoCompositeShape("sV0APlaInNailsHolesSec4","sV0APlaInSec4-sV0ANailsPlaInHolesSec4-sV0AFicFEEBSec4:posFicFEEBSec4-sV0AFicFEEBSec4:posFicFEEBUpSec4");
    TGeoVolume *v0APlaInNailsHolesSec4 = new TGeoVolume("V0APlaInNailsHolesSec4", sV0APlaInNailsHolesSec4, medV0APlaIn);
    new TGeoArb8("sV0APlaOuSec4", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHolesSec4 = new TGeoCompositeShape("sV0APlaOuNailsHolesSec4","sV0APlaOuSec4-sV0ANailsPlaOuHolesSec4-sV0AFicFEEBSec4:posFicFEEBSec4-sV0AFicFEEBSec4:posFicFEEBUpSec4");  
    TGeoVolume *v0APlaOuNailsHolesSec4 = new TGeoVolume("V0APlaOuNailsHolesSec4", sV0APlaOuNailsHolesSec4, medV0APlaOu);
    v0APlaInNailsHolesSec4->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHolesSec4->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APlaSec4 = new TGeoVolumeAssembly("V0APlaSec4");
    v0APlaSec4->AddNode(v0APlaInNailsHolesSec4,1);
    v0APlaSec4->AddNode(v0APlaOuNailsHolesSec4,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APlaSec4->AddNode(v0APlaOuNailsHolesSec4,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec4->AddNode(v0APlaSec4,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec4->AddNode(v0APlaSec4,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
     /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S2Sec4", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShapeSec4, 0, 45);
    TGeoCompositeShape *sV0AR5Sec4 = new TGeoCompositeShape("V0AR5Sec4","sV0AR5S2Sec4 - sV0AChaSec4");
    TGeoVolume *v0AR5Sec4 = new TGeoVolume("V0AR5Sec4",sV0AR5Sec4,medV0ASci);
    v0AR5Sec4->SetLineColor(kV0AColorSci);
    v0ASciSec4->AddNode(v0AR5Sec4,1);
    v0ASec4->AddNode(v0ASciSec4,1); 

    /// PMBox
    TGeoVolume* v0APMSec4 = new TGeoVolumeAssembly("V0APMSec4");
    new TGeoBBox("sV0APMB1Sec4", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB2Sec4", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMBSec4 = new TGeoCompositeShape("sV0APMBSec4","sV0APMB1Sec4-sV0APMB2Sec4");
    TGeoVolume *v0APMBSec4 = new TGeoVolume("V0APMBSec4",sV0APMBSec4, medV0APMAlum);
    v0APMBSec4->SetLineColor(kV0AColorPMA);
    v0APMSec4->AddNode(v0APMBSec4,1);

    /// PMTubes
    TGeoTube *sV0APMT1Sec4 = new TGeoTube("sV0APMT1Sec4", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT1Sec4 = new TGeoVolume("V0APMT1Sec4", sV0APMT1Sec4, medV0APMGlass);
    TGeoTube *sV0APMT2Sec4 = new TGeoTube("sV0APMT2Sec4", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT2Sec4 = new TGeoVolume("V0APMT2Sec4", sV0APMT2Sec4, medV0APMAlum);
    TGeoVolume *v0APMTSec4 = new TGeoVolumeAssembly("V0APMTSec4");
    TGeoTube *sV0APMTTSec4 = new TGeoTube("sV0APMTTSec4", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTTSec4 = new TGeoVolume("V0APMTTSec4", sV0APMTTSec4, medV0APMAlum);
    v0APMT1Sec4->SetLineColor(kV0AColorPMG);
    v0APMT2Sec4->SetLineColor(kV0AColorPMA);
    v0APMTTSec4->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMTSec4->AddNode(v0APMT1Sec4,1,rot);
    v0APMTSec4->AddNode(v0APMT2Sec4,1,rot);
    v0APMTSec4->AddNode(v0APMTTSec4,1,new TGeoCombiTrans(0,-(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShiftSec4 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APMSec4->AddNode(v0APMTSec4, 1, new TGeoTranslation(-1.5*autoShiftSec4, 0, 0));
    v0APMSec4->AddNode(v0APMTSec4, 2, new TGeoTranslation(-0.5*autoShiftSec4, 0, 0));
    v0APMSec4->AddNode(v0APMTSec4, 3, new TGeoTranslation(+0.5*autoShiftSec4, 0, 0));
    v0APMSec4->AddNode(v0APMTSec4, 4, new TGeoTranslation(+1.5*autoShiftSec4, 0, 0));

    // PM
    rot = new TGeoRotation("rot");
    rot->RotateX(90-fV0APMBAng);
    rot->RotateZ(-90.+22.5);
    double cosAngPMBSec4 = TMath::Cos(fV0APMBAng*TMath::DegToRad());
    double sinAngPMBSec4 = TMath::Sin(fV0APMBAng*TMath::DegToRad());
    double shiftZSec4 = fV0APMBHt/2. * cosAngPMBSec4
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMBSec4;
    double shiftRSec4 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0ASec4->AddNode(v0APMSec4,1, new TGeoCombiTrans( shiftRSec4*cos225+1.07, shiftRSec4*sin225, shiftZSec4, rot));
    
    // Aluminium nails 
    TGeoTube *sV0ANail1Sec4 = new TGeoTube("sV0ANail1Sec4", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail1Sec4 = new TGeoVolume("V0ANail1Sec4", sV0ANail1Sec4, medV0APMAlum);
    v0ANail1Sec4->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec4->AddNode(v0ANail1Sec4,1,new TGeoTranslation(42.9, 0.51, 0.0));
    TGeoTube *sV0ANail2Sec4 = new TGeoTube("sV0ANail2Sec4", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail2Sec4 = new TGeoVolume("V0ANail2Sec4", sV0ANail2Sec4, medV0APMAlum);
    v0ANail2Sec4->SetLineColor(kV0AColorPMA);
    v0ASec4->AddNode(v0ANail2Sec4,1,new TGeoTranslation(30.73,29.98,0.0));     
        
    /// Adding sector to v0LE volume
    for(int i=3; i<4; i++) {
       TGeoRotation *rotation = new TGeoRotation("rotation", 90., i*45., 90., 90.+i*45., 0., 0.);
       v0LE->AddNode(v0ASec4,i+1,rotation);  
    }

    //FEEBox
    TGeoVolume* v0AFEE4 = new TGeoVolumeAssembly("V0AFEE4"); 
    v0AFEE4->AddNode(v0AFEEB,1);

    //Mother and daughter boards
    v0AFEE4->AddNode(v0AFEEDaughter, 1, new TGeoTranslation(9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 2, new TGeoTranslation(6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 3, new TGeoTranslation(3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 4, new TGeoTranslation(0.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 5, new TGeoTranslation(-3.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 6, new TGeoTranslation(-6.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 7, new TGeoTranslation(-9.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));
    v0AFEE4->AddNode(v0AFEEDaughter, 8, new TGeoTranslation(-12.0*spacing, fV0AFEEBTh/2.+2.0*fV0APMTB, fV0APMBHtW/2.));   
    v0AFEE4->AddNode(v0AFEEMother, 1, new TGeoTranslation(0.0, 0.0, -fV0AFEEBTh/2.+fV0APMBThW+fV0APMBHtW));
    v0AFEE4->AddNode(v0AFEEHalfMother, 1, new TGeoTranslation(0.0, -(fV0AFEEBTh+fV0APMTB)/2., -2.0*spacing));

    //FEE
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0);
    v0LE->AddNode(v0AFEE4,1, new TGeoCombiTrans( -aFEEshiftR2Sec1*cos225-2.0, 0, 7.5, rot));   
    v0LE->AddNode(v0AFEEOct2,4, new TGeoTranslation(-1.0*((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0),0.0,0.0));


    //Definition of sector 5
    TGeoVolume *v0ASec5 = new TGeoVolumeAssembly("V0ASec5"); 

    /// For boolean sustraction
    double preShape5 = 0.2;
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = -fV0AR0+fV0AFraWd/2.;  v0APts[1+8*i] = fV0AFraWd/2.;
      v0APts[2+8*i] = -fV0AR0+fV0AFraWd/2.;  v0APts[3+8*i] = -2*preShape5;
      v0APts[4+8*i] = -fV0AR4-fV0AFraWd/2.-preShape5;  v0APts[5+8*i] = -2*preShape5;
      v0APts[6+8*i] = -fV0AR4-fV0AFraWd/2.-preShape5;  v0APts[7+8*i] = fV0AFraWd/2.;
    }
    new TGeoArb8("sV0ACha15",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = -fV0AR0*cos45+preShape5;
      v0APts[1+8*i] = -(fV0AR0-fV0AFraWd)*sin45+preShape5;
      v0APts[2+8*i] = -(fV0AR0-fV0AFraWd/2.)*cos45+preShape5;
      v0APts[3+8*i] = -(fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = -(fV0AR4+fV0AFraWd/2.)*cos45-preShape5;
      v0APts[5+8*i] = -(fV0AR4+fV0AFraWd/2.)*sin45-2.*preShape5;
      v0APts[6+8*i] = -(fV0AR4+fV0AFraWd)*cos45-preShape5;
      v0APts[7+8*i] = -fV0AR4*sin45-preShape5;
    }
    new TGeoArb8("sV0ACha25", fV0ASciWd/2.+2.*preShape5, v0APts);
    new TGeoCompositeShape("sV0ACha125","sV0ACha15+sV0ACha25");
    new TGeoTube("sV0ANail15Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos15 = new TGeoTranslation("pos15", -42.9, -0.51, 0.0);
    pos15->RegisterYourself();
    new TGeoTube("sV0ANail25Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos25 = new TGeoTranslation("pos25",-30.8,-30.04,0.0); 
    pos25->RegisterYourself();
    TGeoTranslation *pos35 = new TGeoTranslation("pos35",-30.05,-30.79,0.0);  
    pos35->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsHoles5","sV0ANail15Hole:pos15+sV0ANail25Hole:pos25");
    new TGeoCompositeShape("sV0ACha5","sV0ACha125+sV0ANailsHoles5");
    new TGeoTubeSeg("sV0AFicR55", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2. +2*preShape5, 180.0, 225.0);
    new TGeoTube("sV0ANail1PlaInHole5", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaInHole5", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail3PlaInHole5", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaInHoles5","sV0ANail1PlaInHole5:pos15+sV0ANail2PlaInHole5:pos25+sV0ANail3PlaInHole5:pos35");
    new TGeoTube("sV0ANail1PlaOuHole5", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaOuHole5", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail3PlaOuHole5", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaOuHoles5","sV0ANail1PlaOuHole5:pos15+sV0ANail2PlaOuHole5:pos25+sV0ANail3PlaOuHole5:pos35");
    rot = new TGeoRotation("rot");
    rot->RotateX(90);
    rot->RotateZ(-90.0);
    TGeoCombiTrans *posFicFEEBSec5 = new TGeoCombiTrans("posFicFEEBSec5", -aFEEshiftR2Sec1*cos225 - 2.0, 0, 7.5, rot);
    posFicFEEBSec5->RegisterYourself();
    TGeoTranslation *posFicOct2Sec5 = new TGeoTranslation("posFicOct2Sec5",-1.0*((aFEEshiftR2Sec1*cos225 + 2.0) - fV0AFEEBTh/2. - 1.0),0.0,0.0);
    posFicOct2Sec5->RegisterYourself(); 

    /// Frame
    TGeoVolume *v0AFra5 = new TGeoVolumeAssembly("V0AFra5");
    for (int i=0;i<2;i++) { 
      v0APts[0+8*i] = -fV0AR0+fV0AFraWd/2.;  v0APts[1+8*i] = 0.0;
      v0APts[2+8*i] = -fV0AR0+fV0AFraWd/2.;  v0APts[3+8*i] = -fV0AFraWd/8.;
      v0APts[4+8*i] = -fV0AR4-fV0AFraWd/2.;  v0APts[5+8*i] = -fV0AFraWd/8.;
      v0APts[6+8*i] = -fV0AR4-fV0AFraWd/2.;  v0APts[7+8*i] = 0.0;
    }    
    TGeoArb8 *sV0AFraB15 = new TGeoArb8("sV0AFraB15",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB15 = new TGeoVolume("V0AFraB15",sV0AFraB15,medV0AFra);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = -fV0AR0*cos45;
      v0APts[1+8*i] = -(fV0AR0-fV0AFraWd)*sin45;
      v0APts[2+8*i] = -(fV0AR0-fV0AFraWd/2.)*cos45;
      v0APts[3+8*i] = -(fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[4+8*i] = -(fV0AR4+fV0AFraWd/2.)*cos45;
      v0APts[5+8*i] = -(fV0AR4+fV0AFraWd/2.)*sin45;
      v0APts[6+8*i] = -(fV0AR4+fV0AFraWd)*cos45;
      v0APts[7+8*i] = -fV0AR4*sin45;
    }
    TGeoArb8 *sV0AFraB25 = new TGeoArb8("sV0AFraB25", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB25 = new TGeoVolume("V0AFraB25",sV0AFraB25,medV0AFra);
    v0AFraB15->SetLineColor(kV0AColorFra); v0AFraB25->SetLineColor(kV0AColorFra);
    v0AFra5->AddNode(v0AFraB15,1);
    v0AFra5->AddNode(v0AFraB25,1);  // Prefer 2 GeoObjects insted of 3 GeoMovements
    new TGeoTubeSeg( "sV0AFraR1b5", fV0AR0-fV0AFraWd/2.,
		     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AFraR2b5", fV0AR1-fV0AFraWd/2.,
		     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AFraR3b5", fV0AR2-fV0AFraWd/2.,
		     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AFraR4b5", fV0AR3-fV0AFraWd/2.,
		     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AFraR5b5", fV0AR4-fV0AFraWd/2.,
		     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    TGeoCompositeShape *sV0AFraR15 = new TGeoCompositeShape("sV0AFraR15","sV0AFraR1b5-sV0ACha5");
    TGeoCompositeShape *sV0AFraR25 = new TGeoCompositeShape("sV0AFraR25","sV0AFraR2b5-sV0ACha5");
    TGeoCompositeShape *sV0AFraR35 = new TGeoCompositeShape("sV0AFraR35","sV0AFraR3b5-sV0ACha5");
    TGeoCompositeShape *sV0AFraR45 = new TGeoCompositeShape("sV0AFraR45","sV0AFraR4b5-sV0ACha5");
    TGeoCompositeShape *sV0AFraR55 = new TGeoCompositeShape("sV0AFraR55","sV0AFraR5b5-sV0ACha5");
    TGeoVolume *v0AFraR15 = new TGeoVolume("V0AFraR15",sV0AFraR15,medV0AFra);
    TGeoVolume *v0AFraR25 = new TGeoVolume("V0AFraR25",sV0AFraR25,medV0AFra);
    TGeoVolume *v0AFraR35 = new TGeoVolume("V0AFraR35",sV0AFraR35,medV0AFra);
    TGeoVolume *v0AFraR45 = new TGeoVolume("V0AFraR45",sV0AFraR45,medV0AFra);
    TGeoVolume *v0AFraR55 = new TGeoVolume("V0AFraR55",sV0AFraR55,medV0AFra);
    v0AFraR15->SetLineColor(kV0AColorFra); v0AFraR25->SetLineColor(kV0AColorFra);
    v0AFraR35->SetLineColor(kV0AColorFra); v0AFraR45->SetLineColor(kV0AColorFra);
    v0AFraR55->SetLineColor(kV0AColorFra);
    v0AFra5->AddNode(v0AFraR15,1);
    v0AFra5->AddNode(v0AFraR25,1);
    v0AFra5->AddNode(v0AFraR35,1);
    v0AFra5->AddNode(v0AFraR45,1);
    v0AFra5->AddNode(v0AFraR55,1);
    v0ASec5->AddNode(v0AFra5,1);

    /// Sensitive scintilator
    TGeoVolume *v0ASci5 = new TGeoVolumeAssembly("V0ASci5");
    new TGeoTubeSeg( "sV0AR1b5", fV0AR0+fV0AFraWd/2.,
		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AR2b5", fV0AR1+fV0AFraWd/2.,
		     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AR3b5", fV0AR2+fV0AFraWd/2.,
		     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    new TGeoTubeSeg( "sV0AR4b5", fV0AR3+fV0AFraWd/2.,
		     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 180.0, 225.0);
    TGeoCompositeShape *sV0AR15 = new TGeoCompositeShape("sV0AR15","sV0AR1b5-sV0ACha5");
    TGeoCompositeShape *sV0AR25 = new TGeoCompositeShape("sV0AR25","sV0AR2b5-sV0ACha5");
    TGeoCompositeShape *sV0AR35 = new TGeoCompositeShape("sV0AR35","sV0AR3b5-sV0ACha5");
    TGeoCompositeShape *sV0AR45 = new TGeoCompositeShape("sV0AR45","sV0AR4b5-sV0ACha5");
    TGeoVolume *v0L15 = new TGeoVolume("V0L15",sV0AR15,medV0ASci);
    TGeoVolume *v0L25 = new TGeoVolume("V0L25",sV0AR25,medV0ASci);
    TGeoVolume *v0L35 = new TGeoVolume("V0L35",sV0AR35,medV0ASci);
    TGeoVolume *v0L45 = new TGeoVolume("V0L45",sV0AR45,medV0ASci);
    v0L15->SetLineColor(kV0AColorSci); v0L25->SetLineColor(kV0AColorSci);
    v0L35->SetLineColor(kV0AColorSci); v0L45->SetLineColor(kV0AColorSci);
    v0ASci5->AddNode(v0L15,1);
    v0ASci5->AddNode(v0L25,1);
    v0ASci5->AddNode(v0L35,1);
    v0ASci5->AddNode(v0L45,1);

     /// Segment of octagon  
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -fV0AR6+fV0AOctH2;	         v0APts[1+8*i] = 0.;
    v0APts[2+8*i] = -(fV0AR7-fV0AOctH2)*cos654;   v0APts[3+8*i] = -(fV0AR7-fV0AOctH2)*sin654;
    v0APts[4+8*i] = -fV0AR7*cos654;	         v0APts[5+8*i] = -fV0AR7*sin654;
    v0APts[6+8*i] = -fV0AR6;			 v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0AOct25", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoCompositeShape *sV0AOct2FEEB5 = new TGeoCompositeShape("sV0AOct2FEEB5","sV0AOct25-sV0AFicFEEBSec1:posFicFEEBSec5-sV0AFicOct2Sec1:posFicOct2Sec5");
    TGeoVolume *v0AOct25 = new TGeoVolume("V0AOct25", sV0AOct2FEEB5,medV0ASup);
    v0AOct25->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASup5 = new TGeoVolumeAssembly("V0ASup5");
    v0ASup5->AddNode(v0AOct25,1);
    v0ASec5->AddNode(v0ASup5,1);

    //Bunch of fibers
    v0APts[ 0] = v0APts[ 2] = -14.0;
    v0APts[ 1] = v0APts[ 7] = (fV0ASciWd+fV0AOctWd)/2.-0.01;
    v0APts[ 3] = v0APts[ 5] = (fV0ASciWd+fV0AOctWd)/2.+0.01;
    v0APts[ 4] = v0APts[ 6] = +14.0;
    v0APts[ 8] = v0APts[10] = -10.0;
    v0APts[ 9] = v0APts[15] = 0.;
    v0APts[11] = v0APts[13] = 0.25;
    v0APts[12] = v0APts[14] = +10.0;
    new TGeoArb8("sV0AFib15", 11.8, v0APts); 
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateZ(90+22.5);
    TGeoCombiTrans *fib15pos = new TGeoCombiTrans("fib15pos", -(fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. +
    3.3, -(fV0AR6-fV0AOctH2+fV0AR5)*sin225/2. + 1.5, 0, rot);
    fib15pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib15Hole = new TGeoCompositeShape("sV0AFib15Hole", "sV0AFib15:fib15pos-sV0AFicR55");
    TGeoVolume *v0AFib15Hole = new TGeoVolume("V0AFib15",sV0AFib15Hole,medV0AFib);
    v0AFib15Hole->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib25", 11.8, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateY(180);
    rot->RotateZ(90+22.5);
    TGeoCombiTrans *fib25pos = new TGeoCombiTrans("fib25pos", -(fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. +
    3.3, -(fV0AR6-fV0AOctH2+fV0AR5)*sin225/2. + 1.5, 0, rot);
    fib25pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib25Hole = new TGeoCompositeShape("sV0AFib25Hole","sV0AFib25:fib25pos-sV0AFicR55");
    TGeoVolume *v0AFib25Hole = new TGeoVolume("V0AFib25Hole",sV0AFib25Hole,medV0AFib);
    v0AFib25Hole->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFib5 = new TGeoVolumeAssembly("V0AFib5");    
    v0AFib5->AddNode(v0AFib15Hole,1);
    v0AFib5->AddNode(v0AFib25Hole,1);
    v0ASec5->AddNode(v0AFib5,1);
            
    /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S25", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShape5, 180.0, 225.0);
    TGeoCompositeShape *sV0AR55 = new TGeoCompositeShape("V0AR55","sV0AR5S25 - sV0ACha5");
    TGeoVolume *v0AR55 = new TGeoVolume("V0AR55",sV0AR55,medV0ASci);
    v0AR55->SetLineColor(kV0AColorSci);
    v0ASci5->AddNode(v0AR55,1);
    v0ASec5->AddNode(v0ASci5,1);

    /// Plates 
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = -fV0AR0;			v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = -fV0AR0*cos654;		v0APts[3+8*i] = -fV0AR0*sin654;
      v0APts[4+8*i] = -fV0AR7*cos654;    	v0APts[5+8*i] = -fV0AR7*sin654;
      v0APts[6+8*i] = -fV0AR6;    		v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0APlaIn5", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHoles5 = new TGeoCompositeShape("sV0APlaInNailsHoles5","sV0APlaIn5-sV0ANailsPlaInHoles5-sV0AFicFEEBSec1:posFicFEEBSec5");
    TGeoVolume *v0APlaInNailsHoles5 = new TGeoVolume("V0APlaInNailsHoles5", sV0APlaInNailsHoles5, medV0APlaIn);
    new TGeoArb8("sV0APlaOu5", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHoles5 = new TGeoCompositeShape("sV0APlaOuNailsHoles5","sV0APlaOu5-sV0ANailsPlaOuHoles5-sV0AFicFEEBSec1:posFicFEEBSec5");  
    TGeoVolume *v0APlaOuNailsHoles5 = new TGeoVolume("V0APlaOuNailsHoles5", sV0APlaOuNailsHoles5, medV0APlaOu);
    v0APlaInNailsHoles5->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHoles5->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APla5 = new TGeoVolumeAssembly("V0APla5");
    v0APla5->AddNode(v0APlaInNailsHoles5,1);
    v0APla5->AddNode(v0APlaOuNailsHoles5,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APla5->AddNode(v0APlaOuNailsHoles5,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec5->AddNode(v0APla5,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec5->AddNode(v0APla5,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
    /// PMBox 
    TGeoVolume* v0APM5 = new TGeoVolumeAssembly("V0APM5");
    new TGeoBBox("sV0APMB15", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB25", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMB5 = new TGeoCompositeShape("sV0APMB5","sV0APMB15-sV0APMB25");
    TGeoVolume *v0APMB5 = new TGeoVolume("V0APMB5",sV0APMB5, medV0APMAlum);
    v0APMB5->SetLineColor(kV0AColorPMA);
    v0APM5->AddNode(v0APMB5,1);

    /// PMTubes 
    TGeoTube *sV0APMT15 = new TGeoTube("sV0APMT15", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT15 = new TGeoVolume("V0APMT15", sV0APMT15, medV0APMGlass);
    TGeoTube *sV0APMT25 = new TGeoTube("sV0APMT25", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT25 = new TGeoVolume("V0APMT25", sV0APMT25, medV0APMAlum);
    TGeoVolume *v0APMT5 = new TGeoVolumeAssembly("V0APMT5");
    TGeoTube *sV0APMTT5 = new TGeoTube("sV0APMTT5", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTT5 = new TGeoVolume("V0APMTT5", sV0APMTT5, medV0APMAlum);
    v0APMT5->SetLineColor(kV0AColorPMG);
    v0APMT25->SetLineColor(kV0AColorPMA);
    v0APMTT5->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMT5->AddNode(v0APMT15,1,rot);
    v0APMT5->AddNode(v0APMT25,1,rot);
    v0APMT5->AddNode(v0APMTT5,1,new TGeoCombiTrans(0,(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShift5 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APM5->AddNode(v0APMT5, 1, new TGeoTranslation(-1.5*autoShift5, 0, 0));
    v0APM5->AddNode(v0APMT5, 2, new TGeoTranslation(-0.5*autoShift5, 0, 0));
    v0APM5->AddNode(v0APMT5, 3, new TGeoTranslation(+0.5*autoShift5, 0, 0));
    v0APM5->AddNode(v0APMT5, 4, new TGeoTranslation(+1.5*autoShift5, 0, 0));

    /// PM 
    rot = new TGeoRotation("rot");
    rot->RotateX(-90+30);
    rot->RotateY(0); 
    rot->RotateZ(-65-3);
    double cosAngPMB5 = TMath::Cos(fV0APMBAng*TMath::DegToRad());
    double sinAngPMB5 = TMath::Sin(fV0APMBAng*TMath::DegToRad());
    double shiftZ5 = fV0APMBHt/2. * cosAngPMB5
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMB5;
    double shiftR5 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0ASec5->AddNode(v0APM5,1, new TGeoCombiTrans( -shiftR5*cos225-1.3, -shiftR5*sin225, shiftZ5, rot));

    // Aluminium nails
    TGeoTube *sV0ANail51 = new TGeoTube("sV0ANail51", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail51 = new TGeoVolume("V0ANail51", sV0ANail51, medV0APMAlum);
    v0ANail51->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec5->AddNode(v0ANail51,1,new TGeoTranslation(-42.9,-0.51,0.0));
    TGeoTube *sV0ANail52 = new TGeoTube("sV0ANail52", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail52 = new TGeoVolume("V0ANail52", sV0ANail52, medV0APMAlum);
    v0ANail52->SetLineColor(kV0AColorPMA);
    v0ASec5->AddNode(v0ANail52,1,new TGeoTranslation(-30.8,-30.04,0.0)); 
            
    // Adding sector to v0LE volume
    v0LE->AddNode(v0ASec5, 1);  
    

    //Definition of  sector 6
    TGeoVolume *v0ASec6 = new TGeoVolumeAssembly("V0ASec6");

    /// For boolean sustraction
    double preShape6 = 0.2;
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -preShape6;                      v0APts[1+8*i] = -fV0AR0+fV0AFraWd/2.-preShape6;
    v0APts[2+8*i] = 0.0;                    v0APts[3+8*i] = -fV0AR0+fV0AFraWd/2.-preShape6;
    v0APts[4+8*i] = 0.0;                    v0APts[5+8*i] = -fV0AR4-fV0AFraWd/2.+preShape6;
    v0APts[6+8*i] = -preShape6;                      v0APts[7+8*i] = -fV0AR4-fV0AFraWd/2.+preShape6;
    }
    new TGeoArb8("sV0ACha16",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -fV0AR0*cos45+preShape6;
    v0APts[1+8*i] = -(fV0AR0-fV0AFraWd)*sin45+preShape6;
    v0APts[2+8*i] = -(fV0AR0-fV0AFraWd/2.)*cos45+preShape6;
    v0APts[3+8*i] = -(fV0AR0-fV0AFraWd/2.)*sin45;
    v0APts[4+8*i] = -(fV0AR4+fV0AFraWd/2.)*cos45-preShape6;
    v0APts[5+8*i] = -(fV0AR4+fV0AFraWd/2.)*sin45-preShape6;
    v0APts[6+8*i] = -(fV0AR4+fV0AFraWd)*cos45-preShape6;
    v0APts[7+8*i] = -fV0AR4*sin45-preShape6;
    }
    new TGeoArb8("sV0ACha26", fV0ASciWd/2.+2.*preShape6, v0APts);
    new TGeoCompositeShape("sV0ACha126","sV0ACha16+sV0ACha26");
    new TGeoTube("sV0ANail16Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos16 = new TGeoTranslation("pos16",-0.51,-42.9,0.0);
    pos16->RegisterYourself();
    new TGeoTube("sV0ANail26Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos26 = new TGeoTranslation("pos26",-30.05,-30.79,0.0);  
    pos26->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsHoles6","sV0ANail16Hole:pos16+sV0ANail26Hole:pos26");
    new TGeoCompositeShape("sV0ACha6","sV0ACha126+sV0ANailsHoles6");
    new TGeoTubeSeg("sV0AFicR56", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShape6, 225, 270.0);
    new TGeoTube("sV0ANail1PlaInHole6", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);    
    new TGeoTube("sV0ANail1PlaOuHole6", 0.0, 0.4, (fV0APlaAl)/2.);
      
    /// Frame
    TGeoVolume *v0AFra6 = new TGeoVolumeAssembly("V0AFra6");
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -fV0AFraWd/2.;         v0APts[1+8*i] = -fV0AR0-fV0AFraWd/2.;
    v0APts[2+8*i] = 0.;                    v0APts[3+8*i] = -fV0AR0-fV0AFraWd/2.;
    v0APts[4+8*i] = 0.;                    v0APts[5+8*i] = -fV0AR4+fV0AFraWd/2.;
    v0APts[6+8*i] = -fV0AFraWd/2.;         v0APts[7+8*i] = -fV0AR4+fV0AFraWd/2.;
    }
    TGeoArb8 *sV0AFraB16 = new TGeoArb8("sV0AFraB16",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB16 = new TGeoVolume("V0AFraB16",sV0AFraB16,medV0AFra);
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -(fV0AR0+fV0AFraWd/2.)*cos45;
    v0APts[1+8*i] = -(fV0AR0+fV0AFraWd/2.)*sin45;
    v0APts[2+8*i] = -fV0AR0*cos45;
    v0APts[3+8*i] = -(fV0AR0+fV0AFraWd)*sin45;
    v0APts[4+8*i] = -(fV0AR4-fV0AFraWd/6.)*cos45;
    v0APts[5+8*i] = -fV0AR4*sin45;
    v0APts[6+8*i] = -(fV0AR4-fV0AFraWd)*cos45;
    v0APts[7+8*i] = -(fV0AR4-fV0AFraWd/2.)*sin45;
    }
    TGeoArb8 *sV0AFraB26 = new TGeoArb8("sV0AFraB26", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB26 = new TGeoVolume("V0AFraB26",sV0AFraB26,medV0AFra);
    v0AFraB16->SetLineColor(kV0AColorFra); v0AFraB26->SetLineColor(kV0AColorFra);
    v0AFra6->AddNode(v0AFraB16,1);
    v0AFra6->AddNode(v0AFraB26,1);  // Prefer 2 GeoObjects insted of 3 GeoMovements
    new TGeoTubeSeg( "sV0AFraR1b6", fV0AR0-fV0AFraWd/2.,
    	     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AFraR2b6", fV0AR1-fV0AFraWd/2.,
    	     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AFraR3b6", fV0AR2-fV0AFraWd/2.,
    	     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AFraR4b6", fV0AR3-fV0AFraWd/2.,
    	     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AFraR5b6", fV0AR4-fV0AFraWd/2.,
    	     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    TGeoCompositeShape *sV0AFraR16 = new TGeoCompositeShape("sV0AFraR16","sV0AFraR1b6-sV0ACha6");
    TGeoCompositeShape *sV0AFraR26 = new TGeoCompositeShape("sV0AFraR26","sV0AFraR2b6-sV0ACha6");
    TGeoCompositeShape *sV0AFraR36 = new TGeoCompositeShape("sV0AFraR36","sV0AFraR3b6-sV0ACha6");
    TGeoCompositeShape *sV0AFraR46 = new TGeoCompositeShape("sV0AFraR46","sV0AFraR4b6-sV0ACha6");
    TGeoCompositeShape *sV0AFraR56 = new TGeoCompositeShape("sV0AFraR56","sV0AFraR5b6-sV0ACha6");
    TGeoVolume *v0AFraR16 = new TGeoVolume("V0AFraR16",sV0AFraR16,medV0AFra);
    TGeoVolume *v0AFraR26 = new TGeoVolume("V0AFraR26",sV0AFraR26,medV0AFra);
    TGeoVolume *v0AFraR36 = new TGeoVolume("V0AFraR36",sV0AFraR36,medV0AFra);
    TGeoVolume *v0AFraR46 = new TGeoVolume("V0AFraR46",sV0AFraR46,medV0AFra);
    TGeoVolume *v0AFraR56 = new TGeoVolume("V0AFraR56",sV0AFraR56,medV0AFra);
    v0AFraR16->SetLineColor(kV0AColorFra); v0AFraR26->SetLineColor(kV0AColorFra);
    v0AFraR36->SetLineColor(kV0AColorFra); v0AFraR46->SetLineColor(kV0AColorFra);
    v0AFraR56->SetLineColor(kV0AColorFra);
    v0AFra6->AddNode(v0AFraR16,1);
    v0AFra6->AddNode(v0AFraR26,1);
    v0AFra6->AddNode(v0AFraR36,1);
    v0AFra6->AddNode(v0AFraR46,1);
    v0AFra6->AddNode(v0AFraR56,1);
    v0ASec6->AddNode(v0AFra6,1);

    /// Sensitive scintilator
    TGeoVolume *v0ASci6 = new TGeoVolumeAssembly("V0ASci6");
    new TGeoTubeSeg( "sV0AR1b6", fV0AR0+fV0AFraWd/2.,
    		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AR2b6", fV0AR1+fV0AFraWd/2.,
    	     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AR3b6", fV0AR2+fV0AFraWd/2.,
    	     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    new TGeoTubeSeg( "sV0AR4b6", fV0AR3+fV0AFraWd/2.,
    	     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 225.0, 270.0);
    TGeoCompositeShape *sV0AR16 = new TGeoCompositeShape("sV0AR16","sV0AR1b6-sV0ACha6");
    TGeoCompositeShape *sV0AR26 = new TGeoCompositeShape("sV0AR26","sV0AR2b6-sV0ACha6");
    TGeoCompositeShape *sV0AR36 = new TGeoCompositeShape("sV0AR36","sV0AR3b6-sV0ACha6");
    TGeoCompositeShape *sV0AR46 = new TGeoCompositeShape("sV0AR46","sV0AR4b6-sV0ACha6");
    TGeoVolume *v0L16 = new TGeoVolume("V0L16",sV0AR16,medV0ASci);
    TGeoVolume *v0L26 = new TGeoVolume("V0L26",sV0AR26,medV0ASci);
    TGeoVolume *v0L36 = new TGeoVolume("V0L36",sV0AR36,medV0ASci);
    TGeoVolume *v0L46 = new TGeoVolume("V0L46",sV0AR46,medV0ASci);
    v0L16->SetLineColor(kV0AColorSci); v0L26->SetLineColor(kV0AColorSci);
    v0L36->SetLineColor(kV0AColorSci); v0L46->SetLineColor(kV0AColorSci);
    v0ASci6->AddNode(v0L16,1);
    v0ASci6->AddNode(v0L26,1);
    v0ASci6->AddNode(v0L36,1);
    v0ASci6->AddNode(v0L46,1);
    
    // Bunch of fibers
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -10.0;	    v0APts[1+8*i] = 13.1;  
    v0APts[2+8*i] = 10.0;           v0APts[3+8*i] = 13.1;   
    v0APts[4+8*i] = 8.0;            v0APts[5+8*i] = -29.0;  
    v0APts[6+8*i] = -12.0;	    v0APts[7+8*i] = -12.0;  
    }   
    new TGeoArb8("sV0AFib16", 0.01, v0APts);      
    rot = new TGeoRotation("rot");
    rot->RotateX(2.0); 
    rot->RotateY(180.0);
    rot->RotateZ(90+22.5);
    TGeoCombiTrans *fib16pos = new TGeoCombiTrans("fib16pos", -40.0 + 3.3, -50.0 + 1.5, 0.5, rot);
    fib16pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib16Hole = new TGeoCompositeShape("sV0AFib16Hole", "sV0AFib16:fib16pos-sV0AFicR56");
    TGeoVolume *v0AFib16Hole = new TGeoVolume("V0AFib16Hole",sV0AFib16Hole,medV0AFib);
    v0AFib16Hole->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib26", 0.01, v0APts);      
    rot = new TGeoRotation("rot");
    rot->RotateX(-2.0); 
    rot->RotateY(180.0); 
    rot->RotateZ(90+22.5);
    TGeoCombiTrans *fib26pos = new TGeoCombiTrans("fib26pos", -40.0 + 3.3, -50.0 + 1.5, -0.5, rot);
    fib26pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib26Hole = new TGeoCompositeShape("sV0AFib26Hole", "sV0AFib26:fib26pos-sV0AFicR56");
    TGeoVolume *v0AFib26Hole = new TGeoVolume("V0AFib26Hole",sV0AFib26Hole,medV0AFib);
    v0AFib26Hole->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFib6 = new TGeoVolumeAssembly("V0AFib6");
    v0AFib6->AddNode(v0AFib16Hole,1); 
    v0AFib6->AddNode(v0AFib26Hole,1);
    v0ASec6->AddNode(v0AFib6,1);

    /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S26", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShape6, 225.0, 270.0);
    TGeoCompositeShape *sV0AR56 = new TGeoCompositeShape("V0AR56","sV0AR5S26 - sV0ACha6");
    TGeoVolume *v0AR56 = new TGeoVolume("V0AR56",sV0AR56,medV0ASci);
    v0AR56->SetLineColor(kV0AColorSci);
    v0ASci6->AddNode(v0AR56,1);
    v0ASec6->AddNode(v0ASci6,1);

    /// Segment of octagon   
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = 0.;                 	 v0APts[1+8*i] = -(fV0AR7-fV0AOctH2)*sin654;
    v0APts[2+8*i] = 0.;                          v0APts[3+8*i] = -fV0AR7*sin654;
    v0APts[4+8*i] = -fV0AR7*cos654;     	 v0APts[5+8*i] = -fV0AR7*sin654;
    v0APts[6+8*i] = -(fV0AR7-fV0AOctH2)*cos654;	 v0APts[7+8*i] = -(fV0AR7-fV0AOctH2)*sin654;
    }
    TGeoArb8 *sV0AOct26 = new TGeoArb8("sV0AOct26", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoVolume *v0AOct26 = new TGeoVolume("V0AOct26", sV0AOct26,medV0ASup);
    v0AOct26->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASup6 = new TGeoVolumeAssembly("V0ASup6");
    v0ASup6->AddNode(v0AOct26,1);
    v0ASec6->AddNode(v0ASup6,1);

    /// Plates
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = 0.;       		v0APts[1+8*i] = -fV0AR0;
    v0APts[2+8*i] = 0.;        		v0APts[3+8*i] = -fV0AR7*sin654;
    v0APts[4+8*i] = -fV0AR7*cos654;    	v0APts[5+8*i] = -fV0AR7*sin654;
    v0APts[6+8*i] = -fV0AR0*cos654;  		v0APts[7+8*i] = -fV0AR0*sin654;
    }
    new TGeoArb8("sV0APlaIn6", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHoles6 = new TGeoCompositeShape("sV0APlaInNailsHoles6","sV0APlaIn6-sV0ANail1PlaInHole6:pos16");
    TGeoVolume *v0APlaInNailsHoles6 = new TGeoVolume("V0APlaInNailsHoles6", sV0APlaInNailsHoles6, medV0APlaIn);
    new TGeoArb8("sV0APlaOu6", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHoles6 = new TGeoCompositeShape("sV0APlaOuNailsHoles6","sV0APlaOu6-sV0ANail1PlaOuHole6:pos16"); 
    TGeoVolume *v0APlaOuNailsHoles6 = new TGeoVolume("V0APlaOuNailsHoles6", sV0APlaOuNailsHoles6, medV0APlaOu);
    v0APlaInNailsHoles6->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHoles6->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APla6 = new TGeoVolumeAssembly("V0APla6");
    v0APla6->AddNode(v0APlaInNailsHoles6,1);
    v0APla6->AddNode(v0APlaOuNailsHoles6,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APla6->AddNode(v0APlaOuNailsHoles6,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec6->AddNode(v0APla6,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec6->AddNode(v0APla6,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
    /// PMBox  
    TGeoVolume* v0APM6 = new TGeoVolumeAssembly("V0APM6");
    new TGeoBBox("sV0APMB16", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB26", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMB6 = new TGeoCompositeShape("sV0APMB6","sV0APMB16-sV0APMB26");
    TGeoVolume *v0APMB6 = new TGeoVolume("V0APMB6",sV0APMB6, medV0APMAlum);
    v0APMB6->SetLineColor(kV0AColorPMA);
    v0APM6->AddNode(v0APMB6,1);

    /// PMTubes 
    TGeoTube *sV0APMT16 = new TGeoTube("sV0APMT16", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT16 = new TGeoVolume("V0APMT16", sV0APMT16, medV0APMGlass);
    TGeoTube *sV0APMT26 = new TGeoTube("sV0APMT26", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT26 = new TGeoVolume("V0APMT26", sV0APMT26, medV0APMAlum);
    TGeoVolume *v0APMT6 = new TGeoVolumeAssembly("V0APMT6"); 
    TGeoTube *sV0APMTT6 = new TGeoTube("sV0APMTT6", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTT6 = new TGeoVolume("V0APMTT6", sV0APMTT6, medV0APMAlum);
    v0APMT6->SetLineColor(kV0AColorPMG);
    v0APMT26->SetLineColor(kV0AColorPMA);
    v0APMTT6->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMT6->AddNode(v0APMT16,1,rot);
    v0APMT6->AddNode(v0APMT26,1,rot);
    v0APMT6->AddNode(v0APMTT6,1,new TGeoCombiTrans(0,(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShift6 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APM6->AddNode(v0APMT6, 1, new TGeoTranslation(-1.5*autoShift6, 0, 0));
    v0APM6->AddNode(v0APMT6, 2, new TGeoTranslation(-0.5*autoShift6, 0, 0));
    v0APM6->AddNode(v0APMT6, 3, new TGeoTranslation(+0.5*autoShift6, 0, 0));
    v0APM6->AddNode(v0APMT6, 4, new TGeoTranslation(+1.5*autoShift6, 0, 0));

    /// PM 
    rot = new TGeoRotation("rot");
    rot->RotateX(-90+30);
    rot->RotateY(0);
    rot->RotateZ(-65-3);
    double cosAngPMB6 = TMath::Cos(fV0APMBAng*TMath::DegToRad());
    double sinAngPMB6 = TMath::Sin(fV0APMBAng*TMath::DegToRad());
    double shiftZ6 = fV0APMBHt/2. * cosAngPMB6
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMB6;
    double shiftR6 = fV0AR6  + fV0AR1 + fV0AOctWd + fV0APlaAl/3.;
    v0ASec6->AddNode(v0APM6,1, new TGeoCombiTrans( -shiftR6*cos45-1.3, -shiftR6*sin45, shiftZ6, rot));   
    
    /// Support
    TGeoBBox *sV0ASuppbl = new TGeoBBox("sV0ASuppbl", 2.0, 18.13, fV0ASciWd/2.);       
    TGeoVolume *v0ASuppbl = new TGeoVolume("V0ASuppbl", sV0ASuppbl, medV0ASup);
    v0ASuppbl->SetLineColor(kV0AColorOct);
    v0ASec6->AddNode(v0ASuppbl,1,new TGeoTranslation(-2.0,-63.64,0.0));
    
    // Aluminium nail
    TGeoTube *sV0ANail61 = new TGeoTube("sV0ANail61", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail61 = new TGeoVolume("V0ANail61", sV0ANail61, medV0APMAlum);
    v0ANail61->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec6->AddNode(v0ANail61,1,new TGeoTranslation(-0.51,-42.9,0.0));  
    TGeoTube *sV0ANail62 = new TGeoTube("sV0ANail62", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail62 = new TGeoVolume("V0ANail62", sV0ANail62, medV0APMAlum);
    v0ANail62->SetLineColor(kV0AColorPMA);
    v0ASec6->AddNode(v0ANail62,1,new TGeoTranslation(-30.05,-30.79,0.0));  

    // Adding sector to v0LE volume
    v0LE->AddNode(v0ASec6, 1); 
 
     
     //Definition of sector 7
    TGeoVolume *v0ASec7 = new TGeoVolumeAssembly("V0ASec7");

    /// For boolean sustraction
    double preShape7 = 0.2;
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = 0.0;                      v0APts[1+8*i] = -fV0AR0+fV0AFraWd/2.-preShape7;
    v0APts[2+8*i] = fV0AFraWd/2.;                    v0APts[3+8*i] = -fV0AR0+fV0AFraWd/2.-preShape7;
    v0APts[4+8*i] = fV0AFraWd/2.;                    v0APts[5+8*i] = -fV0AR4-fV0AFraWd/2.+preShape7;
    v0APts[6+8*i] = 0.0;                      v0APts[7+8*i] = -fV0AR4-fV0AFraWd/2.+preShape7;
    }
    new TGeoArb8("sV0ACha17",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = (fV0AR0-fV0AFraWd/2.)*cos45-preShape7;
    v0APts[1+8*i] =  -(fV0AR0-fV0AFraWd/2.)*sin45;
    v0APts[2+8*i] = fV0AR0*cos45-preShape7;
    v0APts[3+8*i] =  -(fV0AR0-fV0AFraWd)*sin45+preShape7;
    v0APts[4+8*i] = (fV0AR4+fV0AFraWd)*cos45+preShape7;
    v0APts[5+8*i] =  -fV0AR4*sin45-preShape7;
    v0APts[6+8*i] = (fV0AR4+fV0AFraWd/2.)*cos45+preShape7;
    v0APts[7+8*i] =  -(fV0AR4+fV0AFraWd/2.)*sin45-2.*preShape7;
    }
    new TGeoArb8("sV0ACha27", fV0ASciWd/2.+2.*preShape7, v0APts);
    new TGeoCompositeShape("sV0ACha127","sV0ACha17+sV0ACha27");
    new TGeoTube("sV0ANail17Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos17 = new TGeoTranslation("pos17",0.51,-42.9,0.0);
    pos17->RegisterYourself();
    new TGeoTube("sV0ANail27Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos27 = new TGeoTranslation("pos27",30.05,-30.79,0.0);   
    pos27->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsHoles7","sV0ANail17Hole:pos17+sV0ANail27Hole:pos27");
    new TGeoCompositeShape("sV0ACha7","sV0ACha127+sV0ANailsHoles7");
    new TGeoTubeSeg("sV0AFicR57", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShape7, 270.0, 315.0);
    new TGeoTube("sV0ANail1PlaInHole7", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);    
    new TGeoTube("sV0ANail1PlaOuHole7", 0.0, 0.4, (fV0APlaAl)/2.); 

    /// Frame
    TGeoVolume *v0AFra7 = new TGeoVolumeAssembly("V0AFra7");
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = 0.;                              v0APts[1+8*i] = -fV0AR0-fV0AFraWd/2.;
    v0APts[2+8*i] = fV0AFraWd/2.;                    v0APts[3+8*i] = -fV0AR0-fV0AFraWd/2.;
    v0APts[4+8*i] = fV0AFraWd/2.;                    v0APts[5+8*i] = -fV0AR4+fV0AFraWd/2.;
    v0APts[6+8*i] = 0.;                              v0APts[7+8*i] = -fV0AR4+fV0AFraWd/2.;
    }
    TGeoArb8 *sV0AFraB17 = new TGeoArb8("sV0AFraB17",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB17 = new TGeoVolume("V0AFraB17",sV0AFraB17,medV0AFra);
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AR0*cos45-fV0AFraWd;
    v0APts[1+8*i] =  -(fV0AR0-fV0AFraWd)*sin45;
    v0APts[2+8*i] = (fV0AR0-fV0AFraWd/2.)*cos45;
    v0APts[3+8*i] = -(fV0AR0-fV0AFraWd/2.)*sin45;
    v0APts[4+8*i] = (fV0AR4+fV0AFraWd/2.)*cos45/2.;
    v0APts[5+8*i] = -fV0AR4*sin45/2.;
    v0APts[6+8*i] = (fV0AR4+fV0AFraWd/4.)*cos45/2.;
    v0APts[7+8*i] = -(fV0AR4+fV0AFraWd/2.)*sin45/2.;
    }
    TGeoArb8 *sV0AFraB27 = new TGeoArb8("sV0AFraB27", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB27 = new TGeoVolume("V0AFraB27",sV0AFraB27,medV0AFra);
    v0AFraB17->SetLineColor(kV0AColorFra); v0AFraB27->SetLineColor(kV0AColorFra);
    v0AFra7->AddNode(v0AFraB17,1);
    v0AFra7->AddNode(v0AFraB27,1);  // Prefer 2 GeoObjects insted of 3 GeoMovements
    new TGeoTubeSeg( "sV0AFraR1b7", fV0AR0-fV0AFraWd/2.,
    	     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AFraR2b7", fV0AR1-fV0AFraWd/2.,
    	     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AFraR3b7", fV0AR2-fV0AFraWd/2.,
    	     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AFraR4b7", fV0AR3-fV0AFraWd/2.,
    	     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AFraR5b7", fV0AR4-fV0AFraWd/2.,
    	     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    TGeoCompositeShape *sV0AFraR17 = new TGeoCompositeShape("sV0AFraR17","sV0AFraR1b7-sV0ACha7");
    TGeoCompositeShape *sV0AFraR27 = new TGeoCompositeShape("sV0AFraR27","sV0AFraR2b7-sV0ACha7");
    TGeoCompositeShape *sV0AFraR37 = new TGeoCompositeShape("sV0AFraR37","sV0AFraR3b7-sV0ACha7");
    TGeoCompositeShape *sV0AFraR47 = new TGeoCompositeShape("sV0AFraR47","sV0AFraR4b7-sV0ACha7");
    TGeoCompositeShape *sV0AFraR57 = new TGeoCompositeShape("sV0AFraR57","sV0AFraR5b7-sV0ACha7");
    TGeoVolume *v0AFraR17 = new TGeoVolume("V0AFraR17",sV0AFraR17,medV0AFra);
    TGeoVolume *v0AFraR27 = new TGeoVolume("V0AFraR27",sV0AFraR27,medV0AFra);
    TGeoVolume *v0AFraR37 = new TGeoVolume("V0AFraR37",sV0AFraR37,medV0AFra);
    TGeoVolume *v0AFraR47 = new TGeoVolume("V0AFraR47",sV0AFraR47,medV0AFra);
    TGeoVolume *v0AFraR57 = new TGeoVolume("V0AFraR57",sV0AFraR57,medV0AFra);
    v0AFraR17->SetLineColor(kV0AColorFra); v0AFraR27->SetLineColor(kV0AColorFra);
    v0AFraR37->SetLineColor(kV0AColorFra); v0AFraR47->SetLineColor(kV0AColorFra);
    v0AFraR57->SetLineColor(kV0AColorFra);
    v0AFra7->AddNode(v0AFraR17,1);
    v0AFra7->AddNode(v0AFraR27,1);
    v0AFra7->AddNode(v0AFraR37,1);
    v0AFra7->AddNode(v0AFraR47,1);
    v0AFra7->AddNode(v0AFraR57,1);
    v0ASec7->AddNode(v0AFra7,1);

    /// Sensitive scintilator
    TGeoVolume *v0ASci7 = new TGeoVolumeAssembly("V0ASci7");
    new TGeoTubeSeg( "sV0AR1b7", fV0AR0+fV0AFraWd/2.,
    	     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AR2b7", fV0AR1+fV0AFraWd/2.,
    	     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AR3b7", fV0AR2+fV0AFraWd/2.,
    	     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    new TGeoTubeSeg( "sV0AR4b7", fV0AR3+fV0AFraWd/2.,
    	     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 270.0, 315.0);
    TGeoCompositeShape *sV0AR17 = new TGeoCompositeShape("sV0AR17","sV0AR1b7-sV0ACha7");
    TGeoCompositeShape *sV0AR27 = new TGeoCompositeShape("sV0AR27","sV0AR2b7-sV0ACha7");
    TGeoCompositeShape *sV0AR37 = new TGeoCompositeShape("sV0AR37","sV0AR3b7-sV0ACha7");
    TGeoCompositeShape *sV0AR47 = new TGeoCompositeShape("sV0AR47","sV0AR4b7-sV0ACha7");
    TGeoVolume *v0L17 = new TGeoVolume("V0L17",sV0AR17,medV0ASci);
    TGeoVolume *v0L27 = new TGeoVolume("V0L27",sV0AR27,medV0ASci);
    TGeoVolume *v0L37 = new TGeoVolume("V0L37",sV0AR37,medV0ASci);
    TGeoVolume *v0L47 = new TGeoVolume("V0L47",sV0AR47,medV0ASci);
    v0L17->SetLineColor(kV0AColorSci); v0L27->SetLineColor(kV0AColorSci);
    v0L37->SetLineColor(kV0AColorSci); v0L47->SetLineColor(kV0AColorSci);
    v0ASci7->AddNode(v0L17,1);
    v0ASci7->AddNode(v0L27,1);
    v0ASci7->AddNode(v0L37,1);
    v0ASci7->AddNode(v0L47,1);
    
    // Bunch of fibers
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = -10.0;	      v0APts[1+8*i] = 13.1;
    v0APts[2+8*i] = 10.0;            v0APts[3+8*i] = 13.1;
    v0APts[4+8*i] = 8.0;            v0APts[5+8*i] = -29.0;
    v0APts[6+8*i] = -12.0;	      v0APts[7+8*i] = -12.0;
    }   
    new TGeoArb8("sV0AFib17", 0.01, v0APts);      
    rot = new TGeoRotation("rot");
    rot->RotateX(-2.0); 
    rot->RotateY(0.0);
    rot->RotateZ(248.0);
    TGeoCombiTrans *fib17pos = new TGeoCombiTrans("fib17pos", 40.0 - 3.3, -50.0 + 1.5, 0.5, rot);
    fib17pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib17Hole = new TGeoCompositeShape("sV0AFib17Hole", "sV0AFib17:fib17pos-sV0AFicR57");
    TGeoVolume *v0AFib17Hole = new TGeoVolume("V0AFib17Hole",sV0AFib17Hole,medV0AFib);
    v0AFib17Hole->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib27", 0.01, v0APts);      
    rot = new TGeoRotation("rot");
    rot->RotateX(2.0); 
    rot->RotateY(0.0);
    rot->RotateZ(248.0);
    TGeoCombiTrans *fib27pos = new TGeoCombiTrans("fib27pos", 40.0 - 3.3, -50.0 + 1.5, -0.5, rot);
    fib27pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib27Hole = new TGeoCompositeShape("sV0AFib27Hole", "sV0AFib27:fib27pos-sV0AFicR57");
    TGeoVolume *v0AFib27Hole = new TGeoVolume("V0AFib27Hole",sV0AFib27Hole,medV0AFib);
    v0AFib27Hole->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFib7 = new TGeoVolumeAssembly("V0AFib7");
    v0AFib7->AddNode(v0AFib17Hole,1); 
    v0AFib7->AddNode(v0AFib27Hole,1);
    v0ASec7->AddNode(v0AFib7,1);

    /// Non-sensitive scintilator
    new TGeoTubeSeg("sV0AR5S27", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShape7, 270.0, 315.0);
    TGeoCompositeShape *sV0AR57 = new TGeoCompositeShape("V0AR57","sV0AR5S27 - sV0ACha7");
    TGeoVolume *v0AR57 = new TGeoVolume("V0AR57",sV0AR57,medV0ASci);
    v0AR57->SetLineColor(kV0AColorSci);
    v0ASci7->AddNode(v0AR57,1);
    v0ASec7->AddNode(v0ASci7,1);

    /// Segment of octagon   
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = 0.;                 	 v0APts[1+8*i] = -fV0AR7*sin654;
    v0APts[2+8*i] = 0.;                          v0APts[3+8*i] = -(fV0AR7-fV0AOctH2)*sin654;
    v0APts[4+8*i] = (fV0AR7-fV0AOctH2)*cos654;   v0APts[5+8*i] = -(fV0AR7-fV0AOctH2)*sin654;
    v0APts[6+8*i] = fV0AR7*cos654;	         v0APts[7+8*i] = -fV0AR7*sin654;
    }
    TGeoArb8 *sV0AOct27 = new TGeoArb8("sV0AOct27", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoVolume *v0AOct27 = new TGeoVolume("V0AOct27", sV0AOct27,medV0ASup);
    v0AOct27->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASup7 = new TGeoVolumeAssembly("V0ASup7");
    v0ASup7->AddNode(v0AOct27,1);
    v0ASec7->AddNode(v0ASup7,1);

    /// Plates
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = 0.;       		v0APts[1+8*i] = -fV0AR7*sin654;
    v0APts[2+8*i] = 0.;        		v0APts[3+8*i] = -fV0AR0;
    v0APts[4+8*i] = fV0AR0*cos654;   	v0APts[5+8*i] = -fV0AR0*sin654;
    v0APts[6+8*i] = fV0AR7*cos654;  	v0APts[7+8*i] = -fV0AR7*sin654;
    }
    new TGeoArb8("sV0APlaIn7", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHoles7 = new TGeoCompositeShape("sV0APlaInNailsHoles7","sV0APlaIn7-sV0ANail1PlaInHole7:pos17");
    TGeoVolume *v0APlaInNailsHoles7 = new TGeoVolume("V0APlaInNailsHoles7", sV0APlaInNailsHoles7, medV0APlaIn);
    new TGeoArb8("sV0APlaOu7", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHoles7 = new TGeoCompositeShape("sV0APlaOuNailsHoles7","sV0APlaOu7-sV0ANail1PlaOuHole7:pos17"); 
    TGeoVolume *v0APlaOuNailsHoles7 = new TGeoVolume("V0APlaOuNailsHoles7", sV0APlaOuNailsHoles7, medV0APlaOu);
    v0APlaInNailsHoles7->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHoles7->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APla7 = new TGeoVolumeAssembly("V0APla7");
    v0APla7->AddNode(v0APlaInNailsHoles7,1);
    v0APla7->AddNode(v0APlaOuNailsHoles7,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APla7->AddNode(v0APlaOuNailsHoles7,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec7->AddNode(v0APla7,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec7->AddNode(v0APla7,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    
    /// PMBox  
    TGeoVolume* v0APM7 = new TGeoVolumeAssembly("V0APM7");
    new TGeoBBox("sV0APMB17", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB27", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMB7 = new TGeoCompositeShape("sV0APMB7","sV0APMB17-sV0APMB27");
    TGeoVolume *v0APMB7 = new TGeoVolume("V0APMB7",sV0APMB7, medV0APMAlum);
    v0APMB7->SetLineColor(kV0AColorPMA);
    v0APM7->AddNode(v0APMB7,1);
    
    /// PMTubes 
    TGeoTube *sV0APMT17 = new TGeoTube("sV0APMT17", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT17 = new TGeoVolume("V0APMT17", sV0APMT17, medV0APMGlass);
    TGeoTube *sV0APMT27 = new TGeoTube("sV0APMT27", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT27 = new TGeoVolume("V0APMT27", sV0APMT27, medV0APMAlum);
    TGeoVolume *v0APMT7 = new TGeoVolumeAssembly("V0APMT7"); // pk si no choca con la 752 o con la 794
    TGeoTube *sV0APMTT7 = new TGeoTube("sV0APMTT7", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTT7 = new TGeoVolume("V0APMTT7", sV0APMTT7, medV0APMAlum);
    v0APMT7->SetLineColor(kV0AColorPMG);
    v0APMT27->SetLineColor(kV0AColorPMA);
    v0APMTT7->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMT7->AddNode(v0APMT17,1,rot);
    v0APMT7->AddNode(v0APMT27,1,rot);
    v0APMT7->AddNode(v0APMTT7,1,new TGeoCombiTrans(0,(fV0APMTH+fV0APMTB)/2.,0,rot));
    v0APM7->AddNode(v0APMT7, 1, new TGeoTranslation(-1.5*autoShiftSec1, 0, 0));
    v0APM7->AddNode(v0APMT7, 2, new TGeoTranslation(-0.5*autoShiftSec1, 0, 0));
    v0APM7->AddNode(v0APMT7, 3, new TGeoTranslation(+0.5*autoShiftSec1, 0, 0));
    v0APM7->AddNode(v0APMT7, 4, new TGeoTranslation(+1.5*autoShiftSec1, 0, 0));

    /// PM 
    rot = new TGeoRotation("rot");
    rot->RotateX(-90+30);
    rot->RotateY(0);
    rot->RotateZ(65+3);
    double shiftZ7 = fV0APMBHt/2. * cosAngPMBSec1
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMBSec1;
    double shiftR7 = fV0AR6  + fV0AR1 + fV0AOctWd + fV0APlaAl/3.;
    v0ASec7->AddNode(v0APM7,1, new TGeoCombiTrans( shiftR7*cos45+1.3, -shiftR7*sin45, shiftZ7, rot)); 
    
    // Aluminium nail
    TGeoTube *sV0ANail71 = new TGeoTube("sV0ANail71", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail71 = new TGeoVolume("V0ANail71", sV0ANail71, medV0APMAlum);
    v0ANail71->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec7->AddNode(v0ANail71,1,new TGeoTranslation(0.51,-42.9,0.0));
    TGeoTube *sV0ANail72 = new TGeoTube("sV0ANail72", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail72 = new TGeoVolume("V0ANail72", sV0ANail72, medV0APMAlum);
    v0ANail72->SetLineColor(kV0AColorPMA);
    v0ASec7->AddNode(v0ANail72,1,new TGeoTranslation(30.05,-30.79,0.0));  

    // Support
    TGeoBBox *sV0ASuppbr = new TGeoBBox("sV0ASuppbr", 2.0, 18.13, fV0ASciWd/2.);      
    TGeoVolume *v0ASuppbr = new TGeoVolume("V0ASuppbr", sV0ASuppbr, medV0ASup);
    v0ASuppbr->SetLineColor(kV0AColorOct);
    v0ASec7->AddNode(v0ASuppbr,1,new TGeoTranslation(2.0,-63.64,0.0));
    
    // Adding sector to v0LE volume 
    v0LE->AddNode(v0ASec7,1);
    

   //Definition of sector 8
   TGeoVolume *v0ASec8 = new TGeoVolumeAssembly("V0ASec8"); 
  
  /// For boolean sustraction
      double preShape8 = 0.2;
      for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[1+8*i] = -2*preShape8;
      v0APts[2+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[3+8*i] = 0.0;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[5+8*i] = 0.0;
      v0APts[6+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[7+8*i] = -2*preShape8;
    }
    new TGeoArb8("sV0ACha18",fV0ASciWd/1.5,v0APts);
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = (fV0AR0-fV0AFraWd/2.)*sin45-preShape8;
      v0APts[1+8*i] = -(fV0AR0-fV0AFraWd/2.)*sin45;
      v0APts[2+8*i] = fV0AR0*sin45-fV0AFraWd/2.-preShape8;
      v0APts[3+8*i] = -(fV0AR0-fV0AFraWd)*sin45+preShape8;
      v0APts[4+8*i] = (fV0AR4+3*fV0AFraWd/2.)*sin45+preShape8;
      v0APts[5+8*i] = -fV0AR4*sin45-preShape8;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45+preShape8; 
      v0APts[7+8*i] = -(fV0AR4+fV0AFraWd/2.)*sin45-2.*preShape8;
    }
    new TGeoArb8("sV0ACha28", fV0ASciWd/2.+2.*preShape8, v0APts);
    new TGeoCompositeShape("sV0ACha128","sV0ACha18+sV0ACha28");
    new TGeoTube("sV0ANail18Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos18 = new TGeoTranslation("pos18",42.9,-.51,0.0);
    pos18->RegisterYourself();
    new TGeoTube("sV0ANail28Hole", 0.0, 0.4, 1.65);
    TGeoTranslation *pos28 = new TGeoTranslation("pos28",30.8,-30.04,0.0);
    pos28->RegisterYourself();    
    TGeoTranslation *pos38 = new TGeoTranslation("pos38",30.05,-30.79,0.0);  
    pos38->RegisterYourself();
    new TGeoCompositeShape("sV0ANailsHoles8","sV0ANail18Hole:pos18+sV0ANail28Hole:pos28");
    new TGeoCompositeShape("sV0ACha8","sV0ACha128+sV0ANailsHoles8");
    new TGeoTubeSeg("sV0AFicR58", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2. +2*preShape8, 315.0, 360.0);
    new TGeoTube("sV0ANail1PlaInHole8", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaInHole8", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoTube("sV0ANail3PlaInHole8", 0.0, 0.4, (fV0APlaWd-2*fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaInHoles8","sV0ANail1PlaInHole8:pos18+sV0ANail2PlaInHole8:pos28+sV0ANail3PlaInHole8:pos38");
    new TGeoTube("sV0ANail1PlaOuHole8", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail2PlaOuHole8", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoTube("sV0ANail3PlaOuHole8", 0.0, 0.4, (fV0APlaAl)/2.);
    new TGeoCompositeShape("sV0ANailsPlaOuHoles8","sV0ANail1PlaOuHole8:pos18+sV0ANail2PlaOuHole8:pos28+sV0ANail3PlaOuHole8:pos38");
    
    /// Frame 
    TGeoVolume *v0AFra8 = new TGeoVolumeAssembly("V0AFra8"); 
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[1+8*i] = 0.0;
      v0APts[2+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[3+8*i] = 0.0;
      v0APts[4+8*i] = fV0AR4+fV0AFraWd/2.;  v0APts[5+8*i] = -fV0AFraWd/8.;
      v0APts[6+8*i] = fV0AR0-fV0AFraWd/2.;  v0APts[7+8*i] = -fV0AFraWd/8.;
    }    
    TGeoArb8 *sV0AFraB18 = new TGeoArb8("sV0AFraB18",fV0ASciWd/2.,v0APts);
    TGeoVolume *v0AFraB18 = new TGeoVolume("V0AFraB18",sV0AFraB18,medV0AFra);  
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = (fV0AR0-fV0AFraWd/4.)*sin45;
      v0APts[1+8*i] = -(fV0AR0-fV0AFraWd/2.)*sin45; 
      v0APts[2+8*i] = fV0AR0*sin45-fV0AFraWd/2.; 
      v0APts[3+8*i] = -(fV0AR0-fV0AFraWd)*sin45;
      v0APts[4+8*i] = (fV0AR4+3*fV0AFraWd/2.)*sin45/2.;
      v0APts[5+8*i] = -fV0AR4*sin45/2.;
      v0APts[6+8*i] = (fV0AR4+fV0AFraWd)*sin45/2.;
      v0APts[7+8*i] = -(fV0AR4+fV0AFraWd/2.)*sin45/2.;
    }
    TGeoArb8 *sV0AFraB28 = new TGeoArb8("sV0AFraB28", fV0ASciWd/2., v0APts);
    TGeoVolume *v0AFraB28 = new TGeoVolume("V0AFraB28",sV0AFraB28,medV0AFra);
    v0AFraB18->SetLineColor(kV0AColorFra); v0AFraB28->SetLineColor(kV0AColorFra);
    v0AFra8->AddNode(v0AFraB18,1);
    v0AFra8->AddNode(v0AFraB28,1);  // Prefer 2 GeoObjects insted of 3 GeoMovements
    new TGeoTubeSeg( "sV0AFraR1b8", fV0AR0-fV0AFraWd/2.,
		     fV0AR0+fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AFraR2b8", fV0AR1-fV0AFraWd/2.,
		     fV0AR1+fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AFraR3b8", fV0AR2-fV0AFraWd/2.,
		     fV0AR2+fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AFraR4b8", fV0AR3-fV0AFraWd/2.,
		     fV0AR3+fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AFraR5b8", fV0AR4-fV0AFraWd/2.,
		     fV0AR4+fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    TGeoCompositeShape *sV0AFraR18 = new TGeoCompositeShape("sV0AFraR18","sV0AFraR1b8-sV0ACha8");
    TGeoCompositeShape *sV0AFraR28 = new TGeoCompositeShape("sV0AFraR28","sV0AFraR2b8-sV0ACha8");
    TGeoCompositeShape *sV0AFraR38 = new TGeoCompositeShape("sV0AFraR38","sV0AFraR3b8-sV0ACha8");
    TGeoCompositeShape *sV0AFraR48 = new TGeoCompositeShape("sV0AFraR48","sV0AFraR4b8-sV0ACha8");
    TGeoCompositeShape *sV0AFraR58 = new TGeoCompositeShape("sV0AFraR58","sV0AFraR5b8-sV0ACha8");
    TGeoVolume *v0AFraR18 = new TGeoVolume("V0AFraR18",sV0AFraR18,medV0AFra);
    TGeoVolume *v0AFraR28 = new TGeoVolume("V0AFraR28",sV0AFraR28,medV0AFra);
    TGeoVolume *v0AFraR38 = new TGeoVolume("V0AFraR38",sV0AFraR38,medV0AFra);
    TGeoVolume *v0AFraR48 = new TGeoVolume("V0AFraR48",sV0AFraR48,medV0AFra);
    TGeoVolume *v0AFraR58 = new TGeoVolume("V0AFraR58",sV0AFraR58,medV0AFra);
    v0AFraR18->SetLineColor(kV0AColorFra); v0AFraR28->SetLineColor(kV0AColorFra);
    v0AFraR38->SetLineColor(kV0AColorFra); v0AFraR48->SetLineColor(kV0AColorFra);
    v0AFraR58->SetLineColor(kV0AColorFra);
    v0AFra8->AddNode(v0AFraR18,1);
    v0AFra8->AddNode(v0AFraR28,1);
    v0AFra8->AddNode(v0AFraR38,1);
    v0AFra8->AddNode(v0AFraR48,1);
    v0AFra8->AddNode(v0AFraR58,1);
    v0ASec8->AddNode(v0AFra8,1);

    /// Sensitive scintilator
    TGeoVolume *v0ASci8 = new TGeoVolumeAssembly("V0ASci8");
    new TGeoTubeSeg( "sV0AR1b8", fV0AR0+fV0AFraWd/2.,
		     fV0AR1-fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AR2b8", fV0AR1+fV0AFraWd/2.,
		     fV0AR2-fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AR3b8", fV0AR2+fV0AFraWd/2.,
		     fV0AR3-fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    new TGeoTubeSeg( "sV0AR4b8", fV0AR3+fV0AFraWd/2.,
		     fV0AR4-fV0AFraWd/2., fV0ASciWd/2., 315.0, 360.0);
    TGeoCompositeShape *sV0AR18 = new TGeoCompositeShape("sV0AR18","sV0AR1b8-sV0ACha8");
    TGeoCompositeShape *sV0AR28 = new TGeoCompositeShape("sV0AR28","sV0AR2b8-sV0ACha8");
    TGeoCompositeShape *sV0AR38 = new TGeoCompositeShape("sV0AR38","sV0AR3b8-sV0ACha8");
    TGeoCompositeShape *sV0AR48 = new TGeoCompositeShape("sV0AR48","sV0AR4b8-sV0ACha8");
    TGeoVolume *v0L18 = new TGeoVolume("V0L18",sV0AR18,medV0ASci);
    TGeoVolume *v0L28 = new TGeoVolume("V0L28",sV0AR28,medV0ASci);
    TGeoVolume *v0L38 = new TGeoVolume("V0L38",sV0AR38,medV0ASci);
    TGeoVolume *v0L48 = new TGeoVolume("V0L48",sV0AR48,medV0ASci);
    v0L18->SetLineColor(kV0AColorSci); v0L28->SetLineColor(kV0AColorSci);
    v0L38->SetLineColor(kV0AColorSci); v0L48->SetLineColor(kV0AColorSci);
    v0ASci8->AddNode(v0L18,1);
    v0ASci8->AddNode(v0L28,1);
    v0ASci8->AddNode(v0L38,1);
    v0ASci8->AddNode(v0L48,1); 

    /// Segment of octagon   
    for (int i=0;i<2;i++) {
    v0APts[0+8*i] = fV0AR6;	                 v0APts[1+8*i] = 0.;
    v0APts[2+8*i] = fV0AR7*cos654;               v0APts[3+8*i] = -fV0AR7*sin654;
    v0APts[4+8*i] = (fV0AR7-fV0AOctH2)*cos654;   v0APts[5+8*i] = -(fV0AR7-fV0AOctH2)*sin654;
    v0APts[6+8*i] = fV0AR6-fV0AOctH2;		 v0APts[7+8*i] = 0.;
    }
    new TGeoArb8("sV0AOct28", (fV0ASciWd+2*fV0AOctWd)/2., v0APts);
    TGeoCompositeShape *sV0AOct2FEEB8 = new TGeoCompositeShape("sV0AOct2FEEB8","sV0AOct28-sV0AFicFEEBSec1:posFicFEEBSec1-sV0AFicOct2Sec1:posFicOct2Sec1");
    TGeoVolume *v0AOct28 = new TGeoVolume("V0AOct28", sV0AOct2FEEB8,medV0ASup);
    v0AOct28->SetLineColor(kV0AColorOct);
    TGeoVolume *v0ASup8 = new TGeoVolumeAssembly("V0ASup8");
    v0ASup8->AddNode(v0AOct28,1);
    v0ASec8->AddNode(v0ASup8,1);

    //Bunch of fibers
    v0APts[ 0] = v0APts[ 2] = -14.0;
    v0APts[ 1] = v0APts[ 7] = (fV0ASciWd+fV0AOctWd)/2.-0.01;
    v0APts[ 3] = v0APts[ 5] = (fV0ASciWd+fV0AOctWd)/2.+0.01;
    v0APts[ 4] = v0APts[ 6] = +14.0;
    v0APts[ 8] = v0APts[10] = -10.0;
    v0APts[ 9] = v0APts[15] = 0.;
    v0APts[11] = v0APts[13] = 0.25;
    v0APts[12] = v0APts[14] = +10.0;
    new TGeoArb8("sV0AFib18", 11.8, v0APts); 
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateZ(-90-22.5);
    TGeoCombiTrans *fib18pos = new TGeoCombiTrans("fib18pos", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.3, -(fV0AR6-fV0AOctH2+fV0AR5)*sin225/2. + 1.5, 0, rot);
    fib18pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib18Hole = new TGeoCompositeShape("sV0AFib18Hole", "sV0AFib18:fib18pos-sV0AFicR58");
    TGeoVolume *v0AFib18Hole = new TGeoVolume("V0AFib18",sV0AFib18Hole,medV0AFib);
    v0AFib18Hole->SetLineColor(kV0AColorFib);
    new TGeoArb8("sV0AFib28", 11.8, v0APts);
    rot = new TGeoRotation("rot");
    rot->RotateX(-90);
    rot->RotateY(180);
    rot->RotateZ(-90-22.5);
    TGeoCombiTrans *fib28pos = new TGeoCombiTrans("fib28pos", (fV0AR6-fV0AOctH2+fV0AR5)*cos225/2. - 3.3, -(fV0AR6-fV0AOctH2+fV0AR5)*sin225/2. + 1.5, 0, rot);
    fib28pos->RegisterYourself();
    TGeoCompositeShape *sV0AFib28Hole = new TGeoCompositeShape("sV0AFib28Hole", "sV0AFib28:fib28pos-sV0AFicR58");
    TGeoVolume *v0AFib28Hole = new TGeoVolume("V0AFib28Hole",sV0AFib28Hole,medV0AFib);
    v0AFib28Hole->SetLineColor(kV0AColorFib);
    TGeoVolume *v0AFib8 = new TGeoVolumeAssembly("V0AFib8");    
    v0AFib8->AddNode(v0AFib18Hole,1);
    v0AFib8->AddNode(v0AFib28Hole,1);
    v0ASec8->AddNode(v0AFib8,1);
             
    /// Non-sensitive scintilator   
    new TGeoTubeSeg("sV0AR5S28", fV0AR4+fV0AFraWd/2., fV0AR4 + fV0AR0, fV0ASciWd/2.+2*preShape8, 315.0, 360.0);
    TGeoCompositeShape *sV0AR58 = new TGeoCompositeShape("V0AR58","sV0AR5S28 - sV0ACha8");
    TGeoVolume *v0AR58 = new TGeoVolume("V0AR58",sV0AR58,medV0ASci);
    v0AR58->SetLineColor(kV0AColorSci);
    v0ASci8->AddNode(v0AR58,1);
    v0ASec8->AddNode(v0ASci8,1); 
    
    /// Plates
    for (int i=0;i<2;i++) {
      v0APts[0+8*i] = fV0AR0;			v0APts[1+8*i] = 0.;
      v0APts[2+8*i] = fV0AR6;   		v0APts[3+8*i] = 0.;
      v0APts[4+8*i] = fV0AR7*cos654;    	v0APts[5+8*i] = -fV0AR7*sin654;
      v0APts[6+8*i] = fV0AR0*cos654;  		v0APts[7+8*i] = -fV0AR0*sin654;
    }
    new TGeoArb8("sV0APlaIn8", (fV0APlaWd-2*fV0APlaAl)/2., v0APts);
    TGeoCompositeShape *sV0APlaInNailsHoles8 = new TGeoCompositeShape("sV0APlaInNailsHoles8","sV0APlaIn8-sV0ANailsPlaInHoles8-sV0AFicFEEBSec1:posFicFEEBSec1");
    TGeoVolume *v0APlaInNailsHoles8 = new TGeoVolume("V0APlaInNailsHoles8", sV0APlaInNailsHoles8, medV0APlaIn);
    new TGeoArb8("sV0APlaOu8", fV0APlaAl/2., v0APts);
    TGeoCompositeShape *sV0APlaOuNailsHoles8 = new TGeoCompositeShape("sV0APlaOuNailsHoles8","sV0APlaOu8-sV0ANailsPlaOuHoles8-sV0AFicFEEBSec1:posFicFEEBSec1"); 
    TGeoVolume *v0APlaOuNailsHoles8 = new TGeoVolume("V0APlaOuNailsHoles8", sV0APlaOuNailsHoles8, medV0APlaOu);
    v0APlaInNailsHoles8->SetLineColor(kV0AColorPlaIn); v0APlaOuNailsHoles8->SetLineColor(kV0AColorPlaOu);
    TGeoVolume *v0APla8 = new TGeoVolumeAssembly("V0APla8");
    v0APla8->AddNode(v0APlaInNailsHoles8,1);
    v0APla8->AddNode(v0APlaOuNailsHoles8,1,new TGeoTranslation(0,0,(fV0APlaWd-fV0APlaAl)/2.));
    v0APla8->AddNode(v0APlaOuNailsHoles8,2,new TGeoTranslation(0,0,-(fV0APlaWd-fV0APlaAl)/2.));
    v0ASec8->AddNode(v0APla8,1,new TGeoTranslation(0,0,(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));
    v0ASec8->AddNode(v0APla8,2,new TGeoTranslation(0,0,-(fV0ASciWd+2*fV0AOctWd+fV0APlaWd)/2.));

    /// PMBox 
    TGeoVolume* v0APM8 = new TGeoVolumeAssembly("V0APM1");
    new TGeoBBox("sV0APMB18", fV0APMBWd/2., fV0APMBHt/2., fV0APMBTh/2.);
    new TGeoBBox("sV0APMB28", fV0APMBWd/2.-fV0APMBWdW, fV0APMBHt/2.-fV0APMBHtW, fV0APMBTh/2.-fV0APMBThW);
    TGeoCompositeShape *sV0APMB8 = new TGeoCompositeShape("sV0APMB8","sV0APMB18-sV0APMB28");
    TGeoVolume *v0APMB8 = new TGeoVolume("V0APMB8",sV0APMB8, medV0APMAlum);
    v0APMB8->SetLineColor(kV0AColorPMA);
    v0APM8->AddNode(v0APMB8,1);

    /// PMTubes 
    TGeoTube *sV0APMT18 = new TGeoTube("sV0APMT18", fV0APMTR1, fV0APMTR2, fV0APMTH/2.);
    TGeoVolume *v0APMT18 = new TGeoVolume("V0APMT18", sV0APMT18, medV0APMGlass);
    TGeoTube *sV0APMT28 = new TGeoTube("sV0APMT28", fV0APMTR3, fV0APMTR4, fV0APMTH/2.);
    TGeoVolume *v0APMT28 = new TGeoVolume("V0APMT28", sV0APMT28, medV0APMAlum);
    TGeoVolume *v0APMT8 = new TGeoVolumeAssembly("V0APMT8");
    TGeoTube *sV0APMTT8 = new TGeoTube("sV0APMTT8", 0., fV0APMTR4, fV0APMTB/2.);
    TGeoVolume *v0APMTT8 = new TGeoVolume("V0APMTT8", sV0APMTT8, medV0APMAlum);
    v0APMT8->SetLineColor(kV0AColorPMG);
    v0APMT28->SetLineColor(kV0AColorPMA);
    v0APMTT8->SetLineColor(kV0AColorPMA);
    rot = new TGeoRotation("rot", 90, 0, 180, 0, 90, 90);
    v0APMT8->AddNode(v0APMT18,1,rot);
    v0APMT8->AddNode(v0APMT28,1,rot);
    v0APMT8->AddNode(v0APMTT8,1,new TGeoCombiTrans(0,(fV0APMTH+fV0APMTB)/2.,0,rot));
    double autoShift8 = (fV0APMBWd-2*fV0APMBWdW)/4.;
    v0APM8->AddNode(v0APMT8, 1, new TGeoTranslation(-1.5*autoShift8, 0, 0));
    v0APM8->AddNode(v0APMT8, 2, new TGeoTranslation(-0.5*autoShift8, 0, 0));
    v0APM8->AddNode(v0APMT8, 3, new TGeoTranslation(+0.5*autoShift8, 0, 0));
    v0APM8->AddNode(v0APMT8, 4, new TGeoTranslation(+1.5*autoShift8, 0, 0));

    /// PM 
    rot = new TGeoRotation("rot");
    rot->RotateX(-90+30);
    rot->RotateY(0);
    rot->RotateZ(65+3);
    double shiftZ8 = fV0APMBHt/2. * cosAngPMBSec1
      -   ( fV0ASciWd + 2 * fV0AOctWd + 2 * fV0APlaWd )/2.   -   fV0APMBTh/2. * sinAngPMBSec1;
    double shiftR8 = fV0AR6  +  fV0AOctH2 + fV0APlaAl;
    v0ASec8->AddNode(v0APM8,1, new TGeoCombiTrans( shiftR8*cos225 + 1.3, -shiftR8*sin225, shiftZ8, rot));

    // Aluminium nails
    TGeoTube *sV0ANail81 = new TGeoTube("sV0ANail81", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail81 = new TGeoVolume("V0ANail81", sV0ANail81, medV0APMAlum);
    v0ANail81->SetLineColor(kV0AColorPMA);// this is the color for aluminium
    v0ASec8->AddNode(v0ANail81,1,new TGeoTranslation(42.9,-.51,0.0));
    TGeoTube *sV0ANail82 = new TGeoTube("sV0ANail82", 0.0, 0.4, 5.09/2.);
    TGeoVolume *v0ANail82 = new TGeoVolume("V0ANail82", sV0ANail82, medV0APMAlum); 
    v0ANail82->SetLineColor(kV0AColorPMA);
    v0ASec8->AddNode(v0ANail82,1,new TGeoTranslation(30.8,-30.04,0.0));  
      
    // Adding sector to v0LE volume 
    v0LE->AddNode(v0ASec8, 1);    
      
    // Adding detectors to top volume
    TGeoVolume *vZERO = new TGeoVolumeAssembly("VZERO");
    vZERO->AddNode(v0RI,1,new TGeoTranslation(0, 0, -zdet));
    vZERO->AddNode(v0LE,1,new TGeoTranslation(0, 0, +329.0));
    top->AddNode(vZERO,1);
}

//_____________________________________________________________________________
void AliVZEROv7::AddAlignableVolumes() const
{
  //
  // Create entries for alignable volumes associating the symbolic volume
  // name with the corresponding volume path. Needs to be syncronized with
  // eventual changes in the geometry.
  // 
  TString vpC = "/ALIC_1/VZERO_1/V0RI_1";
  TString vpA = "/ALIC_1/VZERO_1/V0LE_1";
  TString snC = "VZERO/V0C";
  TString snA = "VZERO/V0A";
  
  if(!gGeoManager->SetAlignableEntry(snC.Data(),vpC.Data()))
    AliFatal(Form("Alignable entry %s not created. Volume path %s not valid", snC.Data(),vpC.Data()));
  if(!gGeoManager->SetAlignableEntry(snA.Data(),vpA.Data()))
    AliFatal(Form("Alignable entry %s not created. Volume path %s not valid", snA.Data(),vpA.Data()));

} 

//_____________________________________________________________________________
void AliVZEROv7::CreateMaterials()
{

// Creates materials used for geometry 

  AliDebug(2,"Create materials");
  // Parameters for simulation scope
  Int_t     fieldType       = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ();     // Field type 
  Double_t  maxField        = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max();       // Field max.
  Double_t  maxBending      = 10;    // Max Angle
  Double_t  maxStepSize     = 0.01;  // Max step size 
  Double_t  maxEnergyLoss   = 1;     // Max Delta E
  Double_t  precision       = 0.003; // Precision
  Double_t  minStepSize     = 0.003; // Minimum step size 

  Int_t    id;
  Double_t a, z, radLength, absLength;
  Float_t density, as[4], zs[4], ws[4];

// Parameters  for V0CPrePlates: Aluminium
   a = 26.98; 
   z = 13.00;
   density     = 2.7;
   radLength   = 8.9;
   absLength   = 37.2;
   id = 2;
   AliMaterial( id, "V0CAlu", a, z, density, radLength, absLength, 0, 0);
   AliMedium(id, "V0CAlu", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);
		    
// Parameters  for V0CPlates: Carbon 
   a = 12.01; 
   z =  6.00;
   density   = 2.265;
   radLength = 18.8;
   absLength = 49.9;
   id = 3;
   AliMaterial(id, "V0CCar",  a, z, density, radLength, absLength, 0, 0);
   AliMedium(id, "V0CCar", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);
	    
// Parameters  for V0Cscintillator: BC408
   as[0] = 1.00794;	as[1] = 12.011;
   zs[0] = 1.;		zs[1] = 6.;
   ws[0] = 1.;	        ws[1] = 1.;
   density      = 1.032;
   id           = 4;
   AliMixture(id, "V0CSci", as, zs, density, -2, ws);
   AliMedium(id,"V0CSci", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0Ascintilator: BC404
   as[0] = 1.00794;	as[1] = 12.011;
   zs[0] = 1.;		zs[1] = 6.;
   ws[0] = 5.21;	ws[1] = 4.74;
   density      = 1.032;
   id           = 5;
   AliMixture(id, "V0ASci", as, zs, density, -2, ws);
   AliMedium(id,  "V0ASci", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0ALuc: Lucita but for the simulation BC404
   as[0] = 1.00794;	as[1] = 12.011;
   zs[0] = 1.;		zs[1] = 6.;
   ws[0] = 5.21;	ws[1] = 4.74;
   density      = 1.032;
   id           = 6;
   AliMixture(id, "V0ALuc", as, zs, density, -2, ws);
   AliMedium(id, "V0ALuc", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0Aplate: EuroComposite - EC-PI 626 PS - AlMg3
   as[0] = 26.982;	as[1] = 24.305;
   zs[0] = 13.;		zs[1] = 12.;
   ws[0] = 1.;		ws[1] = 3.;
   density      = 3.034;
   id           = 7;
   AliMixture(id, "V0APlaOu", as, zs, density, -2, ws);
   AliMedium(id, "V0APlaOu", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0Aplate: EuroComposite - EC-PI 626 PS - EC-PI 6.4-42
   as[0] = 1.00794;	as[1] = 12.011;
   zs[0] = 1.;		zs[1] = 6.;
   ws[0] = 5.21;	ws[1] = 4.74;
   density      = 0.042;
   id           = 8;
   AliMixture(id, "V0APlaIn", as, zs, density, -2, ws);
   AliMedium(id, "V0APlaIn", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0Afiber: BC9929AMC Plastic Scintillating Fiber from Saint-Gobain
   as[0] = 1.00794;	as[1] = 12.011;
   zs[0] = 1.;		zs[1] = 6.;
   ws[0] = 4.82;	ws[1] = 4.85;
   density      = 1.05;
   id           = 9;
   AliMixture(id, "V0AFib", as, zs, density, -2, ws);
   AliMedium(id, "V0AFib", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0APMA: Aluminium
   a = 26.98; 
   z = 13.00;
   density     = 2.7;
   radLength   = 8.9;
   absLength   = 37.2;
   id = 10;
   AliMaterial(id, "V0APMA",  a, z, density, radLength, absLength, 0, 0);
   AliMedium(id, "V0APMA", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0APMG: Glass for the simulation Aluminium
   a = 26.98; 
   z = 13.00;
   density   = 2.7;
   radLength = 8.9;
   absLength = 37.2;
   id = 11;
   AliMaterial(id, "V0APMG",  a, z, density, radLength, absLength, 0, 0);
   AliMedium(id, "V0APMG", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize);

// Parameters for V0AFiberGlass: Material for mother and daughter boards
   as[0] = 1.00794;	as[1] = 12.011;       as[2] = 16.0;	     as[3] = 28.09;
   zs[0] = 1.;		zs[1] = 6.;           zs[2] = 8.;	     zs[3] = 14.;
   ws[0] = 736.0;	ws[1] = 462.0;        ws[2] = 292.0;	     ws[3] = 68.0;
   density      = 1.9;
   id           = 12;
   AliMixture(id, "V0AFibGlass", as, zs, density, -4, ws);
   AliMedium(id, "V0AFibGlass", id, 1, fieldType, maxField, maxBending, maxStepSize,
	     maxEnergyLoss, precision, minStepSize); 
   
}

//_____________________________________________________________________________
void AliVZEROv7::DrawGeometry() 
{
//  Drawing of V0 geometry done in DrawV0.C

   AliDebug(2,"DrawGeometry");
}

//_____________________________________________________________________________
void AliVZEROv7::Init()
{
// Initialises version of the VZERO Detector given in Config
// Just prints an information message

//   AliInfo(Form("VZERO version %d initialized \n",IsVersion()));
   
   AliDebug(1,"VZERO version 7 initialized");
   AliVZERO::Init();  
}

//_____________________________________________________________________________
void AliVZEROv7::StepManager()
{
// Step Manager, called at each step  

  Int_t     copy;
  static    Int_t   vol[4];
  static    Float_t hits[21];
  static    Float_t eloss, tlength;
  static    Int_t   nPhotonsInStep = 0;
  static    Int_t   nPhotons = 0; 
  static    Int_t   numStep = 0;
  Int_t     ringNumber;
  Float_t   destep, step;
  numStep += 1; 

  //   We keep only charged tracks : 
  if ( !TVirtualMC::GetMC()->TrackCharge() || !TVirtualMC::GetMC()->IsTrackAlive() ) return;

  vol[0]    = TVirtualMC::GetMC()->CurrentVolOffID(1, vol[1]);
  vol[2]    = TVirtualMC::GetMC()->CurrentVolID(copy);
  vol[3]    = copy;
  static Int_t idV0R1 = TVirtualMC::GetMC()->VolId("V0R1");

  static Int_t idV0L11 = TVirtualMC::GetMC()->VolId("V0L1Sec1");
  static Int_t idV0L12 = TVirtualMC::GetMC()->VolId("V0L1Sec2");
  static Int_t idV0L13 = TVirtualMC::GetMC()->VolId("V0L1Sec3");
  static Int_t idV0L14 = TVirtualMC::GetMC()->VolId("V0L1Sec4");
  static Int_t idV0L15 = TVirtualMC::GetMC()->VolId("V0L15");
  static Int_t idV0L16 = TVirtualMC::GetMC()->VolId("V0L16");
  static Int_t idV0L17 = TVirtualMC::GetMC()->VolId("V0L17");
  static Int_t idV0L18 = TVirtualMC::GetMC()->VolId("V0L18");  
  static Int_t idV0R2 = TVirtualMC::GetMC()->VolId("V0R2");

  static Int_t idV0L21 = TVirtualMC::GetMC()->VolId("V0L2Sec1");
  static Int_t idV0L22 = TVirtualMC::GetMC()->VolId("V0L2Sec2");
  static Int_t idV0L23 = TVirtualMC::GetMC()->VolId("V0L2Sec3");
  static Int_t idV0L24 = TVirtualMC::GetMC()->VolId("V0L2Sec4");
  static Int_t idV0L25 = TVirtualMC::GetMC()->VolId("V0L25");
  static Int_t idV0L26 = TVirtualMC::GetMC()->VolId("V0L26");
  static Int_t idV0L27 = TVirtualMC::GetMC()->VolId("V0L27");
  static Int_t idV0L28 = TVirtualMC::GetMC()->VolId("V0L28");
  static Int_t idV0R3 = TVirtualMC::GetMC()->VolId("V0R3");

  static Int_t idV0L31 = TVirtualMC::GetMC()->VolId("V0L3Sec1");
  static Int_t idV0L32 = TVirtualMC::GetMC()->VolId("V0L3Sec2");
  static Int_t idV0L33 = TVirtualMC::GetMC()->VolId("V0L3Sec3");
  static Int_t idV0L34 = TVirtualMC::GetMC()->VolId("V0L3Sec4");
  static Int_t idV0L35 = TVirtualMC::GetMC()->VolId("V0L35");
  static Int_t idV0L36 = TVirtualMC::GetMC()->VolId("V0L36");
  static Int_t idV0L37 = TVirtualMC::GetMC()->VolId("V0L37");
  static Int_t idV0L38 = TVirtualMC::GetMC()->VolId("V0L38");
  static Int_t idV0R4 = TVirtualMC::GetMC()->VolId("V0R4");

  static Int_t idV0L41 = TVirtualMC::GetMC()->VolId("V0L4Sec1");
  static Int_t idV0L42 = TVirtualMC::GetMC()->VolId("V0L4Sec2");
  static Int_t idV0L43 = TVirtualMC::GetMC()->VolId("V0L4Sec3");
  static Int_t idV0L44 = TVirtualMC::GetMC()->VolId("V0L4Sec4");
  static Int_t idV0L45 = TVirtualMC::GetMC()->VolId("V0L45");
  static Int_t idV0L46 = TVirtualMC::GetMC()->VolId("V0L46");
  static Int_t idV0L47 = TVirtualMC::GetMC()->VolId("V0L47");
  static Int_t idV0L48 = TVirtualMC::GetMC()->VolId("V0L48");
  static Int_t idV0R5 = TVirtualMC::GetMC()->VolId("V0R5");
  static Int_t idV0R6 = TVirtualMC::GetMC()->VolId("V0R6");
  bool   hitOnV0C = true;
  double lightYield;
  double lightAttenuation;
  double nMeters; 
  double fibToPhot;
  if      ( TVirtualMC::GetMC()->CurrentVolID(copy) == idV0R1   || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L11  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L12  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L13  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L14  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L15  ||  
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L16  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L17  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L18  
      )
      ringNumber = 1;
  
  else if ( TVirtualMC::GetMC()->CurrentVolID(copy) == idV0R2  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L21 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L22 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L23 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L24 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L25 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L26 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L27 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L28 
      )
      ringNumber = 2; 
  
  else if ( TVirtualMC::GetMC()->CurrentVolID(copy) == idV0R3  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0R4  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L31 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L32 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L33 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L34 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L35 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L36 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L37 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L38 
      ) 
      ringNumber = 3;
  else if ( TVirtualMC::GetMC()->CurrentVolID(copy) == idV0R5  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0R6  || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L41 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L42 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L43 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L44 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L45 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L46 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L47 || 
	    TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L48 
      ) ringNumber = 4;	       
  
  else ringNumber = 0;
  
  if  (ringNumber) {
      if (
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L11 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L12 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L13 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L14 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L15 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L16 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L17 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L18 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L21 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L22 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L23 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L24 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L25 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L26 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L27 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L28 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L31 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L32 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L33 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L34 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L35 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L36 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L37 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L38 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L41 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L42 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L43 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L44 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L45 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L46 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L47 || 
	  TVirtualMC::GetMC()->CurrentVolID(copy) == idV0L48
	  )
	  hitOnV0C = false;

    destep = TVirtualMC::GetMC()->Edep();
    step   = TVirtualMC::GetMC()->TrackStep();
    if (hitOnV0C) {
      lightYield = fV0CLightYield;
      lightAttenuation = fV0CLightAttenuation;
      nMeters = fV0CnMeters;
      fibToPhot = fV0CFibToPhot;
    } else {
      lightYield = fV0ALightYield;
      lightAttenuation = fV0ALightAttenuation;
      nMeters = fV0AnMeters;
      fibToPhot = fV0AFibToPhot;
    }
    nPhotonsInStep  = Int_t(destep / (lightYield *1e-9) );	
    nPhotonsInStep  = gRandom->Poisson(nPhotonsInStep);
    eloss    += destep;
    tlength  += step; 	 
    if ( TVirtualMC::GetMC()->IsTrackEntering() ) { 
      nPhotons  =  nPhotonsInStep;
      TVirtualMC::GetMC()->TrackPosition(fTrackPosition);
      TVirtualMC::GetMC()->TrackMomentum(fTrackMomentum);
      Float_t pt  = TMath::Sqrt( fTrackMomentum.Px() * fTrackMomentum.Px()
				 + fTrackMomentum.Py() * fTrackMomentum.Py() );
      TParticle *par = gAlice->GetMCApp()->Particle(gAlice->GetMCApp()->GetCurrentTrackNumber());
      hits[0]  = fTrackPosition.X();
      hits[1]  = fTrackPosition.Y();
      hits[2]  = fTrackPosition.Z();	 	 
      hits[3]  = Float_t (TVirtualMC::GetMC()->TrackPid()); 
      hits[4]  = TVirtualMC::GetMC()->TrackTime();
      hits[5]  = TVirtualMC::GetMC()->TrackCharge();
      hits[6]  = fTrackMomentum.Theta()*TMath::RadToDeg();
      hits[7]  = fTrackMomentum.Phi()*TMath::RadToDeg();
      hits[8]  = ringNumber;
      hits[9]  = pt;
      hits[10] = fTrackMomentum.P();
      hits[11] = fTrackMomentum.Px();
      hits[12] = fTrackMomentum.Py();
      hits[13] = fTrackMomentum.Pz();
      hits[14] = par->Vx();
      hits[15] = par->Vy();
      hits[16] = par->Vz();
      tlength  = 0.0;
      eloss    = 0.0;	    

      //////////////////////////
      ///// Display V0A geometry
      //      if (!hitOnV0C) {
      //      	FILE *of;
      //      	of = fopen("V0A.out", "a");
      //      	// x, y, z, ringnumber, cellid
      //      	fprintf( of, "%f %f %f %f %d \n",  hits[0], hits[1], hits[2], hits[8], GetCellId (vol, hits) );
      //      	fclose(of);
      //      }
      //////////////////////////
    }
    nPhotons  = nPhotons + nPhotonsInStep;
    if( TVirtualMC::GetMC()->IsTrackExiting() || TVirtualMC::GetMC()->IsTrackStop() || TVirtualMC::GetMC()->IsTrackDisappeared()){
      nPhotons = nPhotons - Int_t((Float_t(nPhotons) * lightAttenuation * nMeters));
      nPhotons = nPhotons - Int_t( Float_t(nPhotons) * fibToPhot);
      hits[17] = eloss;
      hits[18] = tlength;
      hits[19] = nPhotons;
      hits[20] = GetCellId (vol, hits);
      AddHit(gAlice->GetMCApp()->GetCurrentTrackNumber(), vol, hits);
      tlength         = 0.0;
      eloss           = 0.0; 
      nPhotons        = 0;
      nPhotonsInStep  = 0;
      numStep         = 0;  
    }
    if( TVirtualMC::GetMC()->IsTrackEntering() || TVirtualMC::GetMC()->IsTrackExiting() ) {
      AddTrackReference(gAlice->GetMCApp()->GetCurrentTrackNumber(), AliTrackReference::kVZERO);
    }
  }
}

//_____________________________________________________________________________
void AliVZEROv7::AddHit(Int_t track, Int_t *vol, Float_t *hits)
{
//  Adds a VZERO hit

  TClonesArray &lhits = *fHits;
  new(lhits[fNhits++]) AliVZEROhit(fIshunt,track,vol,hits);
}

//_____________________________________________________________________________
void AliVZEROv7::MakeBranch(Option_t *option)
{
// Creates new branches in the current Root Tree
    
  TString branchname(Form("%s",GetName()));
  AliDebug(2,Form("fBufferSize = %d",fBufferSize));
  const char *cH = strstr(option,"H");
  if (fHits   && fLoader->TreeH() && cH) {
    fLoader->TreeH()->Branch(branchname.Data(),&fHits, fBufferSize);
    AliDebug(2,Form("Making Branch %s for hits",branchname.Data()));
  }     
  const char *cD = strstr(option,"D");
  if (fDigits   && fLoader->TreeD() && cD) {
    fLoader->TreeD()->Branch(branchname.Data(),&fDigits, fBufferSize);
    AliDebug(2,Form("Making Branch %s for digits",branchname.Data()));
  }  
}

//_____________________________________________________________________________
Int_t AliVZEROv7::GetCellId(Int_t *vol, Float_t *hits) 
{
  //   Returns Id of scintillator cell
  //   Right side from  0 to 47 
  //   Left  side from 48 to 79
  //   hits[8] = ring number (1 to 4)
  //   vol[1]  = copy number (1 to 8)

  Int_t index      = vol[1];
  Int_t ringNumber = Int_t(hits[8]);
  fCellId          = 0;

  Float_t phi = Float_t(TMath::ATan2(Double_t(hits[1]),Double_t(hits[0])) ); 
  Float_t kRaddeg = 180.0/TMath::Pi();
  phi = kRaddeg * phi;

  if (index < 7) index = index + 8;

  if (hits[2] < 0.0) {
    if(ringNumber < 3) {
      index = (index - 7) + ( ( ringNumber - 1 ) * 8);
    } else if (ringNumber >= 3) { 
      if ( TVirtualMC::GetMC()->CurrentVolID(vol[1]) == TVirtualMC::GetMC()->VolId("V0R3") || TVirtualMC::GetMC()->CurrentVolID(vol[1])
	   == TVirtualMC::GetMC()->VolId("V0R5") )  index = (index*2-14)+((ringNumber-2)*16);
      if ( TVirtualMC::GetMC()->CurrentVolID(vol[1]) == TVirtualMC::GetMC()->VolId("V0R4") || TVirtualMC::GetMC()->CurrentVolID(vol[1])
	   == TVirtualMC::GetMC()->VolId("V0R6") )  index = (index*2-13)+((ringNumber-2)*16);
    }
    fCellId   = index;           
  } else if (hits[2] > 0.0) {
    //    cout << " vol[0] = " << vol[0] << " copy : " << vol[1] 
    //	 << " called " << TVirtualMC::GetMC()->VolName(vol[0]) << endl;
    // cout << " vol[2] = " << vol[2] << " copy : " << vol[3] 
    //	 << " called " << TVirtualMC::GetMC()->VolName(vol[2]) << endl;
    // upper half

      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L1Sec1")) fCellId =  47 + 1;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L1Sec2")) fCellId =  47 + 2;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L1Sec3")) fCellId =  47 + 3;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L1Sec4")) fCellId =  47 + 4;

      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L2Sec1")) fCellId =  47 +  9;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L2Sec2")) fCellId =  47 + 10;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L2Sec3")) fCellId =  47 + 11;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L2Sec4")) fCellId =  47 + 12;

      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L3Sec1")) fCellId =  47 + 17;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L3Sec2")) fCellId =  47 + 18;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L3Sec3")) fCellId =  47 + 19;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L3Sec4")) fCellId =  47 + 20;

      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L4Sec1")) fCellId =  47 + 25;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L4Sec2")) fCellId =  47 + 26;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L4Sec3")) fCellId =  47 + 27;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L4Sec4")) fCellId =  47 + 28;

    // lower half 
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L15")) fCellId = 48+4;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L16")) fCellId = 48+5;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L17")) fCellId = 48+6;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L18")) fCellId = 48+7;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L25")) fCellId = 8+48+4;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L26")) fCellId = 8+48+5;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L27")) fCellId = 8+48+6;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L28")) fCellId = 8+48+7;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L35")) fCellId = 16+48+4;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L36")) fCellId = 16+48+5;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L37")) fCellId = 16+48+6;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L38")) fCellId = 16+48+7;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L45")) fCellId = 24+48+4;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L46")) fCellId = 24+48+5;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L47")) fCellId = 24+48+6;
      if (TVirtualMC::GetMC()->CurrentVolID(vol[2]) == TVirtualMC::GetMC()->VolId("V0L48")) fCellId = 24+48+7;
  }

  return fCellId;
}

 AliVZEROv7.cxx:1
 AliVZEROv7.cxx:2
 AliVZEROv7.cxx:3
 AliVZEROv7.cxx:4
 AliVZEROv7.cxx:5
 AliVZEROv7.cxx:6
 AliVZEROv7.cxx:7
 AliVZEROv7.cxx:8
 AliVZEROv7.cxx:9
 AliVZEROv7.cxx:10
 AliVZEROv7.cxx:11
 AliVZEROv7.cxx:12
 AliVZEROv7.cxx:13
 AliVZEROv7.cxx:14
 AliVZEROv7.cxx:15
 AliVZEROv7.cxx:16
 AliVZEROv7.cxx:17
 AliVZEROv7.cxx:18
 AliVZEROv7.cxx:19
 AliVZEROv7.cxx:20
 AliVZEROv7.cxx:21
 AliVZEROv7.cxx:22
 AliVZEROv7.cxx:23
 AliVZEROv7.cxx:24
 AliVZEROv7.cxx:25
 AliVZEROv7.cxx:26
 AliVZEROv7.cxx:27
 AliVZEROv7.cxx:28
 AliVZEROv7.cxx:29
 AliVZEROv7.cxx:30
 AliVZEROv7.cxx:31
 AliVZEROv7.cxx:32
 AliVZEROv7.cxx:33
 AliVZEROv7.cxx:34
 AliVZEROv7.cxx:35
 AliVZEROv7.cxx:36
 AliVZEROv7.cxx:37
 AliVZEROv7.cxx:38
 AliVZEROv7.cxx:39
 AliVZEROv7.cxx:40
 AliVZEROv7.cxx:41
 AliVZEROv7.cxx:42
 AliVZEROv7.cxx:43
 AliVZEROv7.cxx:44
 AliVZEROv7.cxx:45
 AliVZEROv7.cxx:46
 AliVZEROv7.cxx:47
 AliVZEROv7.cxx:48
 AliVZEROv7.cxx:49
 AliVZEROv7.cxx:50
 AliVZEROv7.cxx:51
 AliVZEROv7.cxx:52
 AliVZEROv7.cxx:53
 AliVZEROv7.cxx:54
 AliVZEROv7.cxx:55
 AliVZEROv7.cxx:56
 AliVZEROv7.cxx:57
 AliVZEROv7.cxx:58
 AliVZEROv7.cxx:59
 AliVZEROv7.cxx:60
 AliVZEROv7.cxx:61
 AliVZEROv7.cxx:62
 AliVZEROv7.cxx:63
 AliVZEROv7.cxx:64
 AliVZEROv7.cxx:65
 AliVZEROv7.cxx:66
 AliVZEROv7.cxx:67
 AliVZEROv7.cxx:68
 AliVZEROv7.cxx:69
 AliVZEROv7.cxx:70
 AliVZEROv7.cxx:71
 AliVZEROv7.cxx:72
 AliVZEROv7.cxx:73
 AliVZEROv7.cxx:74
 AliVZEROv7.cxx:75
 AliVZEROv7.cxx:76
 AliVZEROv7.cxx:77
 AliVZEROv7.cxx:78
 AliVZEROv7.cxx:79
 AliVZEROv7.cxx:80
 AliVZEROv7.cxx:81
 AliVZEROv7.cxx:82
 AliVZEROv7.cxx:83
 AliVZEROv7.cxx:84
 AliVZEROv7.cxx:85
 AliVZEROv7.cxx:86
 AliVZEROv7.cxx:87
 AliVZEROv7.cxx:88
 AliVZEROv7.cxx:89
 AliVZEROv7.cxx:90
 AliVZEROv7.cxx:91
 AliVZEROv7.cxx:92
 AliVZEROv7.cxx:93
 AliVZEROv7.cxx:94
 AliVZEROv7.cxx:95
 AliVZEROv7.cxx:96
 AliVZEROv7.cxx:97
 AliVZEROv7.cxx:98
 AliVZEROv7.cxx:99
 AliVZEROv7.cxx:100
 AliVZEROv7.cxx:101
 AliVZEROv7.cxx:102
 AliVZEROv7.cxx:103
 AliVZEROv7.cxx:104
 AliVZEROv7.cxx:105
 AliVZEROv7.cxx:106
 AliVZEROv7.cxx:107
 AliVZEROv7.cxx:108
 AliVZEROv7.cxx:109
 AliVZEROv7.cxx:110
 AliVZEROv7.cxx:111
 AliVZEROv7.cxx:112
 AliVZEROv7.cxx:113
 AliVZEROv7.cxx:114
 AliVZEROv7.cxx:115
 AliVZEROv7.cxx:116
 AliVZEROv7.cxx:117
 AliVZEROv7.cxx:118
 AliVZEROv7.cxx:119
 AliVZEROv7.cxx:120
 AliVZEROv7.cxx:121
 AliVZEROv7.cxx:122
 AliVZEROv7.cxx:123
 AliVZEROv7.cxx:124
 AliVZEROv7.cxx:125
 AliVZEROv7.cxx:126
 AliVZEROv7.cxx:127
 AliVZEROv7.cxx:128
 AliVZEROv7.cxx:129
 AliVZEROv7.cxx:130
 AliVZEROv7.cxx:131
 AliVZEROv7.cxx:132
 AliVZEROv7.cxx:133
 AliVZEROv7.cxx:134
 AliVZEROv7.cxx:135
 AliVZEROv7.cxx:136
 AliVZEROv7.cxx:137
 AliVZEROv7.cxx:138
 AliVZEROv7.cxx:139
 AliVZEROv7.cxx:140
 AliVZEROv7.cxx:141
 AliVZEROv7.cxx:142
 AliVZEROv7.cxx:143
 AliVZEROv7.cxx:144
 AliVZEROv7.cxx:145
 AliVZEROv7.cxx:146
 AliVZEROv7.cxx:147
 AliVZEROv7.cxx:148
 AliVZEROv7.cxx:149
 AliVZEROv7.cxx:150
 AliVZEROv7.cxx:151
 AliVZEROv7.cxx:152
 AliVZEROv7.cxx:153
 AliVZEROv7.cxx:154
 AliVZEROv7.cxx:155
 AliVZEROv7.cxx:156
 AliVZEROv7.cxx:157
 AliVZEROv7.cxx:158
 AliVZEROv7.cxx:159
 AliVZEROv7.cxx:160
 AliVZEROv7.cxx:161
 AliVZEROv7.cxx:162
 AliVZEROv7.cxx:163
 AliVZEROv7.cxx:164
 AliVZEROv7.cxx:165
 AliVZEROv7.cxx:166
 AliVZEROv7.cxx:167
 AliVZEROv7.cxx:168
 AliVZEROv7.cxx:169
 AliVZEROv7.cxx:170
 AliVZEROv7.cxx:171
 AliVZEROv7.cxx:172
 AliVZEROv7.cxx:173
 AliVZEROv7.cxx:174
 AliVZEROv7.cxx:175
 AliVZEROv7.cxx:176
 AliVZEROv7.cxx:177
 AliVZEROv7.cxx:178
 AliVZEROv7.cxx:179
 AliVZEROv7.cxx:180
 AliVZEROv7.cxx:181
 AliVZEROv7.cxx:182
 AliVZEROv7.cxx:183
 AliVZEROv7.cxx:184
 AliVZEROv7.cxx:185
 AliVZEROv7.cxx:186
 AliVZEROv7.cxx:187
 AliVZEROv7.cxx:188
 AliVZEROv7.cxx:189
 AliVZEROv7.cxx:190
 AliVZEROv7.cxx:191
 AliVZEROv7.cxx:192
 AliVZEROv7.cxx:193
 AliVZEROv7.cxx:194
 AliVZEROv7.cxx:195
 AliVZEROv7.cxx:196
 AliVZEROv7.cxx:197
 AliVZEROv7.cxx:198
 AliVZEROv7.cxx:199
 AliVZEROv7.cxx:200
 AliVZEROv7.cxx:201
 AliVZEROv7.cxx:202
 AliVZEROv7.cxx:203
 AliVZEROv7.cxx:204
 AliVZEROv7.cxx:205
 AliVZEROv7.cxx:206
 AliVZEROv7.cxx:207
 AliVZEROv7.cxx:208
 AliVZEROv7.cxx:209
 AliVZEROv7.cxx:210
 AliVZEROv7.cxx:211
 AliVZEROv7.cxx:212
 AliVZEROv7.cxx:213
 AliVZEROv7.cxx:214
 AliVZEROv7.cxx:215
 AliVZEROv7.cxx:216
 AliVZEROv7.cxx:217
 AliVZEROv7.cxx:218
 AliVZEROv7.cxx:219
 AliVZEROv7.cxx:220
 AliVZEROv7.cxx:221
 AliVZEROv7.cxx:222
 AliVZEROv7.cxx:223
 AliVZEROv7.cxx:224
 AliVZEROv7.cxx:225
 AliVZEROv7.cxx:226
 AliVZEROv7.cxx:227
 AliVZEROv7.cxx:228
 AliVZEROv7.cxx:229
 AliVZEROv7.cxx:230
 AliVZEROv7.cxx:231
 AliVZEROv7.cxx:232
 AliVZEROv7.cxx:233
 AliVZEROv7.cxx:234
 AliVZEROv7.cxx:235
 AliVZEROv7.cxx:236
 AliVZEROv7.cxx:237
 AliVZEROv7.cxx:238
 AliVZEROv7.cxx:239
 AliVZEROv7.cxx:240
 AliVZEROv7.cxx:241
 AliVZEROv7.cxx:242
 AliVZEROv7.cxx:243
 AliVZEROv7.cxx:244
 AliVZEROv7.cxx:245
 AliVZEROv7.cxx:246
 AliVZEROv7.cxx:247
 AliVZEROv7.cxx:248
 AliVZEROv7.cxx:249
 AliVZEROv7.cxx:250
 AliVZEROv7.cxx:251
 AliVZEROv7.cxx:252
 AliVZEROv7.cxx:253
 AliVZEROv7.cxx:254
 AliVZEROv7.cxx:255
 AliVZEROv7.cxx:256
 AliVZEROv7.cxx:257
 AliVZEROv7.cxx:258
 AliVZEROv7.cxx:259
 AliVZEROv7.cxx:260
 AliVZEROv7.cxx:261
 AliVZEROv7.cxx:262
 AliVZEROv7.cxx:263
 AliVZEROv7.cxx:264
 AliVZEROv7.cxx:265
 AliVZEROv7.cxx:266
 AliVZEROv7.cxx:267
 AliVZEROv7.cxx:268
 AliVZEROv7.cxx:269
 AliVZEROv7.cxx:270
 AliVZEROv7.cxx:271
 AliVZEROv7.cxx:272
 AliVZEROv7.cxx:273
 AliVZEROv7.cxx:274
 AliVZEROv7.cxx:275
 AliVZEROv7.cxx:276
 AliVZEROv7.cxx:277
 AliVZEROv7.cxx:278
 AliVZEROv7.cxx:279
 AliVZEROv7.cxx:280
 AliVZEROv7.cxx:281
 AliVZEROv7.cxx:282
 AliVZEROv7.cxx:283
 AliVZEROv7.cxx:284
 AliVZEROv7.cxx:285
 AliVZEROv7.cxx:286
 AliVZEROv7.cxx:287
 AliVZEROv7.cxx:288
 AliVZEROv7.cxx:289
 AliVZEROv7.cxx:290
 AliVZEROv7.cxx:291
 AliVZEROv7.cxx:292
 AliVZEROv7.cxx:293
 AliVZEROv7.cxx:294
 AliVZEROv7.cxx:295
 AliVZEROv7.cxx:296
 AliVZEROv7.cxx:297
 AliVZEROv7.cxx:298
 AliVZEROv7.cxx:299
 AliVZEROv7.cxx:300
 AliVZEROv7.cxx:301
 AliVZEROv7.cxx:302
 AliVZEROv7.cxx:303
 AliVZEROv7.cxx:304
 AliVZEROv7.cxx:305
 AliVZEROv7.cxx:306
 AliVZEROv7.cxx:307
 AliVZEROv7.cxx:308
 AliVZEROv7.cxx:309
 AliVZEROv7.cxx:310
 AliVZEROv7.cxx:311
 AliVZEROv7.cxx:312
 AliVZEROv7.cxx:313
 AliVZEROv7.cxx:314
 AliVZEROv7.cxx:315
 AliVZEROv7.cxx:316
 AliVZEROv7.cxx:317
 AliVZEROv7.cxx:318
 AliVZEROv7.cxx:319
 AliVZEROv7.cxx:320
 AliVZEROv7.cxx:321
 AliVZEROv7.cxx:322
 AliVZEROv7.cxx:323
 AliVZEROv7.cxx:324
 AliVZEROv7.cxx:325
 AliVZEROv7.cxx:326
 AliVZEROv7.cxx:327
 AliVZEROv7.cxx:328
 AliVZEROv7.cxx:329
 AliVZEROv7.cxx:330
 AliVZEROv7.cxx:331
 AliVZEROv7.cxx:332
 AliVZEROv7.cxx:333
 AliVZEROv7.cxx:334
 AliVZEROv7.cxx:335
 AliVZEROv7.cxx:336
 AliVZEROv7.cxx:337
 AliVZEROv7.cxx:338
 AliVZEROv7.cxx:339
 AliVZEROv7.cxx:340
 AliVZEROv7.cxx:341
 AliVZEROv7.cxx:342
 AliVZEROv7.cxx:343
 AliVZEROv7.cxx:344
 AliVZEROv7.cxx:345
 AliVZEROv7.cxx:346
 AliVZEROv7.cxx:347
 AliVZEROv7.cxx:348
 AliVZEROv7.cxx:349
 AliVZEROv7.cxx:350
 AliVZEROv7.cxx:351
 AliVZEROv7.cxx:352
 AliVZEROv7.cxx:353
 AliVZEROv7.cxx:354
 AliVZEROv7.cxx:355
 AliVZEROv7.cxx:356
 AliVZEROv7.cxx:357
 AliVZEROv7.cxx:358
 AliVZEROv7.cxx:359
 AliVZEROv7.cxx:360
 AliVZEROv7.cxx:361
 AliVZEROv7.cxx:362
 AliVZEROv7.cxx:363
 AliVZEROv7.cxx:364
 AliVZEROv7.cxx:365
 AliVZEROv7.cxx:366
 AliVZEROv7.cxx:367
 AliVZEROv7.cxx:368
 AliVZEROv7.cxx:369
 AliVZEROv7.cxx:370
 AliVZEROv7.cxx:371
 AliVZEROv7.cxx:372
 AliVZEROv7.cxx:373
 AliVZEROv7.cxx:374
 AliVZEROv7.cxx:375
 AliVZEROv7.cxx:376
 AliVZEROv7.cxx:377
 AliVZEROv7.cxx:378
 AliVZEROv7.cxx:379
 AliVZEROv7.cxx:380
 AliVZEROv7.cxx:381
 AliVZEROv7.cxx:382
 AliVZEROv7.cxx:383
 AliVZEROv7.cxx:384
 AliVZEROv7.cxx:385
 AliVZEROv7.cxx:386
 AliVZEROv7.cxx:387
 AliVZEROv7.cxx:388
 AliVZEROv7.cxx:389
 AliVZEROv7.cxx:390
 AliVZEROv7.cxx:391
 AliVZEROv7.cxx:392
 AliVZEROv7.cxx:393
 AliVZEROv7.cxx:394
 AliVZEROv7.cxx:395
 AliVZEROv7.cxx:396
 AliVZEROv7.cxx:397
 AliVZEROv7.cxx:398
 AliVZEROv7.cxx:399
 AliVZEROv7.cxx:400
 AliVZEROv7.cxx:401
 AliVZEROv7.cxx:402
 AliVZEROv7.cxx:403
 AliVZEROv7.cxx:404
 AliVZEROv7.cxx:405
 AliVZEROv7.cxx:406
 AliVZEROv7.cxx:407
 AliVZEROv7.cxx:408
 AliVZEROv7.cxx:409
 AliVZEROv7.cxx:410
 AliVZEROv7.cxx:411
 AliVZEROv7.cxx:412
 AliVZEROv7.cxx:413
 AliVZEROv7.cxx:414
 AliVZEROv7.cxx:415
 AliVZEROv7.cxx:416
 AliVZEROv7.cxx:417
 AliVZEROv7.cxx:418
 AliVZEROv7.cxx:419
 AliVZEROv7.cxx:420
 AliVZEROv7.cxx:421
 AliVZEROv7.cxx:422
 AliVZEROv7.cxx:423
 AliVZEROv7.cxx:424
 AliVZEROv7.cxx:425
 AliVZEROv7.cxx:426
 AliVZEROv7.cxx:427
 AliVZEROv7.cxx:428
 AliVZEROv7.cxx:429
 AliVZEROv7.cxx:430
 AliVZEROv7.cxx:431
 AliVZEROv7.cxx:432
 AliVZEROv7.cxx:433
 AliVZEROv7.cxx:434
 AliVZEROv7.cxx:435
 AliVZEROv7.cxx:436
 AliVZEROv7.cxx:437
 AliVZEROv7.cxx:438
 AliVZEROv7.cxx:439
 AliVZEROv7.cxx:440
 AliVZEROv7.cxx:441
 AliVZEROv7.cxx:442
 AliVZEROv7.cxx:443
 AliVZEROv7.cxx:444
 AliVZEROv7.cxx:445
 AliVZEROv7.cxx:446
 AliVZEROv7.cxx:447
 AliVZEROv7.cxx:448
 AliVZEROv7.cxx:449
 AliVZEROv7.cxx:450
 AliVZEROv7.cxx:451
 AliVZEROv7.cxx:452
 AliVZEROv7.cxx:453
 AliVZEROv7.cxx:454
 AliVZEROv7.cxx:455
 AliVZEROv7.cxx:456
 AliVZEROv7.cxx:457
 AliVZEROv7.cxx:458
 AliVZEROv7.cxx:459
 AliVZEROv7.cxx:460
 AliVZEROv7.cxx:461
 AliVZEROv7.cxx:462
 AliVZEROv7.cxx:463
 AliVZEROv7.cxx:464
 AliVZEROv7.cxx:465
 AliVZEROv7.cxx:466
 AliVZEROv7.cxx:467
 AliVZEROv7.cxx:468
 AliVZEROv7.cxx:469
 AliVZEROv7.cxx:470
 AliVZEROv7.cxx:471
 AliVZEROv7.cxx:472
 AliVZEROv7.cxx:473
 AliVZEROv7.cxx:474
 AliVZEROv7.cxx:475
 AliVZEROv7.cxx:476
 AliVZEROv7.cxx:477
 AliVZEROv7.cxx:478
 AliVZEROv7.cxx:479
 AliVZEROv7.cxx:480
 AliVZEROv7.cxx:481
 AliVZEROv7.cxx:482
 AliVZEROv7.cxx:483
 AliVZEROv7.cxx:484
 AliVZEROv7.cxx:485
 AliVZEROv7.cxx:486
 AliVZEROv7.cxx:487
 AliVZEROv7.cxx:488
 AliVZEROv7.cxx:489
 AliVZEROv7.cxx:490
 AliVZEROv7.cxx:491
 AliVZEROv7.cxx:492
 AliVZEROv7.cxx:493
 AliVZEROv7.cxx:494
 AliVZEROv7.cxx:495
 AliVZEROv7.cxx:496
 AliVZEROv7.cxx:497
 AliVZEROv7.cxx:498
 AliVZEROv7.cxx:499
 AliVZEROv7.cxx:500
 AliVZEROv7.cxx:501
 AliVZEROv7.cxx:502
 AliVZEROv7.cxx:503
 AliVZEROv7.cxx:504
 AliVZEROv7.cxx:505
 AliVZEROv7.cxx:506
 AliVZEROv7.cxx:507
 AliVZEROv7.cxx:508
 AliVZEROv7.cxx:509
 AliVZEROv7.cxx:510
 AliVZEROv7.cxx:511
 AliVZEROv7.cxx:512
 AliVZEROv7.cxx:513
 AliVZEROv7.cxx:514
 AliVZEROv7.cxx:515
 AliVZEROv7.cxx:516
 AliVZEROv7.cxx:517
 AliVZEROv7.cxx:518
 AliVZEROv7.cxx:519
 AliVZEROv7.cxx:520
 AliVZEROv7.cxx:521
 AliVZEROv7.cxx:522
 AliVZEROv7.cxx:523
 AliVZEROv7.cxx:524
 AliVZEROv7.cxx:525
 AliVZEROv7.cxx:526
 AliVZEROv7.cxx:527
 AliVZEROv7.cxx:528
 AliVZEROv7.cxx:529
 AliVZEROv7.cxx:530
 AliVZEROv7.cxx:531
 AliVZEROv7.cxx:532
 AliVZEROv7.cxx:533
 AliVZEROv7.cxx:534
 AliVZEROv7.cxx:535
 AliVZEROv7.cxx:536
 AliVZEROv7.cxx:537
 AliVZEROv7.cxx:538
 AliVZEROv7.cxx:539
 AliVZEROv7.cxx:540
 AliVZEROv7.cxx:541
 AliVZEROv7.cxx:542
 AliVZEROv7.cxx:543
 AliVZEROv7.cxx:544
 AliVZEROv7.cxx:545
 AliVZEROv7.cxx:546
 AliVZEROv7.cxx:547
 AliVZEROv7.cxx:548
 AliVZEROv7.cxx:549
 AliVZEROv7.cxx:550
 AliVZEROv7.cxx:551
 AliVZEROv7.cxx:552
 AliVZEROv7.cxx:553
 AliVZEROv7.cxx:554
 AliVZEROv7.cxx:555
 AliVZEROv7.cxx:556
 AliVZEROv7.cxx:557
 AliVZEROv7.cxx:558
 AliVZEROv7.cxx:559
 AliVZEROv7.cxx:560
 AliVZEROv7.cxx:561
 AliVZEROv7.cxx:562
 AliVZEROv7.cxx:563
 AliVZEROv7.cxx:564
 AliVZEROv7.cxx:565
 AliVZEROv7.cxx:566
 AliVZEROv7.cxx:567
 AliVZEROv7.cxx:568
 AliVZEROv7.cxx:569
 AliVZEROv7.cxx:570
 AliVZEROv7.cxx:571
 AliVZEROv7.cxx:572
 AliVZEROv7.cxx:573
 AliVZEROv7.cxx:574
 AliVZEROv7.cxx:575
 AliVZEROv7.cxx:576
 AliVZEROv7.cxx:577
 AliVZEROv7.cxx:578
 AliVZEROv7.cxx:579
 AliVZEROv7.cxx:580
 AliVZEROv7.cxx:581
 AliVZEROv7.cxx:582
 AliVZEROv7.cxx:583
 AliVZEROv7.cxx:584
 AliVZEROv7.cxx:585
 AliVZEROv7.cxx:586
 AliVZEROv7.cxx:587
 AliVZEROv7.cxx:588
 AliVZEROv7.cxx:589
 AliVZEROv7.cxx:590
 AliVZEROv7.cxx:591
 AliVZEROv7.cxx:592
 AliVZEROv7.cxx:593
 AliVZEROv7.cxx:594
 AliVZEROv7.cxx:595
 AliVZEROv7.cxx:596
 AliVZEROv7.cxx:597
 AliVZEROv7.cxx:598
 AliVZEROv7.cxx:599
 AliVZEROv7.cxx:600
 AliVZEROv7.cxx:601
 AliVZEROv7.cxx:602
 AliVZEROv7.cxx:603
 AliVZEROv7.cxx:604
 AliVZEROv7.cxx:605
 AliVZEROv7.cxx:606
 AliVZEROv7.cxx:607
 AliVZEROv7.cxx:608
 AliVZEROv7.cxx:609
 AliVZEROv7.cxx:610
 AliVZEROv7.cxx:611
 AliVZEROv7.cxx:612
 AliVZEROv7.cxx:613
 AliVZEROv7.cxx:614
 AliVZEROv7.cxx:615
 AliVZEROv7.cxx:616
 AliVZEROv7.cxx:617
 AliVZEROv7.cxx:618
 AliVZEROv7.cxx:619
 AliVZEROv7.cxx:620
 AliVZEROv7.cxx:621
 AliVZEROv7.cxx:622
 AliVZEROv7.cxx:623
 AliVZEROv7.cxx:624
 AliVZEROv7.cxx:625
 AliVZEROv7.cxx:626
 AliVZEROv7.cxx:627
 AliVZEROv7.cxx:628
 AliVZEROv7.cxx:629
 AliVZEROv7.cxx:630
 AliVZEROv7.cxx:631
 AliVZEROv7.cxx:632
 AliVZEROv7.cxx:633
 AliVZEROv7.cxx:634
 AliVZEROv7.cxx:635
 AliVZEROv7.cxx:636
 AliVZEROv7.cxx:637
 AliVZEROv7.cxx:638
 AliVZEROv7.cxx:639
 AliVZEROv7.cxx:640
 AliVZEROv7.cxx:641
 AliVZEROv7.cxx:642
 AliVZEROv7.cxx:643
 AliVZEROv7.cxx:644
 AliVZEROv7.cxx:645
 AliVZEROv7.cxx:646
 AliVZEROv7.cxx:647
 AliVZEROv7.cxx:648
 AliVZEROv7.cxx:649
 AliVZEROv7.cxx:650
 AliVZEROv7.cxx:651
 AliVZEROv7.cxx:652
 AliVZEROv7.cxx:653
 AliVZEROv7.cxx:654
 AliVZEROv7.cxx:655
 AliVZEROv7.cxx:656
 AliVZEROv7.cxx:657
 AliVZEROv7.cxx:658
 AliVZEROv7.cxx:659
 AliVZEROv7.cxx:660
 AliVZEROv7.cxx:661
 AliVZEROv7.cxx:662
 AliVZEROv7.cxx:663
 AliVZEROv7.cxx:664
 AliVZEROv7.cxx:665
 AliVZEROv7.cxx:666
 AliVZEROv7.cxx:667
 AliVZEROv7.cxx:668
 AliVZEROv7.cxx:669
 AliVZEROv7.cxx:670
 AliVZEROv7.cxx:671
 AliVZEROv7.cxx:672
 AliVZEROv7.cxx:673
 AliVZEROv7.cxx:674
 AliVZEROv7.cxx:675
 AliVZEROv7.cxx:676
 AliVZEROv7.cxx:677
 AliVZEROv7.cxx:678
 AliVZEROv7.cxx:679
 AliVZEROv7.cxx:680
 AliVZEROv7.cxx:681
 AliVZEROv7.cxx:682
 AliVZEROv7.cxx:683
 AliVZEROv7.cxx:684
 AliVZEROv7.cxx:685
 AliVZEROv7.cxx:686
 AliVZEROv7.cxx:687
 AliVZEROv7.cxx:688
 AliVZEROv7.cxx:689
 AliVZEROv7.cxx:690
 AliVZEROv7.cxx:691
 AliVZEROv7.cxx:692
 AliVZEROv7.cxx:693
 AliVZEROv7.cxx:694
 AliVZEROv7.cxx:695
 AliVZEROv7.cxx:696
 AliVZEROv7.cxx:697
 AliVZEROv7.cxx:698
 AliVZEROv7.cxx:699
 AliVZEROv7.cxx:700
 AliVZEROv7.cxx:701
 AliVZEROv7.cxx:702
 AliVZEROv7.cxx:703
 AliVZEROv7.cxx:704
 AliVZEROv7.cxx:705
 AliVZEROv7.cxx:706
 AliVZEROv7.cxx:707
 AliVZEROv7.cxx:708
 AliVZEROv7.cxx:709
 AliVZEROv7.cxx:710
 AliVZEROv7.cxx:711
 AliVZEROv7.cxx:712
 AliVZEROv7.cxx:713
 AliVZEROv7.cxx:714
 AliVZEROv7.cxx:715
 AliVZEROv7.cxx:716
 AliVZEROv7.cxx:717
 AliVZEROv7.cxx:718
 AliVZEROv7.cxx:719
 AliVZEROv7.cxx:720
 AliVZEROv7.cxx:721
 AliVZEROv7.cxx:722
 AliVZEROv7.cxx:723
 AliVZEROv7.cxx:724
 AliVZEROv7.cxx:725
 AliVZEROv7.cxx:726
 AliVZEROv7.cxx:727
 AliVZEROv7.cxx:728
 AliVZEROv7.cxx:729
 AliVZEROv7.cxx:730
 AliVZEROv7.cxx:731
 AliVZEROv7.cxx:732
 AliVZEROv7.cxx:733
 AliVZEROv7.cxx:734
 AliVZEROv7.cxx:735
 AliVZEROv7.cxx:736
 AliVZEROv7.cxx:737
 AliVZEROv7.cxx:738
 AliVZEROv7.cxx:739
 AliVZEROv7.cxx:740
 AliVZEROv7.cxx:741
 AliVZEROv7.cxx:742
 AliVZEROv7.cxx:743
 AliVZEROv7.cxx:744
 AliVZEROv7.cxx:745
 AliVZEROv7.cxx:746
 AliVZEROv7.cxx:747
 AliVZEROv7.cxx:748
 AliVZEROv7.cxx:749
 AliVZEROv7.cxx:750
 AliVZEROv7.cxx:751
 AliVZEROv7.cxx:752
 AliVZEROv7.cxx:753
 AliVZEROv7.cxx:754
 AliVZEROv7.cxx:755
 AliVZEROv7.cxx:756
 AliVZEROv7.cxx:757
 AliVZEROv7.cxx:758
 AliVZEROv7.cxx:759
 AliVZEROv7.cxx:760
 AliVZEROv7.cxx:761
 AliVZEROv7.cxx:762
 AliVZEROv7.cxx:763
 AliVZEROv7.cxx:764
 AliVZEROv7.cxx:765
 AliVZEROv7.cxx:766
 AliVZEROv7.cxx:767
 AliVZEROv7.cxx:768
 AliVZEROv7.cxx:769
 AliVZEROv7.cxx:770
 AliVZEROv7.cxx:771
 AliVZEROv7.cxx:772
 AliVZEROv7.cxx:773
 AliVZEROv7.cxx:774
 AliVZEROv7.cxx:775
 AliVZEROv7.cxx:776
 AliVZEROv7.cxx:777
 AliVZEROv7.cxx:778
 AliVZEROv7.cxx:779
 AliVZEROv7.cxx:780
 AliVZEROv7.cxx:781
 AliVZEROv7.cxx:782
 AliVZEROv7.cxx:783
 AliVZEROv7.cxx:784
 AliVZEROv7.cxx:785
 AliVZEROv7.cxx:786
 AliVZEROv7.cxx:787
 AliVZEROv7.cxx:788
 AliVZEROv7.cxx:789
 AliVZEROv7.cxx:790
 AliVZEROv7.cxx:791
 AliVZEROv7.cxx:792
 AliVZEROv7.cxx:793
 AliVZEROv7.cxx:794
 AliVZEROv7.cxx:795
 AliVZEROv7.cxx:796
 AliVZEROv7.cxx:797
 AliVZEROv7.cxx:798
 AliVZEROv7.cxx:799
 AliVZEROv7.cxx:800
 AliVZEROv7.cxx:801
 AliVZEROv7.cxx:802
 AliVZEROv7.cxx:803
 AliVZEROv7.cxx:804
 AliVZEROv7.cxx:805
 AliVZEROv7.cxx:806
 AliVZEROv7.cxx:807
 AliVZEROv7.cxx:808
 AliVZEROv7.cxx:809
 AliVZEROv7.cxx:810
 AliVZEROv7.cxx:811
 AliVZEROv7.cxx:812
 AliVZEROv7.cxx:813
 AliVZEROv7.cxx:814
 AliVZEROv7.cxx:815
 AliVZEROv7.cxx:816
 AliVZEROv7.cxx:817
 AliVZEROv7.cxx:818
 AliVZEROv7.cxx:819
 AliVZEROv7.cxx:820
 AliVZEROv7.cxx:821
 AliVZEROv7.cxx:822
 AliVZEROv7.cxx:823
 AliVZEROv7.cxx:824
 AliVZEROv7.cxx:825
 AliVZEROv7.cxx:826
 AliVZEROv7.cxx:827
 AliVZEROv7.cxx:828
 AliVZEROv7.cxx:829
 AliVZEROv7.cxx:830
 AliVZEROv7.cxx:831
 AliVZEROv7.cxx:832
 AliVZEROv7.cxx:833
 AliVZEROv7.cxx:834
 AliVZEROv7.cxx:835
 AliVZEROv7.cxx:836
 AliVZEROv7.cxx:837
 AliVZEROv7.cxx:838
 AliVZEROv7.cxx:839
 AliVZEROv7.cxx:840
 AliVZEROv7.cxx:841
 AliVZEROv7.cxx:842
 AliVZEROv7.cxx:843
 AliVZEROv7.cxx:844
 AliVZEROv7.cxx:845
 AliVZEROv7.cxx:846
 AliVZEROv7.cxx:847
 AliVZEROv7.cxx:848
 AliVZEROv7.cxx:849
 AliVZEROv7.cxx:850
 AliVZEROv7.cxx:851
 AliVZEROv7.cxx:852
 AliVZEROv7.cxx:853
 AliVZEROv7.cxx:854
 AliVZEROv7.cxx:855
 AliVZEROv7.cxx:856
 AliVZEROv7.cxx:857
 AliVZEROv7.cxx:858
 AliVZEROv7.cxx:859
 AliVZEROv7.cxx:860
 AliVZEROv7.cxx:861
 AliVZEROv7.cxx:862
 AliVZEROv7.cxx:863
 AliVZEROv7.cxx:864
 AliVZEROv7.cxx:865
 AliVZEROv7.cxx:866
 AliVZEROv7.cxx:867
 AliVZEROv7.cxx:868
 AliVZEROv7.cxx:869
 AliVZEROv7.cxx:870
 AliVZEROv7.cxx:871
 AliVZEROv7.cxx:872
 AliVZEROv7.cxx:873
 AliVZEROv7.cxx:874
 AliVZEROv7.cxx:875
 AliVZEROv7.cxx:876
 AliVZEROv7.cxx:877
 AliVZEROv7.cxx:878
 AliVZEROv7.cxx:879
 AliVZEROv7.cxx:880
 AliVZEROv7.cxx:881
 AliVZEROv7.cxx:882
 AliVZEROv7.cxx:883
 AliVZEROv7.cxx:884
 AliVZEROv7.cxx:885
 AliVZEROv7.cxx:886
 AliVZEROv7.cxx:887
 AliVZEROv7.cxx:888
 AliVZEROv7.cxx:889
 AliVZEROv7.cxx:890
 AliVZEROv7.cxx:891
 AliVZEROv7.cxx:892
 AliVZEROv7.cxx:893
 AliVZEROv7.cxx:894
 AliVZEROv7.cxx:895
 AliVZEROv7.cxx:896
 AliVZEROv7.cxx:897
 AliVZEROv7.cxx:898
 AliVZEROv7.cxx:899
 AliVZEROv7.cxx:900
 AliVZEROv7.cxx:901
 AliVZEROv7.cxx:902
 AliVZEROv7.cxx:903
 AliVZEROv7.cxx:904
 AliVZEROv7.cxx:905
 AliVZEROv7.cxx:906
 AliVZEROv7.cxx:907
 AliVZEROv7.cxx:908
 AliVZEROv7.cxx:909
 AliVZEROv7.cxx:910
 AliVZEROv7.cxx:911
 AliVZEROv7.cxx:912
 AliVZEROv7.cxx:913
 AliVZEROv7.cxx:914
 AliVZEROv7.cxx:915
 AliVZEROv7.cxx:916
 AliVZEROv7.cxx:917
 AliVZEROv7.cxx:918
 AliVZEROv7.cxx:919
 AliVZEROv7.cxx:920
 AliVZEROv7.cxx:921
 AliVZEROv7.cxx:922
 AliVZEROv7.cxx:923
 AliVZEROv7.cxx:924
 AliVZEROv7.cxx:925
 AliVZEROv7.cxx:926
 AliVZEROv7.cxx:927
 AliVZEROv7.cxx:928
 AliVZEROv7.cxx:929
 AliVZEROv7.cxx:930
 AliVZEROv7.cxx:931
 AliVZEROv7.cxx:932
 AliVZEROv7.cxx:933
 AliVZEROv7.cxx:934
 AliVZEROv7.cxx:935
 AliVZEROv7.cxx:936
 AliVZEROv7.cxx:937
 AliVZEROv7.cxx:938
 AliVZEROv7.cxx:939
 AliVZEROv7.cxx:940
 AliVZEROv7.cxx:941
 AliVZEROv7.cxx:942
 AliVZEROv7.cxx:943
 AliVZEROv7.cxx:944
 AliVZEROv7.cxx:945
 AliVZEROv7.cxx:946
 AliVZEROv7.cxx:947
 AliVZEROv7.cxx:948
 AliVZEROv7.cxx:949
 AliVZEROv7.cxx:950
 AliVZEROv7.cxx:951
 AliVZEROv7.cxx:952
 AliVZEROv7.cxx:953
 AliVZEROv7.cxx:954
 AliVZEROv7.cxx:955
 AliVZEROv7.cxx:956
 AliVZEROv7.cxx:957
 AliVZEROv7.cxx:958
 AliVZEROv7.cxx:959
 AliVZEROv7.cxx:960
 AliVZEROv7.cxx:961
 AliVZEROv7.cxx:962
 AliVZEROv7.cxx:963
 AliVZEROv7.cxx:964
 AliVZEROv7.cxx:965
 AliVZEROv7.cxx:966
 AliVZEROv7.cxx:967
 AliVZEROv7.cxx:968
 AliVZEROv7.cxx:969
 AliVZEROv7.cxx:970
 AliVZEROv7.cxx:971
 AliVZEROv7.cxx:972
 AliVZEROv7.cxx:973
 AliVZEROv7.cxx:974
 AliVZEROv7.cxx:975
 AliVZEROv7.cxx:976
 AliVZEROv7.cxx:977
 AliVZEROv7.cxx:978
 AliVZEROv7.cxx:979
 AliVZEROv7.cxx:980
 AliVZEROv7.cxx:981
 AliVZEROv7.cxx:982
 AliVZEROv7.cxx:983
 AliVZEROv7.cxx:984
 AliVZEROv7.cxx:985
 AliVZEROv7.cxx:986
 AliVZEROv7.cxx:987
 AliVZEROv7.cxx:988
 AliVZEROv7.cxx:989
 AliVZEROv7.cxx:990
 AliVZEROv7.cxx:991
 AliVZEROv7.cxx:992
 AliVZEROv7.cxx:993
 AliVZEROv7.cxx:994
 AliVZEROv7.cxx:995
 AliVZEROv7.cxx:996
 AliVZEROv7.cxx:997
 AliVZEROv7.cxx:998
 AliVZEROv7.cxx:999
 AliVZEROv7.cxx:1000
 AliVZEROv7.cxx:1001
 AliVZEROv7.cxx:1002
 AliVZEROv7.cxx:1003
 AliVZEROv7.cxx:1004
 AliVZEROv7.cxx:1005
 AliVZEROv7.cxx:1006
 AliVZEROv7.cxx:1007
 AliVZEROv7.cxx:1008
 AliVZEROv7.cxx:1009
 AliVZEROv7.cxx:1010
 AliVZEROv7.cxx:1011
 AliVZEROv7.cxx:1012
 AliVZEROv7.cxx:1013
 AliVZEROv7.cxx:1014
 AliVZEROv7.cxx:1015
 AliVZEROv7.cxx:1016
 AliVZEROv7.cxx:1017
 AliVZEROv7.cxx:1018
 AliVZEROv7.cxx:1019
 AliVZEROv7.cxx:1020
 AliVZEROv7.cxx:1021
 AliVZEROv7.cxx:1022
 AliVZEROv7.cxx:1023
 AliVZEROv7.cxx:1024
 AliVZEROv7.cxx:1025
 AliVZEROv7.cxx:1026
 AliVZEROv7.cxx:1027
 AliVZEROv7.cxx:1028
 AliVZEROv7.cxx:1029
 AliVZEROv7.cxx:1030
 AliVZEROv7.cxx:1031
 AliVZEROv7.cxx:1032
 AliVZEROv7.cxx:1033
 AliVZEROv7.cxx:1034
 AliVZEROv7.cxx:1035
 AliVZEROv7.cxx:1036
 AliVZEROv7.cxx:1037
 AliVZEROv7.cxx:1038
 AliVZEROv7.cxx:1039
 AliVZEROv7.cxx:1040
 AliVZEROv7.cxx:1041
 AliVZEROv7.cxx:1042
 AliVZEROv7.cxx:1043
 AliVZEROv7.cxx:1044
 AliVZEROv7.cxx:1045
 AliVZEROv7.cxx:1046
 AliVZEROv7.cxx:1047
 AliVZEROv7.cxx:1048
 AliVZEROv7.cxx:1049
 AliVZEROv7.cxx:1050
 AliVZEROv7.cxx:1051
 AliVZEROv7.cxx:1052
 AliVZEROv7.cxx:1053
 AliVZEROv7.cxx:1054
 AliVZEROv7.cxx:1055
 AliVZEROv7.cxx:1056
 AliVZEROv7.cxx:1057
 AliVZEROv7.cxx:1058
 AliVZEROv7.cxx:1059
 AliVZEROv7.cxx:1060
 AliVZEROv7.cxx:1061
 AliVZEROv7.cxx:1062
 AliVZEROv7.cxx:1063
 AliVZEROv7.cxx:1064
 AliVZEROv7.cxx:1065
 AliVZEROv7.cxx:1066
 AliVZEROv7.cxx:1067
 AliVZEROv7.cxx:1068
 AliVZEROv7.cxx:1069
 AliVZEROv7.cxx:1070
 AliVZEROv7.cxx:1071
 AliVZEROv7.cxx:1072
 AliVZEROv7.cxx:1073
 AliVZEROv7.cxx:1074
 AliVZEROv7.cxx:1075
 AliVZEROv7.cxx:1076
 AliVZEROv7.cxx:1077
 AliVZEROv7.cxx:1078
 AliVZEROv7.cxx:1079
 AliVZEROv7.cxx:1080
 AliVZEROv7.cxx:1081
 AliVZEROv7.cxx:1082
 AliVZEROv7.cxx:1083
 AliVZEROv7.cxx:1084
 AliVZEROv7.cxx:1085
 AliVZEROv7.cxx:1086
 AliVZEROv7.cxx:1087
 AliVZEROv7.cxx:1088
 AliVZEROv7.cxx:1089
 AliVZEROv7.cxx:1090
 AliVZEROv7.cxx:1091
 AliVZEROv7.cxx:1092
 AliVZEROv7.cxx:1093
 AliVZEROv7.cxx:1094
 AliVZEROv7.cxx:1095
 AliVZEROv7.cxx:1096
 AliVZEROv7.cxx:1097
 AliVZEROv7.cxx:1098
 AliVZEROv7.cxx:1099
 AliVZEROv7.cxx:1100
 AliVZEROv7.cxx:1101
 AliVZEROv7.cxx:1102
 AliVZEROv7.cxx:1103
 AliVZEROv7.cxx:1104
 AliVZEROv7.cxx:1105
 AliVZEROv7.cxx:1106
 AliVZEROv7.cxx:1107
 AliVZEROv7.cxx:1108
 AliVZEROv7.cxx:1109
 AliVZEROv7.cxx:1110
 AliVZEROv7.cxx:1111
 AliVZEROv7.cxx:1112
 AliVZEROv7.cxx:1113
 AliVZEROv7.cxx:1114
 AliVZEROv7.cxx:1115
 AliVZEROv7.cxx:1116
 AliVZEROv7.cxx:1117
 AliVZEROv7.cxx:1118
 AliVZEROv7.cxx:1119
 AliVZEROv7.cxx:1120
 AliVZEROv7.cxx:1121
 AliVZEROv7.cxx:1122
 AliVZEROv7.cxx:1123
 AliVZEROv7.cxx:1124
 AliVZEROv7.cxx:1125
 AliVZEROv7.cxx:1126
 AliVZEROv7.cxx:1127
 AliVZEROv7.cxx:1128
 AliVZEROv7.cxx:1129
 AliVZEROv7.cxx:1130
 AliVZEROv7.cxx:1131
 AliVZEROv7.cxx:1132
 AliVZEROv7.cxx:1133
 AliVZEROv7.cxx:1134
 AliVZEROv7.cxx:1135
 AliVZEROv7.cxx:1136
 AliVZEROv7.cxx:1137
 AliVZEROv7.cxx:1138
 AliVZEROv7.cxx:1139
 AliVZEROv7.cxx:1140
 AliVZEROv7.cxx:1141
 AliVZEROv7.cxx:1142
 AliVZEROv7.cxx:1143
 AliVZEROv7.cxx:1144
 AliVZEROv7.cxx:1145
 AliVZEROv7.cxx:1146
 AliVZEROv7.cxx:1147
 AliVZEROv7.cxx:1148
 AliVZEROv7.cxx:1149
 AliVZEROv7.cxx:1150
 AliVZEROv7.cxx:1151
 AliVZEROv7.cxx:1152
 AliVZEROv7.cxx:1153
 AliVZEROv7.cxx:1154
 AliVZEROv7.cxx:1155
 AliVZEROv7.cxx:1156
 AliVZEROv7.cxx:1157
 AliVZEROv7.cxx:1158
 AliVZEROv7.cxx:1159
 AliVZEROv7.cxx:1160
 AliVZEROv7.cxx:1161
 AliVZEROv7.cxx:1162
 AliVZEROv7.cxx:1163
 AliVZEROv7.cxx:1164
 AliVZEROv7.cxx:1165
 AliVZEROv7.cxx:1166
 AliVZEROv7.cxx:1167
 AliVZEROv7.cxx:1168
 AliVZEROv7.cxx:1169
 AliVZEROv7.cxx:1170
 AliVZEROv7.cxx:1171
 AliVZEROv7.cxx:1172
 AliVZEROv7.cxx:1173
 AliVZEROv7.cxx:1174
 AliVZEROv7.cxx:1175
 AliVZEROv7.cxx:1176
 AliVZEROv7.cxx:1177
 AliVZEROv7.cxx:1178
 AliVZEROv7.cxx:1179
 AliVZEROv7.cxx:1180
 AliVZEROv7.cxx:1181
 AliVZEROv7.cxx:1182
 AliVZEROv7.cxx:1183
 AliVZEROv7.cxx:1184
 AliVZEROv7.cxx:1185
 AliVZEROv7.cxx:1186
 AliVZEROv7.cxx:1187
 AliVZEROv7.cxx:1188
 AliVZEROv7.cxx:1189
 AliVZEROv7.cxx:1190
 AliVZEROv7.cxx:1191
 AliVZEROv7.cxx:1192
 AliVZEROv7.cxx:1193
 AliVZEROv7.cxx:1194
 AliVZEROv7.cxx:1195
 AliVZEROv7.cxx:1196
 AliVZEROv7.cxx:1197
 AliVZEROv7.cxx:1198
 AliVZEROv7.cxx:1199
 AliVZEROv7.cxx:1200
 AliVZEROv7.cxx:1201
 AliVZEROv7.cxx:1202
 AliVZEROv7.cxx:1203
 AliVZEROv7.cxx:1204
 AliVZEROv7.cxx:1205
 AliVZEROv7.cxx:1206
 AliVZEROv7.cxx:1207
 AliVZEROv7.cxx:1208
 AliVZEROv7.cxx:1209
 AliVZEROv7.cxx:1210
 AliVZEROv7.cxx:1211
 AliVZEROv7.cxx:1212
 AliVZEROv7.cxx:1213
 AliVZEROv7.cxx:1214
 AliVZEROv7.cxx:1215
 AliVZEROv7.cxx:1216
 AliVZEROv7.cxx:1217
 AliVZEROv7.cxx:1218
 AliVZEROv7.cxx:1219
 AliVZEROv7.cxx:1220
 AliVZEROv7.cxx:1221
 AliVZEROv7.cxx:1222
 AliVZEROv7.cxx:1223
 AliVZEROv7.cxx:1224
 AliVZEROv7.cxx:1225
 AliVZEROv7.cxx:1226
 AliVZEROv7.cxx:1227
 AliVZEROv7.cxx:1228
 AliVZEROv7.cxx:1229
 AliVZEROv7.cxx:1230
 AliVZEROv7.cxx:1231
 AliVZEROv7.cxx:1232
 AliVZEROv7.cxx:1233
 AliVZEROv7.cxx:1234
 AliVZEROv7.cxx:1235
 AliVZEROv7.cxx:1236
 AliVZEROv7.cxx:1237
 AliVZEROv7.cxx:1238
 AliVZEROv7.cxx:1239
 AliVZEROv7.cxx:1240
 AliVZEROv7.cxx:1241
 AliVZEROv7.cxx:1242
 AliVZEROv7.cxx:1243
 AliVZEROv7.cxx:1244
 AliVZEROv7.cxx:1245
 AliVZEROv7.cxx:1246
 AliVZEROv7.cxx:1247
 AliVZEROv7.cxx:1248
 AliVZEROv7.cxx:1249
 AliVZEROv7.cxx:1250
 AliVZEROv7.cxx:1251
 AliVZEROv7.cxx:1252
 AliVZEROv7.cxx:1253
 AliVZEROv7.cxx:1254
 AliVZEROv7.cxx:1255
 AliVZEROv7.cxx:1256
 AliVZEROv7.cxx:1257
 AliVZEROv7.cxx:1258
 AliVZEROv7.cxx:1259
 AliVZEROv7.cxx:1260
 AliVZEROv7.cxx:1261
 AliVZEROv7.cxx:1262
 AliVZEROv7.cxx:1263
 AliVZEROv7.cxx:1264
 AliVZEROv7.cxx:1265
 AliVZEROv7.cxx:1266
 AliVZEROv7.cxx:1267
 AliVZEROv7.cxx:1268
 AliVZEROv7.cxx:1269
 AliVZEROv7.cxx:1270
 AliVZEROv7.cxx:1271
 AliVZEROv7.cxx:1272
 AliVZEROv7.cxx:1273
 AliVZEROv7.cxx:1274
 AliVZEROv7.cxx:1275
 AliVZEROv7.cxx:1276
 AliVZEROv7.cxx:1277
 AliVZEROv7.cxx:1278
 AliVZEROv7.cxx:1279
 AliVZEROv7.cxx:1280
 AliVZEROv7.cxx:1281
 AliVZEROv7.cxx:1282
 AliVZEROv7.cxx:1283
 AliVZEROv7.cxx:1284
 AliVZEROv7.cxx:1285
 AliVZEROv7.cxx:1286
 AliVZEROv7.cxx:1287
 AliVZEROv7.cxx:1288
 AliVZEROv7.cxx:1289
 AliVZEROv7.cxx:1290
 AliVZEROv7.cxx:1291
 AliVZEROv7.cxx:1292
 AliVZEROv7.cxx:1293
 AliVZEROv7.cxx:1294
 AliVZEROv7.cxx:1295
 AliVZEROv7.cxx:1296
 AliVZEROv7.cxx:1297
 AliVZEROv7.cxx:1298
 AliVZEROv7.cxx:1299
 AliVZEROv7.cxx:1300
 AliVZEROv7.cxx:1301
 AliVZEROv7.cxx:1302
 AliVZEROv7.cxx:1303
 AliVZEROv7.cxx:1304
 AliVZEROv7.cxx:1305
 AliVZEROv7.cxx:1306
 AliVZEROv7.cxx:1307
 AliVZEROv7.cxx:1308
 AliVZEROv7.cxx:1309
 AliVZEROv7.cxx:1310
 AliVZEROv7.cxx:1311
 AliVZEROv7.cxx:1312
 AliVZEROv7.cxx:1313
 AliVZEROv7.cxx:1314
 AliVZEROv7.cxx:1315
 AliVZEROv7.cxx:1316
 AliVZEROv7.cxx:1317
 AliVZEROv7.cxx:1318
 AliVZEROv7.cxx:1319
 AliVZEROv7.cxx:1320
 AliVZEROv7.cxx:1321
 AliVZEROv7.cxx:1322
 AliVZEROv7.cxx:1323
 AliVZEROv7.cxx:1324
 AliVZEROv7.cxx:1325
 AliVZEROv7.cxx:1326
 AliVZEROv7.cxx:1327
 AliVZEROv7.cxx:1328
 AliVZEROv7.cxx:1329
 AliVZEROv7.cxx:1330
 AliVZEROv7.cxx:1331
 AliVZEROv7.cxx:1332
 AliVZEROv7.cxx:1333
 AliVZEROv7.cxx:1334
 AliVZEROv7.cxx:1335
 AliVZEROv7.cxx:1336
 AliVZEROv7.cxx:1337
 AliVZEROv7.cxx:1338
 AliVZEROv7.cxx:1339
 AliVZEROv7.cxx:1340
 AliVZEROv7.cxx:1341
 AliVZEROv7.cxx:1342
 AliVZEROv7.cxx:1343
 AliVZEROv7.cxx:1344
 AliVZEROv7.cxx:1345
 AliVZEROv7.cxx:1346
 AliVZEROv7.cxx:1347
 AliVZEROv7.cxx:1348
 AliVZEROv7.cxx:1349
 AliVZEROv7.cxx:1350
 AliVZEROv7.cxx:1351
 AliVZEROv7.cxx:1352
 AliVZEROv7.cxx:1353
 AliVZEROv7.cxx:1354
 AliVZEROv7.cxx:1355
 AliVZEROv7.cxx:1356
 AliVZEROv7.cxx:1357
 AliVZEROv7.cxx:1358
 AliVZEROv7.cxx:1359
 AliVZEROv7.cxx:1360
 AliVZEROv7.cxx:1361
 AliVZEROv7.cxx:1362
 AliVZEROv7.cxx:1363
 AliVZEROv7.cxx:1364
 AliVZEROv7.cxx:1365
 AliVZEROv7.cxx:1366
 AliVZEROv7.cxx:1367
 AliVZEROv7.cxx:1368
 AliVZEROv7.cxx:1369
 AliVZEROv7.cxx:1370
 AliVZEROv7.cxx:1371
 AliVZEROv7.cxx:1372
 AliVZEROv7.cxx:1373
 AliVZEROv7.cxx:1374
 AliVZEROv7.cxx:1375
 AliVZEROv7.cxx:1376
 AliVZEROv7.cxx:1377
 AliVZEROv7.cxx:1378
 AliVZEROv7.cxx:1379
 AliVZEROv7.cxx:1380
 AliVZEROv7.cxx:1381
 AliVZEROv7.cxx:1382
 AliVZEROv7.cxx:1383
 AliVZEROv7.cxx:1384
 AliVZEROv7.cxx:1385
 AliVZEROv7.cxx:1386
 AliVZEROv7.cxx:1387
 AliVZEROv7.cxx:1388
 AliVZEROv7.cxx:1389
 AliVZEROv7.cxx:1390
 AliVZEROv7.cxx:1391
 AliVZEROv7.cxx:1392
 AliVZEROv7.cxx:1393
 AliVZEROv7.cxx:1394
 AliVZEROv7.cxx:1395
 AliVZEROv7.cxx:1396
 AliVZEROv7.cxx:1397
 AliVZEROv7.cxx:1398
 AliVZEROv7.cxx:1399
 AliVZEROv7.cxx:1400
 AliVZEROv7.cxx:1401
 AliVZEROv7.cxx:1402
 AliVZEROv7.cxx:1403
 AliVZEROv7.cxx:1404
 AliVZEROv7.cxx:1405
 AliVZEROv7.cxx:1406
 AliVZEROv7.cxx:1407
 AliVZEROv7.cxx:1408
 AliVZEROv7.cxx:1409
 AliVZEROv7.cxx:1410
 AliVZEROv7.cxx:1411
 AliVZEROv7.cxx:1412
 AliVZEROv7.cxx:1413
 AliVZEROv7.cxx:1414
 AliVZEROv7.cxx:1415
 AliVZEROv7.cxx:1416
 AliVZEROv7.cxx:1417
 AliVZEROv7.cxx:1418
 AliVZEROv7.cxx:1419
 AliVZEROv7.cxx:1420
 AliVZEROv7.cxx:1421
 AliVZEROv7.cxx:1422
 AliVZEROv7.cxx:1423
 AliVZEROv7.cxx:1424
 AliVZEROv7.cxx:1425
 AliVZEROv7.cxx:1426
 AliVZEROv7.cxx:1427
 AliVZEROv7.cxx:1428
 AliVZEROv7.cxx:1429
 AliVZEROv7.cxx:1430
 AliVZEROv7.cxx:1431
 AliVZEROv7.cxx:1432
 AliVZEROv7.cxx:1433
 AliVZEROv7.cxx:1434
 AliVZEROv7.cxx:1435
 AliVZEROv7.cxx:1436
 AliVZEROv7.cxx:1437
 AliVZEROv7.cxx:1438
 AliVZEROv7.cxx:1439
 AliVZEROv7.cxx:1440
 AliVZEROv7.cxx:1441
 AliVZEROv7.cxx:1442
 AliVZEROv7.cxx:1443
 AliVZEROv7.cxx:1444
 AliVZEROv7.cxx:1445
 AliVZEROv7.cxx:1446
 AliVZEROv7.cxx:1447
 AliVZEROv7.cxx:1448
 AliVZEROv7.cxx:1449
 AliVZEROv7.cxx:1450
 AliVZEROv7.cxx:1451
 AliVZEROv7.cxx:1452
 AliVZEROv7.cxx:1453
 AliVZEROv7.cxx:1454
 AliVZEROv7.cxx:1455
 AliVZEROv7.cxx:1456
 AliVZEROv7.cxx:1457
 AliVZEROv7.cxx:1458
 AliVZEROv7.cxx:1459
 AliVZEROv7.cxx:1460
 AliVZEROv7.cxx:1461
 AliVZEROv7.cxx:1462
 AliVZEROv7.cxx:1463
 AliVZEROv7.cxx:1464
 AliVZEROv7.cxx:1465
 AliVZEROv7.cxx:1466
 AliVZEROv7.cxx:1467
 AliVZEROv7.cxx:1468
 AliVZEROv7.cxx:1469
 AliVZEROv7.cxx:1470
 AliVZEROv7.cxx:1471
 AliVZEROv7.cxx:1472
 AliVZEROv7.cxx:1473
 AliVZEROv7.cxx:1474
 AliVZEROv7.cxx:1475
 AliVZEROv7.cxx:1476
 AliVZEROv7.cxx:1477
 AliVZEROv7.cxx:1478
 AliVZEROv7.cxx:1479
 AliVZEROv7.cxx:1480
 AliVZEROv7.cxx:1481
 AliVZEROv7.cxx:1482
 AliVZEROv7.cxx:1483
 AliVZEROv7.cxx:1484
 AliVZEROv7.cxx:1485
 AliVZEROv7.cxx:1486
 AliVZEROv7.cxx:1487
 AliVZEROv7.cxx:1488
 AliVZEROv7.cxx:1489
 AliVZEROv7.cxx:1490
 AliVZEROv7.cxx:1491
 AliVZEROv7.cxx:1492
 AliVZEROv7.cxx:1493
 AliVZEROv7.cxx:1494
 AliVZEROv7.cxx:1495
 AliVZEROv7.cxx:1496
 AliVZEROv7.cxx:1497
 AliVZEROv7.cxx:1498
 AliVZEROv7.cxx:1499
 AliVZEROv7.cxx:1500
 AliVZEROv7.cxx:1501
 AliVZEROv7.cxx:1502
 AliVZEROv7.cxx:1503
 AliVZEROv7.cxx:1504
 AliVZEROv7.cxx:1505
 AliVZEROv7.cxx:1506
 AliVZEROv7.cxx:1507
 AliVZEROv7.cxx:1508
 AliVZEROv7.cxx:1509
 AliVZEROv7.cxx:1510
 AliVZEROv7.cxx:1511
 AliVZEROv7.cxx:1512
 AliVZEROv7.cxx:1513
 AliVZEROv7.cxx:1514
 AliVZEROv7.cxx:1515
 AliVZEROv7.cxx:1516
 AliVZEROv7.cxx:1517
 AliVZEROv7.cxx:1518
 AliVZEROv7.cxx:1519
 AliVZEROv7.cxx:1520
 AliVZEROv7.cxx:1521
 AliVZEROv7.cxx:1522
 AliVZEROv7.cxx:1523
 AliVZEROv7.cxx:1524
 AliVZEROv7.cxx:1525
 AliVZEROv7.cxx:1526
 AliVZEROv7.cxx:1527
 AliVZEROv7.cxx:1528
 AliVZEROv7.cxx:1529
 AliVZEROv7.cxx:1530
 AliVZEROv7.cxx:1531
 AliVZEROv7.cxx:1532
 AliVZEROv7.cxx:1533
 AliVZEROv7.cxx:1534
 AliVZEROv7.cxx:1535
 AliVZEROv7.cxx:1536
 AliVZEROv7.cxx:1537
 AliVZEROv7.cxx:1538
 AliVZEROv7.cxx:1539
 AliVZEROv7.cxx:1540
 AliVZEROv7.cxx:1541
 AliVZEROv7.cxx:1542
 AliVZEROv7.cxx:1543
 AliVZEROv7.cxx:1544
 AliVZEROv7.cxx:1545
 AliVZEROv7.cxx:1546
 AliVZEROv7.cxx:1547
 AliVZEROv7.cxx:1548
 AliVZEROv7.cxx:1549
 AliVZEROv7.cxx:1550
 AliVZEROv7.cxx:1551
 AliVZEROv7.cxx:1552
 AliVZEROv7.cxx:1553
 AliVZEROv7.cxx:1554
 AliVZEROv7.cxx:1555
 AliVZEROv7.cxx:1556
 AliVZEROv7.cxx:1557
 AliVZEROv7.cxx:1558
 AliVZEROv7.cxx:1559
 AliVZEROv7.cxx:1560
 AliVZEROv7.cxx:1561
 AliVZEROv7.cxx:1562
 AliVZEROv7.cxx:1563
 AliVZEROv7.cxx:1564
 AliVZEROv7.cxx:1565
 AliVZEROv7.cxx:1566
 AliVZEROv7.cxx:1567
 AliVZEROv7.cxx:1568
 AliVZEROv7.cxx:1569
 AliVZEROv7.cxx:1570
 AliVZEROv7.cxx:1571
 AliVZEROv7.cxx:1572
 AliVZEROv7.cxx:1573
 AliVZEROv7.cxx:1574
 AliVZEROv7.cxx:1575
 AliVZEROv7.cxx:1576
 AliVZEROv7.cxx:1577
 AliVZEROv7.cxx:1578
 AliVZEROv7.cxx:1579
 AliVZEROv7.cxx:1580
 AliVZEROv7.cxx:1581
 AliVZEROv7.cxx:1582
 AliVZEROv7.cxx:1583
 AliVZEROv7.cxx:1584
 AliVZEROv7.cxx:1585
 AliVZEROv7.cxx:1586
 AliVZEROv7.cxx:1587
 AliVZEROv7.cxx:1588
 AliVZEROv7.cxx:1589
 AliVZEROv7.cxx:1590
 AliVZEROv7.cxx:1591
 AliVZEROv7.cxx:1592
 AliVZEROv7.cxx:1593
 AliVZEROv7.cxx:1594
 AliVZEROv7.cxx:1595
 AliVZEROv7.cxx:1596
 AliVZEROv7.cxx:1597
 AliVZEROv7.cxx:1598
 AliVZEROv7.cxx:1599
 AliVZEROv7.cxx:1600
 AliVZEROv7.cxx:1601
 AliVZEROv7.cxx:1602
 AliVZEROv7.cxx:1603
 AliVZEROv7.cxx:1604
 AliVZEROv7.cxx:1605
 AliVZEROv7.cxx:1606
 AliVZEROv7.cxx:1607
 AliVZEROv7.cxx:1608
 AliVZEROv7.cxx:1609
 AliVZEROv7.cxx:1610
 AliVZEROv7.cxx:1611
 AliVZEROv7.cxx:1612
 AliVZEROv7.cxx:1613
 AliVZEROv7.cxx:1614
 AliVZEROv7.cxx:1615
 AliVZEROv7.cxx:1616
 AliVZEROv7.cxx:1617
 AliVZEROv7.cxx:1618
 AliVZEROv7.cxx:1619
 AliVZEROv7.cxx:1620
 AliVZEROv7.cxx:1621
 AliVZEROv7.cxx:1622
 AliVZEROv7.cxx:1623
 AliVZEROv7.cxx:1624
 AliVZEROv7.cxx:1625
 AliVZEROv7.cxx:1626
 AliVZEROv7.cxx:1627
 AliVZEROv7.cxx:1628
 AliVZEROv7.cxx:1629
 AliVZEROv7.cxx:1630
 AliVZEROv7.cxx:1631
 AliVZEROv7.cxx:1632
 AliVZEROv7.cxx:1633
 AliVZEROv7.cxx:1634
 AliVZEROv7.cxx:1635
 AliVZEROv7.cxx:1636
 AliVZEROv7.cxx:1637
 AliVZEROv7.cxx:1638
 AliVZEROv7.cxx:1639
 AliVZEROv7.cxx:1640
 AliVZEROv7.cxx:1641
 AliVZEROv7.cxx:1642
 AliVZEROv7.cxx:1643
 AliVZEROv7.cxx:1644
 AliVZEROv7.cxx:1645
 AliVZEROv7.cxx:1646
 AliVZEROv7.cxx:1647
 AliVZEROv7.cxx:1648
 AliVZEROv7.cxx:1649
 AliVZEROv7.cxx:1650
 AliVZEROv7.cxx:1651
 AliVZEROv7.cxx:1652
 AliVZEROv7.cxx:1653
 AliVZEROv7.cxx:1654
 AliVZEROv7.cxx:1655
 AliVZEROv7.cxx:1656
 AliVZEROv7.cxx:1657
 AliVZEROv7.cxx:1658
 AliVZEROv7.cxx:1659
 AliVZEROv7.cxx:1660
 AliVZEROv7.cxx:1661
 AliVZEROv7.cxx:1662
 AliVZEROv7.cxx:1663
 AliVZEROv7.cxx:1664
 AliVZEROv7.cxx:1665
 AliVZEROv7.cxx:1666
 AliVZEROv7.cxx:1667
 AliVZEROv7.cxx:1668
 AliVZEROv7.cxx:1669
 AliVZEROv7.cxx:1670
 AliVZEROv7.cxx:1671
 AliVZEROv7.cxx:1672
 AliVZEROv7.cxx:1673
 AliVZEROv7.cxx:1674
 AliVZEROv7.cxx:1675
 AliVZEROv7.cxx:1676
 AliVZEROv7.cxx:1677
 AliVZEROv7.cxx:1678
 AliVZEROv7.cxx:1679
 AliVZEROv7.cxx:1680
 AliVZEROv7.cxx:1681
 AliVZEROv7.cxx:1682
 AliVZEROv7.cxx:1683
 AliVZEROv7.cxx:1684
 AliVZEROv7.cxx:1685
 AliVZEROv7.cxx:1686
 AliVZEROv7.cxx:1687
 AliVZEROv7.cxx:1688
 AliVZEROv7.cxx:1689
 AliVZEROv7.cxx:1690
 AliVZEROv7.cxx:1691
 AliVZEROv7.cxx:1692
 AliVZEROv7.cxx:1693
 AliVZEROv7.cxx:1694
 AliVZEROv7.cxx:1695
 AliVZEROv7.cxx:1696
 AliVZEROv7.cxx:1697
 AliVZEROv7.cxx:1698
 AliVZEROv7.cxx:1699
 AliVZEROv7.cxx:1700
 AliVZEROv7.cxx:1701
 AliVZEROv7.cxx:1702
 AliVZEROv7.cxx:1703
 AliVZEROv7.cxx:1704
 AliVZEROv7.cxx:1705
 AliVZEROv7.cxx:1706
 AliVZEROv7.cxx:1707
 AliVZEROv7.cxx:1708
 AliVZEROv7.cxx:1709
 AliVZEROv7.cxx:1710
 AliVZEROv7.cxx:1711
 AliVZEROv7.cxx:1712
 AliVZEROv7.cxx:1713
 AliVZEROv7.cxx:1714
 AliVZEROv7.cxx:1715
 AliVZEROv7.cxx:1716
 AliVZEROv7.cxx:1717
 AliVZEROv7.cxx:1718
 AliVZEROv7.cxx:1719
 AliVZEROv7.cxx:1720
 AliVZEROv7.cxx:1721
 AliVZEROv7.cxx:1722
 AliVZEROv7.cxx:1723
 AliVZEROv7.cxx:1724
 AliVZEROv7.cxx:1725
 AliVZEROv7.cxx:1726
 AliVZEROv7.cxx:1727
 AliVZEROv7.cxx:1728
 AliVZEROv7.cxx:1729
 AliVZEROv7.cxx:1730
 AliVZEROv7.cxx:1731
 AliVZEROv7.cxx:1732
 AliVZEROv7.cxx:1733
 AliVZEROv7.cxx:1734
 AliVZEROv7.cxx:1735
 AliVZEROv7.cxx:1736
 AliVZEROv7.cxx:1737
 AliVZEROv7.cxx:1738
 AliVZEROv7.cxx:1739
 AliVZEROv7.cxx:1740
 AliVZEROv7.cxx:1741
 AliVZEROv7.cxx:1742
 AliVZEROv7.cxx:1743
 AliVZEROv7.cxx:1744
 AliVZEROv7.cxx:1745
 AliVZEROv7.cxx:1746
 AliVZEROv7.cxx:1747
 AliVZEROv7.cxx:1748
 AliVZEROv7.cxx:1749
 AliVZEROv7.cxx:1750
 AliVZEROv7.cxx:1751
 AliVZEROv7.cxx:1752
 AliVZEROv7.cxx:1753
 AliVZEROv7.cxx:1754
 AliVZEROv7.cxx:1755
 AliVZEROv7.cxx:1756
 AliVZEROv7.cxx:1757
 AliVZEROv7.cxx:1758
 AliVZEROv7.cxx:1759
 AliVZEROv7.cxx:1760
 AliVZEROv7.cxx:1761
 AliVZEROv7.cxx:1762
 AliVZEROv7.cxx:1763
 AliVZEROv7.cxx:1764
 AliVZEROv7.cxx:1765
 AliVZEROv7.cxx:1766
 AliVZEROv7.cxx:1767
 AliVZEROv7.cxx:1768
 AliVZEROv7.cxx:1769
 AliVZEROv7.cxx:1770
 AliVZEROv7.cxx:1771
 AliVZEROv7.cxx:1772
 AliVZEROv7.cxx:1773
 AliVZEROv7.cxx:1774
 AliVZEROv7.cxx:1775
 AliVZEROv7.cxx:1776
 AliVZEROv7.cxx:1777
 AliVZEROv7.cxx:1778
 AliVZEROv7.cxx:1779
 AliVZEROv7.cxx:1780
 AliVZEROv7.cxx:1781
 AliVZEROv7.cxx:1782
 AliVZEROv7.cxx:1783
 AliVZEROv7.cxx:1784
 AliVZEROv7.cxx:1785
 AliVZEROv7.cxx:1786
 AliVZEROv7.cxx:1787
 AliVZEROv7.cxx:1788
 AliVZEROv7.cxx:1789
 AliVZEROv7.cxx:1790
 AliVZEROv7.cxx:1791
 AliVZEROv7.cxx:1792
 AliVZEROv7.cxx:1793
 AliVZEROv7.cxx:1794
 AliVZEROv7.cxx:1795
 AliVZEROv7.cxx:1796
 AliVZEROv7.cxx:1797
 AliVZEROv7.cxx:1798
 AliVZEROv7.cxx:1799
 AliVZEROv7.cxx:1800
 AliVZEROv7.cxx:1801
 AliVZEROv7.cxx:1802
 AliVZEROv7.cxx:1803
 AliVZEROv7.cxx:1804
 AliVZEROv7.cxx:1805
 AliVZEROv7.cxx:1806
 AliVZEROv7.cxx:1807
 AliVZEROv7.cxx:1808
 AliVZEROv7.cxx:1809
 AliVZEROv7.cxx:1810
 AliVZEROv7.cxx:1811
 AliVZEROv7.cxx:1812
 AliVZEROv7.cxx:1813
 AliVZEROv7.cxx:1814
 AliVZEROv7.cxx:1815
 AliVZEROv7.cxx:1816
 AliVZEROv7.cxx:1817
 AliVZEROv7.cxx:1818
 AliVZEROv7.cxx:1819
 AliVZEROv7.cxx:1820
 AliVZEROv7.cxx:1821
 AliVZEROv7.cxx:1822
 AliVZEROv7.cxx:1823
 AliVZEROv7.cxx:1824
 AliVZEROv7.cxx:1825
 AliVZEROv7.cxx:1826
 AliVZEROv7.cxx:1827
 AliVZEROv7.cxx:1828
 AliVZEROv7.cxx:1829
 AliVZEROv7.cxx:1830
 AliVZEROv7.cxx:1831
 AliVZEROv7.cxx:1832
 AliVZEROv7.cxx:1833
 AliVZEROv7.cxx:1834
 AliVZEROv7.cxx:1835
 AliVZEROv7.cxx:1836
 AliVZEROv7.cxx:1837
 AliVZEROv7.cxx:1838
 AliVZEROv7.cxx:1839
 AliVZEROv7.cxx:1840
 AliVZEROv7.cxx:1841
 AliVZEROv7.cxx:1842
 AliVZEROv7.cxx:1843
 AliVZEROv7.cxx:1844
 AliVZEROv7.cxx:1845
 AliVZEROv7.cxx:1846
 AliVZEROv7.cxx:1847
 AliVZEROv7.cxx:1848
 AliVZEROv7.cxx:1849
 AliVZEROv7.cxx:1850
 AliVZEROv7.cxx:1851
 AliVZEROv7.cxx:1852
 AliVZEROv7.cxx:1853
 AliVZEROv7.cxx:1854
 AliVZEROv7.cxx:1855
 AliVZEROv7.cxx:1856
 AliVZEROv7.cxx:1857
 AliVZEROv7.cxx:1858
 AliVZEROv7.cxx:1859
 AliVZEROv7.cxx:1860
 AliVZEROv7.cxx:1861
 AliVZEROv7.cxx:1862
 AliVZEROv7.cxx:1863
 AliVZEROv7.cxx:1864
 AliVZEROv7.cxx:1865
 AliVZEROv7.cxx:1866
 AliVZEROv7.cxx:1867
 AliVZEROv7.cxx:1868
 AliVZEROv7.cxx:1869
 AliVZEROv7.cxx:1870
 AliVZEROv7.cxx:1871
 AliVZEROv7.cxx:1872
 AliVZEROv7.cxx:1873
 AliVZEROv7.cxx:1874
 AliVZEROv7.cxx:1875
 AliVZEROv7.cxx:1876
 AliVZEROv7.cxx:1877
 AliVZEROv7.cxx:1878
 AliVZEROv7.cxx:1879
 AliVZEROv7.cxx:1880
 AliVZEROv7.cxx:1881
 AliVZEROv7.cxx:1882
 AliVZEROv7.cxx:1883
 AliVZEROv7.cxx:1884
 AliVZEROv7.cxx:1885
 AliVZEROv7.cxx:1886
 AliVZEROv7.cxx:1887
 AliVZEROv7.cxx:1888
 AliVZEROv7.cxx:1889
 AliVZEROv7.cxx:1890
 AliVZEROv7.cxx:1891
 AliVZEROv7.cxx:1892
 AliVZEROv7.cxx:1893
 AliVZEROv7.cxx:1894
 AliVZEROv7.cxx:1895
 AliVZEROv7.cxx:1896
 AliVZEROv7.cxx:1897
 AliVZEROv7.cxx:1898
 AliVZEROv7.cxx:1899
 AliVZEROv7.cxx:1900
 AliVZEROv7.cxx:1901
 AliVZEROv7.cxx:1902
 AliVZEROv7.cxx:1903
 AliVZEROv7.cxx:1904
 AliVZEROv7.cxx:1905
 AliVZEROv7.cxx:1906
 AliVZEROv7.cxx:1907
 AliVZEROv7.cxx:1908
 AliVZEROv7.cxx:1909
 AliVZEROv7.cxx:1910
 AliVZEROv7.cxx:1911
 AliVZEROv7.cxx:1912
 AliVZEROv7.cxx:1913
 AliVZEROv7.cxx:1914
 AliVZEROv7.cxx:1915
 AliVZEROv7.cxx:1916
 AliVZEROv7.cxx:1917
 AliVZEROv7.cxx:1918
 AliVZEROv7.cxx:1919
 AliVZEROv7.cxx:1920
 AliVZEROv7.cxx:1921
 AliVZEROv7.cxx:1922
 AliVZEROv7.cxx:1923
 AliVZEROv7.cxx:1924
 AliVZEROv7.cxx:1925
 AliVZEROv7.cxx:1926
 AliVZEROv7.cxx:1927
 AliVZEROv7.cxx:1928
 AliVZEROv7.cxx:1929
 AliVZEROv7.cxx:1930
 AliVZEROv7.cxx:1931
 AliVZEROv7.cxx:1932
 AliVZEROv7.cxx:1933
 AliVZEROv7.cxx:1934
 AliVZEROv7.cxx:1935
 AliVZEROv7.cxx:1936
 AliVZEROv7.cxx:1937
 AliVZEROv7.cxx:1938
 AliVZEROv7.cxx:1939
 AliVZEROv7.cxx:1940
 AliVZEROv7.cxx:1941
 AliVZEROv7.cxx:1942
 AliVZEROv7.cxx:1943
 AliVZEROv7.cxx:1944
 AliVZEROv7.cxx:1945
 AliVZEROv7.cxx:1946
 AliVZEROv7.cxx:1947
 AliVZEROv7.cxx:1948
 AliVZEROv7.cxx:1949
 AliVZEROv7.cxx:1950
 AliVZEROv7.cxx:1951
 AliVZEROv7.cxx:1952
 AliVZEROv7.cxx:1953
 AliVZEROv7.cxx:1954
 AliVZEROv7.cxx:1955
 AliVZEROv7.cxx:1956
 AliVZEROv7.cxx:1957
 AliVZEROv7.cxx:1958
 AliVZEROv7.cxx:1959
 AliVZEROv7.cxx:1960
 AliVZEROv7.cxx:1961
 AliVZEROv7.cxx:1962
 AliVZEROv7.cxx:1963
 AliVZEROv7.cxx:1964
 AliVZEROv7.cxx:1965
 AliVZEROv7.cxx:1966
 AliVZEROv7.cxx:1967
 AliVZEROv7.cxx:1968
 AliVZEROv7.cxx:1969
 AliVZEROv7.cxx:1970
 AliVZEROv7.cxx:1971
 AliVZEROv7.cxx:1972
 AliVZEROv7.cxx:1973
 AliVZEROv7.cxx:1974
 AliVZEROv7.cxx:1975
 AliVZEROv7.cxx:1976
 AliVZEROv7.cxx:1977
 AliVZEROv7.cxx:1978
 AliVZEROv7.cxx:1979
 AliVZEROv7.cxx:1980
 AliVZEROv7.cxx:1981
 AliVZEROv7.cxx:1982
 AliVZEROv7.cxx:1983
 AliVZEROv7.cxx:1984
 AliVZEROv7.cxx:1985
 AliVZEROv7.cxx:1986
 AliVZEROv7.cxx:1987
 AliVZEROv7.cxx:1988
 AliVZEROv7.cxx:1989
 AliVZEROv7.cxx:1990
 AliVZEROv7.cxx:1991
 AliVZEROv7.cxx:1992
 AliVZEROv7.cxx:1993
 AliVZEROv7.cxx:1994
 AliVZEROv7.cxx:1995
 AliVZEROv7.cxx:1996
 AliVZEROv7.cxx:1997
 AliVZEROv7.cxx:1998
 AliVZEROv7.cxx:1999
 AliVZEROv7.cxx:2000
 AliVZEROv7.cxx:2001
 AliVZEROv7.cxx:2002
 AliVZEROv7.cxx:2003
 AliVZEROv7.cxx:2004
 AliVZEROv7.cxx:2005
 AliVZEROv7.cxx:2006
 AliVZEROv7.cxx:2007
 AliVZEROv7.cxx:2008
 AliVZEROv7.cxx:2009
 AliVZEROv7.cxx:2010
 AliVZEROv7.cxx:2011
 AliVZEROv7.cxx:2012
 AliVZEROv7.cxx:2013
 AliVZEROv7.cxx:2014
 AliVZEROv7.cxx:2015
 AliVZEROv7.cxx:2016
 AliVZEROv7.cxx:2017
 AliVZEROv7.cxx:2018
 AliVZEROv7.cxx:2019
 AliVZEROv7.cxx:2020
 AliVZEROv7.cxx:2021
 AliVZEROv7.cxx:2022
 AliVZEROv7.cxx:2023
 AliVZEROv7.cxx:2024
 AliVZEROv7.cxx:2025
 AliVZEROv7.cxx:2026
 AliVZEROv7.cxx:2027
 AliVZEROv7.cxx:2028
 AliVZEROv7.cxx:2029
 AliVZEROv7.cxx:2030
 AliVZEROv7.cxx:2031
 AliVZEROv7.cxx:2032
 AliVZEROv7.cxx:2033
 AliVZEROv7.cxx:2034
 AliVZEROv7.cxx:2035
 AliVZEROv7.cxx:2036
 AliVZEROv7.cxx:2037
 AliVZEROv7.cxx:2038
 AliVZEROv7.cxx:2039
 AliVZEROv7.cxx:2040
 AliVZEROv7.cxx:2041
 AliVZEROv7.cxx:2042
 AliVZEROv7.cxx:2043
 AliVZEROv7.cxx:2044
 AliVZEROv7.cxx:2045
 AliVZEROv7.cxx:2046
 AliVZEROv7.cxx:2047
 AliVZEROv7.cxx:2048
 AliVZEROv7.cxx:2049
 AliVZEROv7.cxx:2050
 AliVZEROv7.cxx:2051
 AliVZEROv7.cxx:2052
 AliVZEROv7.cxx:2053
 AliVZEROv7.cxx:2054
 AliVZEROv7.cxx:2055
 AliVZEROv7.cxx:2056
 AliVZEROv7.cxx:2057
 AliVZEROv7.cxx:2058
 AliVZEROv7.cxx:2059
 AliVZEROv7.cxx:2060
 AliVZEROv7.cxx:2061
 AliVZEROv7.cxx:2062
 AliVZEROv7.cxx:2063
 AliVZEROv7.cxx:2064
 AliVZEROv7.cxx:2065
 AliVZEROv7.cxx:2066
 AliVZEROv7.cxx:2067
 AliVZEROv7.cxx:2068
 AliVZEROv7.cxx:2069
 AliVZEROv7.cxx:2070
 AliVZEROv7.cxx:2071
 AliVZEROv7.cxx:2072
 AliVZEROv7.cxx:2073
 AliVZEROv7.cxx:2074
 AliVZEROv7.cxx:2075
 AliVZEROv7.cxx:2076
 AliVZEROv7.cxx:2077
 AliVZEROv7.cxx:2078
 AliVZEROv7.cxx:2079
 AliVZEROv7.cxx:2080
 AliVZEROv7.cxx:2081
 AliVZEROv7.cxx:2082
 AliVZEROv7.cxx:2083
 AliVZEROv7.cxx:2084
 AliVZEROv7.cxx:2085
 AliVZEROv7.cxx:2086
 AliVZEROv7.cxx:2087
 AliVZEROv7.cxx:2088
 AliVZEROv7.cxx:2089
 AliVZEROv7.cxx:2090
 AliVZEROv7.cxx:2091
 AliVZEROv7.cxx:2092
 AliVZEROv7.cxx:2093
 AliVZEROv7.cxx:2094
 AliVZEROv7.cxx:2095
 AliVZEROv7.cxx:2096
 AliVZEROv7.cxx:2097
 AliVZEROv7.cxx:2098
 AliVZEROv7.cxx:2099
 AliVZEROv7.cxx:2100
 AliVZEROv7.cxx:2101
 AliVZEROv7.cxx:2102
 AliVZEROv7.cxx:2103
 AliVZEROv7.cxx:2104
 AliVZEROv7.cxx:2105
 AliVZEROv7.cxx:2106
 AliVZEROv7.cxx:2107
 AliVZEROv7.cxx:2108
 AliVZEROv7.cxx:2109
 AliVZEROv7.cxx:2110
 AliVZEROv7.cxx:2111
 AliVZEROv7.cxx:2112
 AliVZEROv7.cxx:2113
 AliVZEROv7.cxx:2114
 AliVZEROv7.cxx:2115
 AliVZEROv7.cxx:2116
 AliVZEROv7.cxx:2117
 AliVZEROv7.cxx:2118
 AliVZEROv7.cxx:2119
 AliVZEROv7.cxx:2120
 AliVZEROv7.cxx:2121
 AliVZEROv7.cxx:2122
 AliVZEROv7.cxx:2123
 AliVZEROv7.cxx:2124
 AliVZEROv7.cxx:2125
 AliVZEROv7.cxx:2126
 AliVZEROv7.cxx:2127
 AliVZEROv7.cxx:2128
 AliVZEROv7.cxx:2129
 AliVZEROv7.cxx:2130
 AliVZEROv7.cxx:2131
 AliVZEROv7.cxx:2132
 AliVZEROv7.cxx:2133
 AliVZEROv7.cxx:2134
 AliVZEROv7.cxx:2135
 AliVZEROv7.cxx:2136
 AliVZEROv7.cxx:2137
 AliVZEROv7.cxx:2138
 AliVZEROv7.cxx:2139
 AliVZEROv7.cxx:2140
 AliVZEROv7.cxx:2141
 AliVZEROv7.cxx:2142
 AliVZEROv7.cxx:2143
 AliVZEROv7.cxx:2144
 AliVZEROv7.cxx:2145
 AliVZEROv7.cxx:2146
 AliVZEROv7.cxx:2147
 AliVZEROv7.cxx:2148
 AliVZEROv7.cxx:2149
 AliVZEROv7.cxx:2150
 AliVZEROv7.cxx:2151
 AliVZEROv7.cxx:2152
 AliVZEROv7.cxx:2153
 AliVZEROv7.cxx:2154
 AliVZEROv7.cxx:2155
 AliVZEROv7.cxx:2156
 AliVZEROv7.cxx:2157
 AliVZEROv7.cxx:2158
 AliVZEROv7.cxx:2159
 AliVZEROv7.cxx:2160
 AliVZEROv7.cxx:2161
 AliVZEROv7.cxx:2162
 AliVZEROv7.cxx:2163
 AliVZEROv7.cxx:2164
 AliVZEROv7.cxx:2165
 AliVZEROv7.cxx:2166
 AliVZEROv7.cxx:2167
 AliVZEROv7.cxx:2168
 AliVZEROv7.cxx:2169
 AliVZEROv7.cxx:2170
 AliVZEROv7.cxx:2171
 AliVZEROv7.cxx:2172
 AliVZEROv7.cxx:2173
 AliVZEROv7.cxx:2174
 AliVZEROv7.cxx:2175
 AliVZEROv7.cxx:2176
 AliVZEROv7.cxx:2177
 AliVZEROv7.cxx:2178
 AliVZEROv7.cxx:2179
 AliVZEROv7.cxx:2180
 AliVZEROv7.cxx:2181
 AliVZEROv7.cxx:2182
 AliVZEROv7.cxx:2183
 AliVZEROv7.cxx:2184
 AliVZEROv7.cxx:2185
 AliVZEROv7.cxx:2186
 AliVZEROv7.cxx:2187
 AliVZEROv7.cxx:2188
 AliVZEROv7.cxx:2189
 AliVZEROv7.cxx:2190
 AliVZEROv7.cxx:2191
 AliVZEROv7.cxx:2192
 AliVZEROv7.cxx:2193
 AliVZEROv7.cxx:2194
 AliVZEROv7.cxx:2195
 AliVZEROv7.cxx:2196
 AliVZEROv7.cxx:2197
 AliVZEROv7.cxx:2198
 AliVZEROv7.cxx:2199
 AliVZEROv7.cxx:2200
 AliVZEROv7.cxx:2201
 AliVZEROv7.cxx:2202
 AliVZEROv7.cxx:2203
 AliVZEROv7.cxx:2204
 AliVZEROv7.cxx:2205
 AliVZEROv7.cxx:2206
 AliVZEROv7.cxx:2207
 AliVZEROv7.cxx:2208
 AliVZEROv7.cxx:2209
 AliVZEROv7.cxx:2210
 AliVZEROv7.cxx:2211
 AliVZEROv7.cxx:2212
 AliVZEROv7.cxx:2213
 AliVZEROv7.cxx:2214
 AliVZEROv7.cxx:2215
 AliVZEROv7.cxx:2216
 AliVZEROv7.cxx:2217
 AliVZEROv7.cxx:2218
 AliVZEROv7.cxx:2219
 AliVZEROv7.cxx:2220
 AliVZEROv7.cxx:2221
 AliVZEROv7.cxx:2222
 AliVZEROv7.cxx:2223
 AliVZEROv7.cxx:2224
 AliVZEROv7.cxx:2225
 AliVZEROv7.cxx:2226
 AliVZEROv7.cxx:2227
 AliVZEROv7.cxx:2228
 AliVZEROv7.cxx:2229
 AliVZEROv7.cxx:2230
 AliVZEROv7.cxx:2231
 AliVZEROv7.cxx:2232
 AliVZEROv7.cxx:2233
 AliVZEROv7.cxx:2234
 AliVZEROv7.cxx:2235
 AliVZEROv7.cxx:2236
 AliVZEROv7.cxx:2237
 AliVZEROv7.cxx:2238
 AliVZEROv7.cxx:2239
 AliVZEROv7.cxx:2240
 AliVZEROv7.cxx:2241
 AliVZEROv7.cxx:2242
 AliVZEROv7.cxx:2243
 AliVZEROv7.cxx:2244
 AliVZEROv7.cxx:2245
 AliVZEROv7.cxx:2246
 AliVZEROv7.cxx:2247
 AliVZEROv7.cxx:2248
 AliVZEROv7.cxx:2249
 AliVZEROv7.cxx:2250
 AliVZEROv7.cxx:2251
 AliVZEROv7.cxx:2252
 AliVZEROv7.cxx:2253
 AliVZEROv7.cxx:2254
 AliVZEROv7.cxx:2255
 AliVZEROv7.cxx:2256
 AliVZEROv7.cxx:2257
 AliVZEROv7.cxx:2258
 AliVZEROv7.cxx:2259
 AliVZEROv7.cxx:2260
 AliVZEROv7.cxx:2261
 AliVZEROv7.cxx:2262
 AliVZEROv7.cxx:2263
 AliVZEROv7.cxx:2264
 AliVZEROv7.cxx:2265
 AliVZEROv7.cxx:2266
 AliVZEROv7.cxx:2267
 AliVZEROv7.cxx:2268
 AliVZEROv7.cxx:2269
 AliVZEROv7.cxx:2270
 AliVZEROv7.cxx:2271
 AliVZEROv7.cxx:2272
 AliVZEROv7.cxx:2273
 AliVZEROv7.cxx:2274
 AliVZEROv7.cxx:2275
 AliVZEROv7.cxx:2276
 AliVZEROv7.cxx:2277
 AliVZEROv7.cxx:2278
 AliVZEROv7.cxx:2279
 AliVZEROv7.cxx:2280
 AliVZEROv7.cxx:2281
 AliVZEROv7.cxx:2282
 AliVZEROv7.cxx:2283
 AliVZEROv7.cxx:2284
 AliVZEROv7.cxx:2285
 AliVZEROv7.cxx:2286
 AliVZEROv7.cxx:2287
 AliVZEROv7.cxx:2288
 AliVZEROv7.cxx:2289
 AliVZEROv7.cxx:2290
 AliVZEROv7.cxx:2291
 AliVZEROv7.cxx:2292
 AliVZEROv7.cxx:2293
 AliVZEROv7.cxx:2294
 AliVZEROv7.cxx:2295
 AliVZEROv7.cxx:2296
 AliVZEROv7.cxx:2297
 AliVZEROv7.cxx:2298
 AliVZEROv7.cxx:2299
 AliVZEROv7.cxx:2300
 AliVZEROv7.cxx:2301
 AliVZEROv7.cxx:2302
 AliVZEROv7.cxx:2303
 AliVZEROv7.cxx:2304
 AliVZEROv7.cxx:2305
 AliVZEROv7.cxx:2306
 AliVZEROv7.cxx:2307
 AliVZEROv7.cxx:2308
 AliVZEROv7.cxx:2309
 AliVZEROv7.cxx:2310
 AliVZEROv7.cxx:2311
 AliVZEROv7.cxx:2312
 AliVZEROv7.cxx:2313
 AliVZEROv7.cxx:2314
 AliVZEROv7.cxx:2315
 AliVZEROv7.cxx:2316
 AliVZEROv7.cxx:2317
 AliVZEROv7.cxx:2318
 AliVZEROv7.cxx:2319
 AliVZEROv7.cxx:2320
 AliVZEROv7.cxx:2321
 AliVZEROv7.cxx:2322
 AliVZEROv7.cxx:2323
 AliVZEROv7.cxx:2324
 AliVZEROv7.cxx:2325
 AliVZEROv7.cxx:2326
 AliVZEROv7.cxx:2327
 AliVZEROv7.cxx:2328
 AliVZEROv7.cxx:2329
 AliVZEROv7.cxx:2330
 AliVZEROv7.cxx:2331
 AliVZEROv7.cxx:2332
 AliVZEROv7.cxx:2333
 AliVZEROv7.cxx:2334
 AliVZEROv7.cxx:2335
 AliVZEROv7.cxx:2336
 AliVZEROv7.cxx:2337
 AliVZEROv7.cxx:2338
 AliVZEROv7.cxx:2339
 AliVZEROv7.cxx:2340
 AliVZEROv7.cxx:2341
 AliVZEROv7.cxx:2342
 AliVZEROv7.cxx:2343
 AliVZEROv7.cxx:2344
 AliVZEROv7.cxx:2345
 AliVZEROv7.cxx:2346
 AliVZEROv7.cxx:2347
 AliVZEROv7.cxx:2348
 AliVZEROv7.cxx:2349
 AliVZEROv7.cxx:2350
 AliVZEROv7.cxx:2351
 AliVZEROv7.cxx:2352
 AliVZEROv7.cxx:2353
 AliVZEROv7.cxx:2354
 AliVZEROv7.cxx:2355
 AliVZEROv7.cxx:2356
 AliVZEROv7.cxx:2357
 AliVZEROv7.cxx:2358
 AliVZEROv7.cxx:2359
 AliVZEROv7.cxx:2360
 AliVZEROv7.cxx:2361
 AliVZEROv7.cxx:2362
 AliVZEROv7.cxx:2363
 AliVZEROv7.cxx:2364
 AliVZEROv7.cxx:2365
 AliVZEROv7.cxx:2366
 AliVZEROv7.cxx:2367
 AliVZEROv7.cxx:2368
 AliVZEROv7.cxx:2369
 AliVZEROv7.cxx:2370
 AliVZEROv7.cxx:2371
 AliVZEROv7.cxx:2372
 AliVZEROv7.cxx:2373
 AliVZEROv7.cxx:2374
 AliVZEROv7.cxx:2375
 AliVZEROv7.cxx:2376
 AliVZEROv7.cxx:2377
 AliVZEROv7.cxx:2378
 AliVZEROv7.cxx:2379
 AliVZEROv7.cxx:2380
 AliVZEROv7.cxx:2381
 AliVZEROv7.cxx:2382
 AliVZEROv7.cxx:2383
 AliVZEROv7.cxx:2384
 AliVZEROv7.cxx:2385
 AliVZEROv7.cxx:2386
 AliVZEROv7.cxx:2387
 AliVZEROv7.cxx:2388
 AliVZEROv7.cxx:2389
 AliVZEROv7.cxx:2390
 AliVZEROv7.cxx:2391
 AliVZEROv7.cxx:2392
 AliVZEROv7.cxx:2393
 AliVZEROv7.cxx:2394
 AliVZEROv7.cxx:2395
 AliVZEROv7.cxx:2396
 AliVZEROv7.cxx:2397
 AliVZEROv7.cxx:2398
 AliVZEROv7.cxx:2399
 AliVZEROv7.cxx:2400
 AliVZEROv7.cxx:2401
 AliVZEROv7.cxx:2402
 AliVZEROv7.cxx:2403
 AliVZEROv7.cxx:2404
 AliVZEROv7.cxx:2405
 AliVZEROv7.cxx:2406
 AliVZEROv7.cxx:2407
 AliVZEROv7.cxx:2408
 AliVZEROv7.cxx:2409
 AliVZEROv7.cxx:2410
 AliVZEROv7.cxx:2411
 AliVZEROv7.cxx:2412
 AliVZEROv7.cxx:2413
 AliVZEROv7.cxx:2414
 AliVZEROv7.cxx:2415
 AliVZEROv7.cxx:2416
 AliVZEROv7.cxx:2417
 AliVZEROv7.cxx:2418
 AliVZEROv7.cxx:2419
 AliVZEROv7.cxx:2420
 AliVZEROv7.cxx:2421
 AliVZEROv7.cxx:2422
 AliVZEROv7.cxx:2423
 AliVZEROv7.cxx:2424
 AliVZEROv7.cxx:2425
 AliVZEROv7.cxx:2426
 AliVZEROv7.cxx:2427
 AliVZEROv7.cxx:2428
 AliVZEROv7.cxx:2429
 AliVZEROv7.cxx:2430
 AliVZEROv7.cxx:2431
 AliVZEROv7.cxx:2432
 AliVZEROv7.cxx:2433
 AliVZEROv7.cxx:2434
 AliVZEROv7.cxx:2435
 AliVZEROv7.cxx:2436
 AliVZEROv7.cxx:2437
 AliVZEROv7.cxx:2438
 AliVZEROv7.cxx:2439
 AliVZEROv7.cxx:2440
 AliVZEROv7.cxx:2441
 AliVZEROv7.cxx:2442
 AliVZEROv7.cxx:2443
 AliVZEROv7.cxx:2444
 AliVZEROv7.cxx:2445
 AliVZEROv7.cxx:2446
 AliVZEROv7.cxx:2447
 AliVZEROv7.cxx:2448
 AliVZEROv7.cxx:2449
 AliVZEROv7.cxx:2450
 AliVZEROv7.cxx:2451
 AliVZEROv7.cxx:2452
 AliVZEROv7.cxx:2453
 AliVZEROv7.cxx:2454
 AliVZEROv7.cxx:2455
 AliVZEROv7.cxx:2456
 AliVZEROv7.cxx:2457
 AliVZEROv7.cxx:2458
 AliVZEROv7.cxx:2459
 AliVZEROv7.cxx:2460
 AliVZEROv7.cxx:2461
 AliVZEROv7.cxx:2462
 AliVZEROv7.cxx:2463
 AliVZEROv7.cxx:2464
 AliVZEROv7.cxx:2465
 AliVZEROv7.cxx:2466
 AliVZEROv7.cxx:2467
 AliVZEROv7.cxx:2468
 AliVZEROv7.cxx:2469
 AliVZEROv7.cxx:2470
 AliVZEROv7.cxx:2471
 AliVZEROv7.cxx:2472
 AliVZEROv7.cxx:2473
 AliVZEROv7.cxx:2474
 AliVZEROv7.cxx:2475
 AliVZEROv7.cxx:2476
 AliVZEROv7.cxx:2477
 AliVZEROv7.cxx:2478
 AliVZEROv7.cxx:2479
 AliVZEROv7.cxx:2480
 AliVZEROv7.cxx:2481
 AliVZEROv7.cxx:2482
 AliVZEROv7.cxx:2483
 AliVZEROv7.cxx:2484
 AliVZEROv7.cxx:2485
 AliVZEROv7.cxx:2486
 AliVZEROv7.cxx:2487
 AliVZEROv7.cxx:2488
 AliVZEROv7.cxx:2489
 AliVZEROv7.cxx:2490
 AliVZEROv7.cxx:2491
 AliVZEROv7.cxx:2492
 AliVZEROv7.cxx:2493
 AliVZEROv7.cxx:2494
 AliVZEROv7.cxx:2495
 AliVZEROv7.cxx:2496
 AliVZEROv7.cxx:2497
 AliVZEROv7.cxx:2498
 AliVZEROv7.cxx:2499
 AliVZEROv7.cxx:2500
 AliVZEROv7.cxx:2501
 AliVZEROv7.cxx:2502
 AliVZEROv7.cxx:2503
 AliVZEROv7.cxx:2504
 AliVZEROv7.cxx:2505
 AliVZEROv7.cxx:2506
 AliVZEROv7.cxx:2507
 AliVZEROv7.cxx:2508
 AliVZEROv7.cxx:2509
 AliVZEROv7.cxx:2510
 AliVZEROv7.cxx:2511
 AliVZEROv7.cxx:2512
 AliVZEROv7.cxx:2513
 AliVZEROv7.cxx:2514
 AliVZEROv7.cxx:2515
 AliVZEROv7.cxx:2516
 AliVZEROv7.cxx:2517
 AliVZEROv7.cxx:2518
 AliVZEROv7.cxx:2519
 AliVZEROv7.cxx:2520
 AliVZEROv7.cxx:2521
 AliVZEROv7.cxx:2522
 AliVZEROv7.cxx:2523
 AliVZEROv7.cxx:2524
 AliVZEROv7.cxx:2525
 AliVZEROv7.cxx:2526
 AliVZEROv7.cxx:2527
 AliVZEROv7.cxx:2528
 AliVZEROv7.cxx:2529
 AliVZEROv7.cxx:2530
 AliVZEROv7.cxx:2531
 AliVZEROv7.cxx:2532
 AliVZEROv7.cxx:2533
 AliVZEROv7.cxx:2534
 AliVZEROv7.cxx:2535
 AliVZEROv7.cxx:2536
 AliVZEROv7.cxx:2537
 AliVZEROv7.cxx:2538
 AliVZEROv7.cxx:2539
 AliVZEROv7.cxx:2540
 AliVZEROv7.cxx:2541
 AliVZEROv7.cxx:2542
 AliVZEROv7.cxx:2543
 AliVZEROv7.cxx:2544
 AliVZEROv7.cxx:2545
 AliVZEROv7.cxx:2546
 AliVZEROv7.cxx:2547
 AliVZEROv7.cxx:2548
 AliVZEROv7.cxx:2549
 AliVZEROv7.cxx:2550
 AliVZEROv7.cxx:2551
 AliVZEROv7.cxx:2552
 AliVZEROv7.cxx:2553
 AliVZEROv7.cxx:2554
 AliVZEROv7.cxx:2555
 AliVZEROv7.cxx:2556
 AliVZEROv7.cxx:2557
 AliVZEROv7.cxx:2558
 AliVZEROv7.cxx:2559
 AliVZEROv7.cxx:2560
 AliVZEROv7.cxx:2561
 AliVZEROv7.cxx:2562
 AliVZEROv7.cxx:2563
 AliVZEROv7.cxx:2564
 AliVZEROv7.cxx:2565
 AliVZEROv7.cxx:2566
 AliVZEROv7.cxx:2567
 AliVZEROv7.cxx:2568
 AliVZEROv7.cxx:2569
 AliVZEROv7.cxx:2570
 AliVZEROv7.cxx:2571
 AliVZEROv7.cxx:2572
 AliVZEROv7.cxx:2573
 AliVZEROv7.cxx:2574
 AliVZEROv7.cxx:2575
 AliVZEROv7.cxx:2576
 AliVZEROv7.cxx:2577
 AliVZEROv7.cxx:2578
 AliVZEROv7.cxx:2579
 AliVZEROv7.cxx:2580
 AliVZEROv7.cxx:2581
 AliVZEROv7.cxx:2582
 AliVZEROv7.cxx:2583
 AliVZEROv7.cxx:2584
 AliVZEROv7.cxx:2585
 AliVZEROv7.cxx:2586
 AliVZEROv7.cxx:2587
 AliVZEROv7.cxx:2588
 AliVZEROv7.cxx:2589
 AliVZEROv7.cxx:2590
 AliVZEROv7.cxx:2591
 AliVZEROv7.cxx:2592
 AliVZEROv7.cxx:2593
 AliVZEROv7.cxx:2594
 AliVZEROv7.cxx:2595
 AliVZEROv7.cxx:2596
 AliVZEROv7.cxx:2597
 AliVZEROv7.cxx:2598
 AliVZEROv7.cxx:2599
 AliVZEROv7.cxx:2600
 AliVZEROv7.cxx:2601
 AliVZEROv7.cxx:2602
 AliVZEROv7.cxx:2603
 AliVZEROv7.cxx:2604
 AliVZEROv7.cxx:2605
 AliVZEROv7.cxx:2606
 AliVZEROv7.cxx:2607
 AliVZEROv7.cxx:2608
 AliVZEROv7.cxx:2609
 AliVZEROv7.cxx:2610
 AliVZEROv7.cxx:2611
 AliVZEROv7.cxx:2612
 AliVZEROv7.cxx:2613
 AliVZEROv7.cxx:2614
 AliVZEROv7.cxx:2615
 AliVZEROv7.cxx:2616
 AliVZEROv7.cxx:2617
 AliVZEROv7.cxx:2618
 AliVZEROv7.cxx:2619
 AliVZEROv7.cxx:2620
 AliVZEROv7.cxx:2621
 AliVZEROv7.cxx:2622
 AliVZEROv7.cxx:2623
 AliVZEROv7.cxx:2624
 AliVZEROv7.cxx:2625
 AliVZEROv7.cxx:2626
 AliVZEROv7.cxx:2627
 AliVZEROv7.cxx:2628
 AliVZEROv7.cxx:2629
 AliVZEROv7.cxx:2630
 AliVZEROv7.cxx:2631
 AliVZEROv7.cxx:2632
 AliVZEROv7.cxx:2633
 AliVZEROv7.cxx:2634
 AliVZEROv7.cxx:2635
 AliVZEROv7.cxx:2636
 AliVZEROv7.cxx:2637
 AliVZEROv7.cxx:2638
 AliVZEROv7.cxx:2639
 AliVZEROv7.cxx:2640
 AliVZEROv7.cxx:2641
 AliVZEROv7.cxx:2642
 AliVZEROv7.cxx:2643
 AliVZEROv7.cxx:2644
 AliVZEROv7.cxx:2645
 AliVZEROv7.cxx:2646
 AliVZEROv7.cxx:2647
 AliVZEROv7.cxx:2648
 AliVZEROv7.cxx:2649
 AliVZEROv7.cxx:2650
 AliVZEROv7.cxx:2651
 AliVZEROv7.cxx:2652
 AliVZEROv7.cxx:2653
 AliVZEROv7.cxx:2654
 AliVZEROv7.cxx:2655
 AliVZEROv7.cxx:2656
 AliVZEROv7.cxx:2657
 AliVZEROv7.cxx:2658
 AliVZEROv7.cxx:2659
 AliVZEROv7.cxx:2660
 AliVZEROv7.cxx:2661
 AliVZEROv7.cxx:2662
 AliVZEROv7.cxx:2663
 AliVZEROv7.cxx:2664
 AliVZEROv7.cxx:2665
 AliVZEROv7.cxx:2666
 AliVZEROv7.cxx:2667
 AliVZEROv7.cxx:2668
 AliVZEROv7.cxx:2669
 AliVZEROv7.cxx:2670
 AliVZEROv7.cxx:2671
 AliVZEROv7.cxx:2672
 AliVZEROv7.cxx:2673
 AliVZEROv7.cxx:2674
 AliVZEROv7.cxx:2675
 AliVZEROv7.cxx:2676
 AliVZEROv7.cxx:2677
 AliVZEROv7.cxx:2678
 AliVZEROv7.cxx:2679
 AliVZEROv7.cxx:2680
 AliVZEROv7.cxx:2681
 AliVZEROv7.cxx:2682
 AliVZEROv7.cxx:2683
 AliVZEROv7.cxx:2684
 AliVZEROv7.cxx:2685
 AliVZEROv7.cxx:2686
 AliVZEROv7.cxx:2687
 AliVZEROv7.cxx:2688
 AliVZEROv7.cxx:2689
 AliVZEROv7.cxx:2690
 AliVZEROv7.cxx:2691
 AliVZEROv7.cxx:2692
 AliVZEROv7.cxx:2693
 AliVZEROv7.cxx:2694
 AliVZEROv7.cxx:2695
 AliVZEROv7.cxx:2696
 AliVZEROv7.cxx:2697
 AliVZEROv7.cxx:2698
 AliVZEROv7.cxx:2699
 AliVZEROv7.cxx:2700
 AliVZEROv7.cxx:2701
 AliVZEROv7.cxx:2702
 AliVZEROv7.cxx:2703
 AliVZEROv7.cxx:2704
 AliVZEROv7.cxx:2705
 AliVZEROv7.cxx:2706
 AliVZEROv7.cxx:2707
 AliVZEROv7.cxx:2708
 AliVZEROv7.cxx:2709
 AliVZEROv7.cxx:2710
 AliVZEROv7.cxx:2711
 AliVZEROv7.cxx:2712
 AliVZEROv7.cxx:2713
 AliVZEROv7.cxx:2714
 AliVZEROv7.cxx:2715
 AliVZEROv7.cxx:2716
 AliVZEROv7.cxx:2717
 AliVZEROv7.cxx:2718
 AliVZEROv7.cxx:2719
 AliVZEROv7.cxx:2720
 AliVZEROv7.cxx:2721
 AliVZEROv7.cxx:2722
 AliVZEROv7.cxx:2723
 AliVZEROv7.cxx:2724
 AliVZEROv7.cxx:2725
 AliVZEROv7.cxx:2726
 AliVZEROv7.cxx:2727
 AliVZEROv7.cxx:2728
 AliVZEROv7.cxx:2729
 AliVZEROv7.cxx:2730
 AliVZEROv7.cxx:2731
 AliVZEROv7.cxx:2732
 AliVZEROv7.cxx:2733
 AliVZEROv7.cxx:2734
 AliVZEROv7.cxx:2735
 AliVZEROv7.cxx:2736
 AliVZEROv7.cxx:2737
 AliVZEROv7.cxx:2738
 AliVZEROv7.cxx:2739
 AliVZEROv7.cxx:2740
 AliVZEROv7.cxx:2741
 AliVZEROv7.cxx:2742
 AliVZEROv7.cxx:2743
 AliVZEROv7.cxx:2744
 AliVZEROv7.cxx:2745
 AliVZEROv7.cxx:2746
 AliVZEROv7.cxx:2747
 AliVZEROv7.cxx:2748
 AliVZEROv7.cxx:2749
 AliVZEROv7.cxx:2750
 AliVZEROv7.cxx:2751
 AliVZEROv7.cxx:2752
 AliVZEROv7.cxx:2753
 AliVZEROv7.cxx:2754
 AliVZEROv7.cxx:2755
 AliVZEROv7.cxx:2756
 AliVZEROv7.cxx:2757
 AliVZEROv7.cxx:2758
 AliVZEROv7.cxx:2759
 AliVZEROv7.cxx:2760
 AliVZEROv7.cxx:2761
 AliVZEROv7.cxx:2762
 AliVZEROv7.cxx:2763
 AliVZEROv7.cxx:2764
 AliVZEROv7.cxx:2765
 AliVZEROv7.cxx:2766
 AliVZEROv7.cxx:2767
 AliVZEROv7.cxx:2768
 AliVZEROv7.cxx:2769
 AliVZEROv7.cxx:2770
 AliVZEROv7.cxx:2771
 AliVZEROv7.cxx:2772
 AliVZEROv7.cxx:2773
 AliVZEROv7.cxx:2774
 AliVZEROv7.cxx:2775
 AliVZEROv7.cxx:2776
 AliVZEROv7.cxx:2777
 AliVZEROv7.cxx:2778
 AliVZEROv7.cxx:2779
 AliVZEROv7.cxx:2780
 AliVZEROv7.cxx:2781
 AliVZEROv7.cxx:2782
 AliVZEROv7.cxx:2783
 AliVZEROv7.cxx:2784
 AliVZEROv7.cxx:2785
 AliVZEROv7.cxx:2786
 AliVZEROv7.cxx:2787
 AliVZEROv7.cxx:2788
 AliVZEROv7.cxx:2789
 AliVZEROv7.cxx:2790
 AliVZEROv7.cxx:2791
 AliVZEROv7.cxx:2792
 AliVZEROv7.cxx:2793
 AliVZEROv7.cxx:2794
 AliVZEROv7.cxx:2795
 AliVZEROv7.cxx:2796
 AliVZEROv7.cxx:2797
 AliVZEROv7.cxx:2798
 AliVZEROv7.cxx:2799
 AliVZEROv7.cxx:2800
 AliVZEROv7.cxx:2801
 AliVZEROv7.cxx:2802
 AliVZEROv7.cxx:2803
 AliVZEROv7.cxx:2804
 AliVZEROv7.cxx:2805
 AliVZEROv7.cxx:2806
 AliVZEROv7.cxx:2807
 AliVZEROv7.cxx:2808
 AliVZEROv7.cxx:2809
 AliVZEROv7.cxx:2810
 AliVZEROv7.cxx:2811
 AliVZEROv7.cxx:2812
 AliVZEROv7.cxx:2813
 AliVZEROv7.cxx:2814
 AliVZEROv7.cxx:2815
 AliVZEROv7.cxx:2816
 AliVZEROv7.cxx:2817
 AliVZEROv7.cxx:2818
 AliVZEROv7.cxx:2819
 AliVZEROv7.cxx:2820
 AliVZEROv7.cxx:2821
 AliVZEROv7.cxx:2822
 AliVZEROv7.cxx:2823
 AliVZEROv7.cxx:2824
 AliVZEROv7.cxx:2825
 AliVZEROv7.cxx:2826
 AliVZEROv7.cxx:2827
 AliVZEROv7.cxx:2828
 AliVZEROv7.cxx:2829
 AliVZEROv7.cxx:2830
 AliVZEROv7.cxx:2831
 AliVZEROv7.cxx:2832
 AliVZEROv7.cxx:2833
 AliVZEROv7.cxx:2834
 AliVZEROv7.cxx:2835
 AliVZEROv7.cxx:2836
 AliVZEROv7.cxx:2837
 AliVZEROv7.cxx:2838
 AliVZEROv7.cxx:2839
 AliVZEROv7.cxx:2840
 AliVZEROv7.cxx:2841
 AliVZEROv7.cxx:2842
 AliVZEROv7.cxx:2843
 AliVZEROv7.cxx:2844
 AliVZEROv7.cxx:2845
 AliVZEROv7.cxx:2846
 AliVZEROv7.cxx:2847
 AliVZEROv7.cxx:2848
 AliVZEROv7.cxx:2849
 AliVZEROv7.cxx:2850
 AliVZEROv7.cxx:2851
 AliVZEROv7.cxx:2852
 AliVZEROv7.cxx:2853
 AliVZEROv7.cxx:2854
 AliVZEROv7.cxx:2855
 AliVZEROv7.cxx:2856
 AliVZEROv7.cxx:2857
 AliVZEROv7.cxx:2858
 AliVZEROv7.cxx:2859
 AliVZEROv7.cxx:2860
 AliVZEROv7.cxx:2861
 AliVZEROv7.cxx:2862
 AliVZEROv7.cxx:2863
 AliVZEROv7.cxx:2864
 AliVZEROv7.cxx:2865
 AliVZEROv7.cxx:2866
 AliVZEROv7.cxx:2867
 AliVZEROv7.cxx:2868
 AliVZEROv7.cxx:2869
 AliVZEROv7.cxx:2870
 AliVZEROv7.cxx:2871
 AliVZEROv7.cxx:2872
 AliVZEROv7.cxx:2873
 AliVZEROv7.cxx:2874
 AliVZEROv7.cxx:2875
 AliVZEROv7.cxx:2876
 AliVZEROv7.cxx:2877
 AliVZEROv7.cxx:2878
 AliVZEROv7.cxx:2879
 AliVZEROv7.cxx:2880
 AliVZEROv7.cxx:2881
 AliVZEROv7.cxx:2882
 AliVZEROv7.cxx:2883
 AliVZEROv7.cxx:2884
 AliVZEROv7.cxx:2885
 AliVZEROv7.cxx:2886
 AliVZEROv7.cxx:2887
 AliVZEROv7.cxx:2888
 AliVZEROv7.cxx:2889
 AliVZEROv7.cxx:2890
 AliVZEROv7.cxx:2891
 AliVZEROv7.cxx:2892
 AliVZEROv7.cxx:2893
 AliVZEROv7.cxx:2894
 AliVZEROv7.cxx:2895
 AliVZEROv7.cxx:2896
 AliVZEROv7.cxx:2897
 AliVZEROv7.cxx:2898
 AliVZEROv7.cxx:2899
 AliVZEROv7.cxx:2900
 AliVZEROv7.cxx:2901
 AliVZEROv7.cxx:2902
 AliVZEROv7.cxx:2903
 AliVZEROv7.cxx:2904
 AliVZEROv7.cxx:2905
 AliVZEROv7.cxx:2906
 AliVZEROv7.cxx:2907
 AliVZEROv7.cxx:2908
 AliVZEROv7.cxx:2909
 AliVZEROv7.cxx:2910
 AliVZEROv7.cxx:2911
 AliVZEROv7.cxx:2912
 AliVZEROv7.cxx:2913
 AliVZEROv7.cxx:2914
 AliVZEROv7.cxx:2915
 AliVZEROv7.cxx:2916
 AliVZEROv7.cxx:2917
 AliVZEROv7.cxx:2918
 AliVZEROv7.cxx:2919
 AliVZEROv7.cxx:2920
 AliVZEROv7.cxx:2921
 AliVZEROv7.cxx:2922
 AliVZEROv7.cxx:2923
 AliVZEROv7.cxx:2924
 AliVZEROv7.cxx:2925
 AliVZEROv7.cxx:2926
 AliVZEROv7.cxx:2927
 AliVZEROv7.cxx:2928
 AliVZEROv7.cxx:2929
 AliVZEROv7.cxx:2930
 AliVZEROv7.cxx:2931
 AliVZEROv7.cxx:2932
 AliVZEROv7.cxx:2933
 AliVZEROv7.cxx:2934
 AliVZEROv7.cxx:2935
 AliVZEROv7.cxx:2936
 AliVZEROv7.cxx:2937
 AliVZEROv7.cxx:2938
 AliVZEROv7.cxx:2939
 AliVZEROv7.cxx:2940
 AliVZEROv7.cxx:2941
 AliVZEROv7.cxx:2942
 AliVZEROv7.cxx:2943
 AliVZEROv7.cxx:2944
 AliVZEROv7.cxx:2945
 AliVZEROv7.cxx:2946
 AliVZEROv7.cxx:2947
 AliVZEROv7.cxx:2948
 AliVZEROv7.cxx:2949
 AliVZEROv7.cxx:2950
 AliVZEROv7.cxx:2951
 AliVZEROv7.cxx:2952
 AliVZEROv7.cxx:2953
 AliVZEROv7.cxx:2954
 AliVZEROv7.cxx:2955
 AliVZEROv7.cxx:2956
 AliVZEROv7.cxx:2957
 AliVZEROv7.cxx:2958
 AliVZEROv7.cxx:2959
 AliVZEROv7.cxx:2960
 AliVZEROv7.cxx:2961
 AliVZEROv7.cxx:2962
 AliVZEROv7.cxx:2963
 AliVZEROv7.cxx:2964
 AliVZEROv7.cxx:2965
 AliVZEROv7.cxx:2966
 AliVZEROv7.cxx:2967
 AliVZEROv7.cxx:2968
 AliVZEROv7.cxx:2969
 AliVZEROv7.cxx:2970
 AliVZEROv7.cxx:2971
 AliVZEROv7.cxx:2972
 AliVZEROv7.cxx:2973
 AliVZEROv7.cxx:2974
 AliVZEROv7.cxx:2975
 AliVZEROv7.cxx:2976
 AliVZEROv7.cxx:2977
 AliVZEROv7.cxx:2978
 AliVZEROv7.cxx:2979
 AliVZEROv7.cxx:2980
 AliVZEROv7.cxx:2981
 AliVZEROv7.cxx:2982
 AliVZEROv7.cxx:2983
 AliVZEROv7.cxx:2984
 AliVZEROv7.cxx:2985
 AliVZEROv7.cxx:2986
 AliVZEROv7.cxx:2987
 AliVZEROv7.cxx:2988
 AliVZEROv7.cxx:2989
 AliVZEROv7.cxx:2990
 AliVZEROv7.cxx:2991
 AliVZEROv7.cxx:2992
 AliVZEROv7.cxx:2993
 AliVZEROv7.cxx:2994
 AliVZEROv7.cxx:2995
 AliVZEROv7.cxx:2996
 AliVZEROv7.cxx:2997
 AliVZEROv7.cxx:2998
 AliVZEROv7.cxx:2999
 AliVZEROv7.cxx:3000
 AliVZEROv7.cxx:3001
 AliVZEROv7.cxx:3002
 AliVZEROv7.cxx:3003
 AliVZEROv7.cxx:3004
 AliVZEROv7.cxx:3005
 AliVZEROv7.cxx:3006
 AliVZEROv7.cxx:3007
 AliVZEROv7.cxx:3008
 AliVZEROv7.cxx:3009
 AliVZEROv7.cxx:3010
 AliVZEROv7.cxx:3011
 AliVZEROv7.cxx:3012
 AliVZEROv7.cxx:3013
 AliVZEROv7.cxx:3014
 AliVZEROv7.cxx:3015
 AliVZEROv7.cxx:3016
 AliVZEROv7.cxx:3017
 AliVZEROv7.cxx:3018
 AliVZEROv7.cxx:3019
 AliVZEROv7.cxx:3020
 AliVZEROv7.cxx:3021
 AliVZEROv7.cxx:3022
 AliVZEROv7.cxx:3023
 AliVZEROv7.cxx:3024
 AliVZEROv7.cxx:3025
 AliVZEROv7.cxx:3026
 AliVZEROv7.cxx:3027
 AliVZEROv7.cxx:3028
 AliVZEROv7.cxx:3029
 AliVZEROv7.cxx:3030
 AliVZEROv7.cxx:3031
 AliVZEROv7.cxx:3032
 AliVZEROv7.cxx:3033
 AliVZEROv7.cxx:3034
 AliVZEROv7.cxx:3035
 AliVZEROv7.cxx:3036
 AliVZEROv7.cxx:3037
 AliVZEROv7.cxx:3038
 AliVZEROv7.cxx:3039
 AliVZEROv7.cxx:3040
 AliVZEROv7.cxx:3041
 AliVZEROv7.cxx:3042
 AliVZEROv7.cxx:3043
 AliVZEROv7.cxx:3044
 AliVZEROv7.cxx:3045
 AliVZEROv7.cxx:3046
 AliVZEROv7.cxx:3047
 AliVZEROv7.cxx:3048
 AliVZEROv7.cxx:3049
 AliVZEROv7.cxx:3050
 AliVZEROv7.cxx:3051
 AliVZEROv7.cxx:3052
 AliVZEROv7.cxx:3053
 AliVZEROv7.cxx:3054
 AliVZEROv7.cxx:3055
 AliVZEROv7.cxx:3056
 AliVZEROv7.cxx:3057
 AliVZEROv7.cxx:3058
 AliVZEROv7.cxx:3059
 AliVZEROv7.cxx:3060
 AliVZEROv7.cxx:3061
 AliVZEROv7.cxx:3062
 AliVZEROv7.cxx:3063
 AliVZEROv7.cxx:3064
 AliVZEROv7.cxx:3065
 AliVZEROv7.cxx:3066
 AliVZEROv7.cxx:3067
 AliVZEROv7.cxx:3068
 AliVZEROv7.cxx:3069
 AliVZEROv7.cxx:3070
 AliVZEROv7.cxx:3071
 AliVZEROv7.cxx:3072
 AliVZEROv7.cxx:3073
 AliVZEROv7.cxx:3074
 AliVZEROv7.cxx:3075
 AliVZEROv7.cxx:3076
 AliVZEROv7.cxx:3077
 AliVZEROv7.cxx:3078
 AliVZEROv7.cxx:3079
 AliVZEROv7.cxx:3080
 AliVZEROv7.cxx:3081
 AliVZEROv7.cxx:3082
 AliVZEROv7.cxx:3083
 AliVZEROv7.cxx:3084
 AliVZEROv7.cxx:3085
 AliVZEROv7.cxx:3086
 AliVZEROv7.cxx:3087
 AliVZEROv7.cxx:3088
 AliVZEROv7.cxx:3089
 AliVZEROv7.cxx:3090
 AliVZEROv7.cxx:3091
 AliVZEROv7.cxx:3092
 AliVZEROv7.cxx:3093
 AliVZEROv7.cxx:3094
 AliVZEROv7.cxx:3095
 AliVZEROv7.cxx:3096
 AliVZEROv7.cxx:3097
 AliVZEROv7.cxx:3098
 AliVZEROv7.cxx:3099
 AliVZEROv7.cxx:3100
 AliVZEROv7.cxx:3101
 AliVZEROv7.cxx:3102
 AliVZEROv7.cxx:3103
 AliVZEROv7.cxx:3104
 AliVZEROv7.cxx:3105
 AliVZEROv7.cxx:3106
 AliVZEROv7.cxx:3107
 AliVZEROv7.cxx:3108
 AliVZEROv7.cxx:3109
 AliVZEROv7.cxx:3110
 AliVZEROv7.cxx:3111
 AliVZEROv7.cxx:3112
 AliVZEROv7.cxx:3113
 AliVZEROv7.cxx:3114
 AliVZEROv7.cxx:3115
 AliVZEROv7.cxx:3116
 AliVZEROv7.cxx:3117
 AliVZEROv7.cxx:3118
 AliVZEROv7.cxx:3119
 AliVZEROv7.cxx:3120
 AliVZEROv7.cxx:3121
 AliVZEROv7.cxx:3122
 AliVZEROv7.cxx:3123
 AliVZEROv7.cxx:3124
 AliVZEROv7.cxx:3125
 AliVZEROv7.cxx:3126
 AliVZEROv7.cxx:3127
 AliVZEROv7.cxx:3128
 AliVZEROv7.cxx:3129
 AliVZEROv7.cxx:3130
 AliVZEROv7.cxx:3131
 AliVZEROv7.cxx:3132
 AliVZEROv7.cxx:3133
 AliVZEROv7.cxx:3134
 AliVZEROv7.cxx:3135
 AliVZEROv7.cxx:3136
 AliVZEROv7.cxx:3137
 AliVZEROv7.cxx:3138
 AliVZEROv7.cxx:3139
 AliVZEROv7.cxx:3140
 AliVZEROv7.cxx:3141
 AliVZEROv7.cxx:3142
 AliVZEROv7.cxx:3143
 AliVZEROv7.cxx:3144
 AliVZEROv7.cxx:3145
 AliVZEROv7.cxx:3146
 AliVZEROv7.cxx:3147
 AliVZEROv7.cxx:3148
 AliVZEROv7.cxx:3149
 AliVZEROv7.cxx:3150
 AliVZEROv7.cxx:3151
 AliVZEROv7.cxx:3152
 AliVZEROv7.cxx:3153
 AliVZEROv7.cxx:3154
 AliVZEROv7.cxx:3155
 AliVZEROv7.cxx:3156
 AliVZEROv7.cxx:3157
 AliVZEROv7.cxx:3158
 AliVZEROv7.cxx:3159
 AliVZEROv7.cxx:3160
 AliVZEROv7.cxx:3161
 AliVZEROv7.cxx:3162
 AliVZEROv7.cxx:3163
 AliVZEROv7.cxx:3164
 AliVZEROv7.cxx:3165
 AliVZEROv7.cxx:3166
 AliVZEROv7.cxx:3167
 AliVZEROv7.cxx:3168
 AliVZEROv7.cxx:3169
 AliVZEROv7.cxx:3170
 AliVZEROv7.cxx:3171
 AliVZEROv7.cxx:3172
 AliVZEROv7.cxx:3173
 AliVZEROv7.cxx:3174
 AliVZEROv7.cxx:3175
 AliVZEROv7.cxx:3176
 AliVZEROv7.cxx:3177
 AliVZEROv7.cxx:3178
 AliVZEROv7.cxx:3179
 AliVZEROv7.cxx:3180
 AliVZEROv7.cxx:3181
 AliVZEROv7.cxx:3182
 AliVZEROv7.cxx:3183
 AliVZEROv7.cxx:3184
 AliVZEROv7.cxx:3185
 AliVZEROv7.cxx:3186
 AliVZEROv7.cxx:3187
 AliVZEROv7.cxx:3188
 AliVZEROv7.cxx:3189
 AliVZEROv7.cxx:3190
 AliVZEROv7.cxx:3191
 AliVZEROv7.cxx:3192
 AliVZEROv7.cxx:3193
 AliVZEROv7.cxx:3194
 AliVZEROv7.cxx:3195
 AliVZEROv7.cxx:3196
 AliVZEROv7.cxx:3197
 AliVZEROv7.cxx:3198
 AliVZEROv7.cxx:3199
 AliVZEROv7.cxx:3200
 AliVZEROv7.cxx:3201
 AliVZEROv7.cxx:3202
 AliVZEROv7.cxx:3203
 AliVZEROv7.cxx:3204
 AliVZEROv7.cxx:3205
 AliVZEROv7.cxx:3206
 AliVZEROv7.cxx:3207
 AliVZEROv7.cxx:3208
 AliVZEROv7.cxx:3209
 AliVZEROv7.cxx:3210
 AliVZEROv7.cxx:3211
 AliVZEROv7.cxx:3212
 AliVZEROv7.cxx:3213
 AliVZEROv7.cxx:3214
 AliVZEROv7.cxx:3215
 AliVZEROv7.cxx:3216
 AliVZEROv7.cxx:3217
 AliVZEROv7.cxx:3218
 AliVZEROv7.cxx:3219
 AliVZEROv7.cxx:3220
 AliVZEROv7.cxx:3221
 AliVZEROv7.cxx:3222
 AliVZEROv7.cxx:3223
 AliVZEROv7.cxx:3224
 AliVZEROv7.cxx:3225
 AliVZEROv7.cxx:3226
 AliVZEROv7.cxx:3227
 AliVZEROv7.cxx:3228
 AliVZEROv7.cxx:3229
 AliVZEROv7.cxx:3230
 AliVZEROv7.cxx:3231
 AliVZEROv7.cxx:3232
 AliVZEROv7.cxx:3233
 AliVZEROv7.cxx:3234
 AliVZEROv7.cxx:3235
 AliVZEROv7.cxx:3236
 AliVZEROv7.cxx:3237
 AliVZEROv7.cxx:3238
 AliVZEROv7.cxx:3239
 AliVZEROv7.cxx:3240
 AliVZEROv7.cxx:3241
 AliVZEROv7.cxx:3242
 AliVZEROv7.cxx:3243
 AliVZEROv7.cxx:3244
 AliVZEROv7.cxx:3245
 AliVZEROv7.cxx:3246
 AliVZEROv7.cxx:3247
 AliVZEROv7.cxx:3248
 AliVZEROv7.cxx:3249
 AliVZEROv7.cxx:3250
 AliVZEROv7.cxx:3251
 AliVZEROv7.cxx:3252
 AliVZEROv7.cxx:3253
 AliVZEROv7.cxx:3254
 AliVZEROv7.cxx:3255
 AliVZEROv7.cxx:3256
 AliVZEROv7.cxx:3257
 AliVZEROv7.cxx:3258
 AliVZEROv7.cxx:3259