//
// $Id: CftBaseGeometry.rcp,v 1.5 2001/05/25 17:46:32 mayorov Exp $
//
// File: CftBaseGeometry.rcp
// Purpose: Define the parameters needed to build the default CFT detector
// Created: 12-FEB-98,  Harry Melanson
// Updated  10-AUG-99,  A.Mayorov !!!!!!!!!! gap==0 !!!!!!!!!!!!
//
// $Revision: 1.5 $
//
// --------------------------------------------------------------------
//  Number of barrels
// --------------------------------------------------------------------
int num_barrels = 8

// --------------------------------------------------------------------
//  Barrel 1
// --------------------------------------------------------------------
float b1_d1_pitch     = 0.09793
float b1_d1_dphidz    = 0.0
int   b1_d1_n_ribbons = 10
bool  b1_d1_uneven    = false
int   b1_d1_half_ribbon_id=-1
int   b1_d1_width     = 128
float b1_d1_gap       = 0.0
float b1_d1_dphi      = 0.628319
float b1_d1_inner_radius = 20.0392
float b1_d1_outer_radius = 20.1180
float b1_d1_inner_pitch  = 0.0983672
float b1_d1_outer_pitch  = 0.098754
float b1_d1_zhalf     = 83.10
float b1_d1_phi0      = -0.00245437

float b1_d2_pitch     = 0.09872
float b1_d2_dphidz    = 0.1725E-02
int   b1_d2_n_ribbons = 10
bool  b1_d2_uneven    = false
int   b1_d2_half_ribbon_id=-1
int   b1_d2_width     = 128
float b1_d2_gap       = 0.0
float b1_d2_dphi       = 0.628319	
float b1_d2_inner_radius = 20.2090
float b1_d2_outer_radius = 20.2877
float b1_d2_inner_pitch  = 0.0992007
float b1_d2_outer_pitch  = 0.099587
float b1_d2_zhalf     = 83.10
float b1_d2_phi0      = -0.00245437

// --------------------------------------------------------------------
//  Barrel 2
// --------------------------------------------------------------------
float b2_d1_pitch     = 0.09758
float b2_d1_dphidz    = 0.0
int   b2_d1_n_ribbons = 13
bool  b2_d1_uneven    = true
int   b2_d1_half_ribbon_id=5
int   b2_d1_width     = 128
float b2_d1_gap       = 0.0
float b2_d1_dphi      = 0.502655
float b2_d1_inner_radius = 24.9492
float b2_d1_outer_radius = 25.0280
float b2_d1_inner_pitch  = 0.097975
float b2_d1_outer_pitch  = 0.098285
float b2_d1_zhalf     = 83.10
float b2_d1_phi0      = -0.00196349

float b2_d2_pitch     = 0.09821
float b2_d2_dphidz    = -0.1388E-02
int   b2_d2_n_ribbons = 13
bool  b2_d2_uneven    = true
int   b2_d2_half_ribbon_id=5
int   b2_d2_width     = 128
float b2_d2_gap       = 0.0
float b2_d2_dphi      = 0.502655
float b2_d2_inner_radius = 25.1190
float b2_d2_outer_radius = 25.1978
float b2_d2_inner_pitch  = 0.098642
float b2_d2_outer_pitch  = 0.098952
float b2_d2_zhalf     = 83.10
float b2_d2_phi0      = -0.00196349


// --------------------------------------------------------------------
//  Barrel 3
// --------------------------------------------------------------------
float b3_d1_pitch     = 0.09734
float b3_d1_dphidz    = 0.0
int   b3_d1_n_ribbons = 15
bool  b3_d1_uneven    = false
int   b3_d1_half_ribbon_id=-1
int   b3_d1_width     = 128
float b3_d1_gap       = 0.0
float b3_d1_dphi      = 0.418879
float b3_d1_inner_radius = 29.8492
float b3_d1_outer_radius = 29.9281
float b3_d1_inner_pitch  = 0.097681
float b3_d1_outer_pitch  = 0.097939
float b3_d1_zhalf     = 126.0
float b3_d1_phi0      = -0.00163624

float b3_d2_pitch     = 0.09786
float b3_d2_dphidz    = 0.1162E-02
int   b3_d2_n_ribbons = 15
bool  b3_d2_uneven    = false
int   b3_d2_half_ribbon_id=-1
int   b3_d2_width     = 128
float b3_d2_gap       = 0.0
float b3_d2_dphi      = 0.418879
float b3_d2_inner_radius = 30.0191
float b3_d2_outer_radius = 30.0978
float b3_d2_inner_pitch  = 0.098237
float b3_d2_outer_pitch  = 0.098495
float b3_d2_zhalf     = 126.0
float b3_d2_phi0      = -0.00163624

// --------------------------------------------------------------------
//  Barrel 4
// --------------------------------------------------------------------
float b4_d1_pitch     = 0.09717
float b4_d1_dphidz    = 0.0
int   b4_d1_n_ribbons = 18
bool  b4_d1_uneven    = true
int   b4_d1_half_ribbon_id=7
int   b4_d1_width     = 128
float b4_d1_gap       = 0.0
float b4_d1_dphi       = 0.359039
float b4_d1_inner_radius = 34.7593
float b4_d1_outer_radius = 34.8381
float b4_d1_inner_pitch  = 0.097500
float b4_d1_outer_pitch  = 0.097721
float b4_d1_zhalf     = 126.0
float b4_d1_phi0      = -0.0014025

float b4_d2_pitch     = 0.09762
float b4_d2_dphidz    =-0.9986E-03
int   b4_d2_n_ribbons = 18	
bool  b4_d2_uneven    = true
int   b4_d2_half_ribbon_id=7
int   b4_d2_width     = 128
float b4_d2_gap       = 0.0
float b4_d2_dphi    = 0.359039
float b4_d2_inner_radius = 34.9291
float b4_d2_outer_radius = 35.0079
float b4_d2_inner_pitch  = 0.097976
float b4_d2_outer_pitch  = 0.098197
float b4_d2_zhalf     = 126.0
float b4_d2_phi0      = -0.0014025

// --------------------------------------------------------------------
//  Barrel 5
// --------------------------------------------------------------------
float b5_d1_pitch     = 0.09704
float b5_d1_dphidz    = 0.0
int   b5_d1_n_ribbons = 20
bool  b5_d1_uneven    = false
int   b5_d1_half_ribbon_id=-1
int   b5_d1_width     = 128
float b5_d1_gap       = 0.0
float b5_d1_dphi       = 0.314159
float b5_d1_inner_radius = 39.6693
float b5_d1_outer_radius = 39.7481
float b5_d1_inner_pitch  = 0.097363
float b5_d1_outer_pitch  = 0.097557
float b5_d1_zhalf     = 126.0
float b5_d1_phi0      = -0.00122718

float b5_d2_pitch     = 0.09744
float b5_d2_dphidz    = 0.8757E-03
int   b5_d2_n_ribbons = 20
bool  b5_d2_uneven    = false
int   b5_d2_half_ribbon_id=-1
int   b5_d2_width     = 128
float b5_d2_gap       = 0.0	
float b5_d2_dphi    = 0.314159
float b5_d2_inner_radius = 39.8391
float b5_d2_outer_radius = 39.9179
float b5_d2_inner_pitch  = 0.097780
float b5_d2_outer_pitch  = 0.097973
float b5_d2_zhalf     = 126.0
float b5_d2_phi0      = -0.00122719

// --------------------------------------------------------------------
//  Barrel 6
// --------------------------------------------------------------------
float b6_d1_pitch     = 0.09695
float b6_d1_dphidz    = 0.0	
int   b6_d1_n_ribbons = 23
bool  b6_d1_uneven    = true
int   b6_d1_half_ribbon_id=9
int   b6_d1_width     = 128
float b6_d1_gap       = 0.0
float b6_d1_dphi       = 0.279253
float b6_d1_inner_radius = 44.5793
float b6_d1_outer_radius = 44.6581
float b6_d1_inner_pitch  = 0.097257
float b6_d1_outer_pitch  = 0.097429
float b6_d1_zhalf     = 126.0
float b6_d1_phi0      = -0.00109083

float b6_d2_pitch     = 0.09729
float b6_d2_dphidz    =-0.7797E-03
int   b6_d2_n_ribbons = 23	
bool  b6_d2_uneven    = true
int   b6_d2_half_ribbon_id=9
int   b6_d2_width     = 128
float b6_d2_gap       = 0.0
float b6_d2_dphi    = 0.279253
float b6_d2_inner_radius = 44.7491
float b6_d2_outer_radius = 44.8279
float b6_d2_inner_pitch  = 0.097627
float b6_d2_outer_pitch  = 0.097799
float b6_d2_zhalf     = 126.0
float b6_d2_phi0      = -0.00109083

// --------------------------------------------------------------------
//  Barrel 7
// --------------------------------------------------------------------
float b7_d1_pitch     = 0.09687
float b7_d1_dphidz    = 0.0
int   b7_d1_n_ribbons = 25
bool  b7_d1_uneven    = false
int   b7_d1_half_ribbon_id=-1
int   b7_d1_width     = 128
float b7_d1_gap       = 0.0
float b7_d1_dphi       = 0.251327
float b7_d1_inner_radius = 49.4793
float b7_d1_outer_radius = 49.5581
float b7_d1_inner_pitch  = 0.097152
float b7_d1_outer_pitch  = 0.097307
float b7_d1_zhalf     = 126.0
float b7_d1_phi0      = -0.000981744

float b7_d2_pitch     = 0.09718
float b7_d2_dphidz    = 0.7028E-03
int   b7_d2_n_ribbons = 25
bool  b7_d2_uneven    = false
int   b7_d2_half_ribbon_id=-1
int   b7_d2_width     = 128
float b7_d2_gap       = 0.0	
float b7_d2_dphi    = 0.251327
float b7_d2_inner_radius = 49.6491
float b7_d2_outer_radius = 49.7280
float b7_d2_inner_pitch  = 0.097486
float b7_d2_outer_pitch  = 0.097641
float b7_d2_zhalf     = 126.0
float b7_d2_phi0      = -0.00098175

// --------------------------------------------------------------------
//  Barrel 8
// --------------------------------------------------------------------
float b8_d1_pitch     = 0.09161
float b8_d1_dphidz    = 0.0
int   b8_d1_n_ribbons = 28
bool  b8_d1_uneven    = true
int   b8_d1_half_ribbon_id=11
int   b8_d1_width     = 128
float b8_d1_gap       = 0.0
float b8_d1_dphi       = 0.228479	
float b8_d1_inner_radius = 51.4793
float b8_d1_outer_radius = 51.5586
float b8_d1_inner_pitch  = 0.091890
float b8_d1_outer_pitch  = 0.092032
float b8_d1_zhalf     = 126.0
float b8_d1_phi0      = -0.000892495

float b8_d2_pitch     = 0.09190
float b8_d2_dphidz    =-0.6756E-03
int   b8_d2_n_ribbons = 28
bool  b8_d2_uneven    = true
int   b8_d2_half_ribbon_id=11
int   b8_d2_width     = 128
float b8_d2_gap       = 0.0
float b8_d2_dphi    = 0.228479			
float b8_d2_inner_radius = 51.6496
float b8_d2_outer_radius = 51.7290
float b8_d2_inner_pitch  = 0.092194
float b8_d2_outer_pitch  = 0.092336
float b8_d2_zhalf     = 126.0
float b8_d2_phi0      = -0.000892495