Detector_File:
Large.ini
end;
//
// INITIALIZATION SYNTAX
//
// All headers and qualifiers (inner_radius, tan_lambda, etc) are variable
// names in the parsing code. SubSystems expect these names and search a list // for them. Not finding them is obviously an exception, the header names and
// qualifiers must therefore be preserved.
//
// Consider the entry 'inner_radius= 48.0f'.
// This syntax is necessary to avoid a 'bad read' exception and holds
// FOR ALL QUALIFIERS.
// EM_Barrel, EM_Barrel_Material, and EM_Segmentation represent three supported formats
//
// Consider the entry field, 48.0f.
// Note that it is a float just like all numeric fields.
// They are cast in the code but must be entered as float here to avoid parsing errors.
//
///////////////////////////////////////////////////////////////////////
// ElectroMagnetic SubSystem

// note: there is a thin fake layer inserted at the front of the EM Cal to
//    allow saving the MC particle position/drc's there. Make sure
// you leave enough space for it with the radii! 0.5 cm extra should
// do it.
//

EM_Barrel:
inner_radius = 200.0f
outer_radius = 248.f
z_outer= 348.0f
layers= 40f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

// note order: [name], [thickness] and that the qualifier is
// succeeded by a spacer.
EM_Barrel_Material:
Pb, 0.4f
Polystyrene, 0.1f, $
end;

EM_Barrel_IWall_Material:
Al, 1.0f
end;

EM_Barrel_OWall_Material:
Al, 1.0f
end;

EM_EndCap:
inner_radius= 25.0f
outer_radius= 198.0f
z_inner= 300.0f
z_outer= 348.0f
layers= 40.0f
slope= 0.f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

EM_EndCap_Material:
Pb, 0.4f
Polystyrene, 0.1f, $
end;

EM_EC_IWall_Material:
Al, 1.0f
end;

EM_EC_OWall_Material:
Al, 1.0f
end;

EM_Segmentation:
tan_lambda (300.0f, 300.0f, 300.0f)
phi (300.0f, 300.0f, 300.0f)
end;

///////////////////////////////////////////////////////////////////////
// Hadronic SubSystem

HAD_Barrel:
inner_radius = 250.0f
outer_radius = 375.0f
z_outer= 470.0f
layers= 120.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

HAD_Barrel_Material:
Pb, 0.8f
Polystyrene, 0.2f, $
end;

HAD_Barrel_IWall_Material:
Al, 1.0f
end;

HAD_Barrel_OWall_Material:
Al, 1.0f
end;

HAD_EndCap:
inner_radius= 25.f
outer_radius= 248.0f
z_inner= 350.0f
z_outer= 475.0f
layers= 120.0f
slope= 0.f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

HAD_EndCap_Material:
Pb, 0.8f
Polystyrene, 0.2f, $
end;

HAD_EC_IWall_Material:
Al, 1.0f
end;

HAD_EC_OWall_Material:
Al, 1.0f
end;

HAD_Segmentation:
tan_lambda (100.0f, 100.0f, 100.0f)
phi (100.0f, 100.0f, 100.0f)
end;

///////////////////////////////////////////////////////////////////////
// Muon SubSystem

MU_Barrel:
inner_radius = 450.0f
outer_radius = 650.0f
z_outer= 470.0f
layers= 24.0f
stripWidth_z = 3.0f
stripWidth_phi = 3.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

MU_Barrel_Material:
Fe, 5.0f
Air, 3.0f, $
end;

MU_Barrel_IWall_Material:
Al, 1.0f
end;

MU_Barrel_OWall_Material:
Al, 1.0f
end;

MU_EndCap:
inner_radius= 25.f
outer_radius= 620.0f
z_inner= 470.0f
z_outer= 670.0f
layers= 24.0f
slope= 0.f
stripWidth_x = 3.0f
stripWidth_y = 3.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

MU_EndCap_Material:
Fe, 5.0f
Air, 3.0f, $
end;

MU_EC_IWall_Material:
Al, 1.0f
end;

MU_EC_OWall_Material:
Al, 1.0f
end;

MU_Segmentation:
tan_lambda (100.0f, 100.0f, 100.0f)
phi (100.0f, 100.0f, 100.0f)
end;

///////////////////////////////////////////////////////////////////////
// LUM SubSystem
LUM_EndCap:
inner_radius= 5.0f
outer_radius= 18.0f
z_inner= 305.0f
z_outer= 335.0f
layers= 50.0f
slope= 0.f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

LUM_EndCap_Material:
W, 0.2f
Si, 0.03f, $
G10, 0.1f
Air, 0.17f
end;

LUM_EC_IWall_Material:
Al, 1.0f
end;

LUM_EC_OWall_Material:
Al, 1.0f
end;

LUM_Segmentation:
tan_lambda (300.0f, 300.0f, 300.0f)
phi (300.0f, 300.0f, 300.0f)
end;




///////////////////////////////////////////////////////////////////////
// Vertex SubSystem

MultiLayer_VERTX_Barrel:
num_of_barrels = 5.0f
inner_radius1 = 2.5f
outer_radius1 = 2.7f
z_outer1 = 5.f
layers1 = 1.0f
inner_radius2 = 4.375f
outer_radius2 = 4.575f
z_outer2 = 8.75f
layers2 = 1.0f
inner_radius3 = 6.25f
outer_radius3 = 6.45f
z_outer3 = 12.5f
layers3 = 1.0f
inner_radius4 = 8.125f
outer_radius4 = 8.325f
z_outer4 = 16.25f
layers4 = 1.0f
inner_radius5 = 10.0f
outer_radius5 = 10.2f
z_outer5 = 20.0f
layers5 = 1.0f
end;

VERTX_Barrel_Material:
G10, 0.1f
Si, 0.03f, $
end;

VERTX_Cryostat:
z_inner = 20.5f
z_outer = 20.712f
r_outer = 10.712f
r_innerTube = 10.5f
r_innerPlate = 3.0f
end;

// Use material thickness of '0.0f' for no cryostat
VERTX_Cryostat_Material:
Polystyrene, 0.0f
end;


///////////////////////////////////////////////////////////////////////
// Track SubSystem

MultiLayer_TRACK_Barrel:
iwall_thickness = 0.18f
owall_thickness = 0.18f
num_of_barrels = 1.0f
inner_radius1 = 25.0f
outer_radius1 = 200.f
z_outer1 = 290.f
layers1 = 144.0f
end;

// Dimensions as per K.Riles 8.12.98
TRACK_Barrel_Material:
Air, 1.20f
Air, 0.01f, $
end;

TRACK_Barrel_IWall_Material:
Al, 0.18f
end;
TRACK_Barrel_OWall_Material:
Al, 0.18f
end;

TRACK_EndPlate:
z_outer1 = 295.5f
layers = 144.0f
end;

TRACK_EndPlate_Material:
Al, 4.5f
end;

MultiLayer_TRACK_EndCap:
num_of_endcaps = 0.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

TRACK_EndCap_Material:
end;

///////////////////////////////////////////////////////////////////////
// Beam pipe

Pipe_BARREL:
inner_radius = 1.0f
outer_radius = 1.2f
z_inner= 10.0f
layers= 0.0f
end;

Pipe_Material:
Be, 0.2f
end;

///////////////////////////////////////////////////////////////////////
// Mask

Mask:
inner_radius = 1.0f
outer_radius = 24.5f
z_inner= 10.0f
z_outer= 300.0f
layers= 0.0f
end;

Mask_Material:
W, 0.2f
end;

///////////////////////////////////////////////////////////////////////
// NLD Field

Coil:
length= 940.0f
r_inner= 376.0f
r_outer= 500.0f // radial distance beyond which field is zero
end;

Coil_Material:
Al, 40.0f // r_outer= r_inner+50.0f there. This entry has to be last
end;

Field_Strength:
Solenoid_Vector(0.0f, 0.0f, 3.0f)
Outside_Vector(0.0f, 0.0f, -0.6f)
end;