Detector_File:
Small.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 = 75.0f
outer_radius = 110.f
z_outer= 185.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
layers= 50f
end;

// note order: [name], [thickness] and that the qualifier is
// succeeded by a spacer.
EM_Barrel_Material:
W, 0.2f
Si, 0.03f, $
G10, 0.1f
Air, 0.17f
end;

EM_Barrel_IWall_Material:
Al, 0.0f
end;

EM_Barrel_OWall_Material:
Al, 0.0f
end;

EM_EndCap:
inner_radius = 21.f
outer_radius = 75.0f
z_inner= 150.0f
z_outer= 185.0f
layers= 50.0f
slope= 0.f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

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

EM_EC_IWall_Material:
Al, 0.0f
end;

EM_EC_OWall_Material:
Al, 0.2f
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 = 140.0f
outer_radius = 250.0f
z_outer= 295.0f
layers= 38.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

HAD_Barrel_Material:
Cu, 2.0f
Polystyrene, 0.5f, $
end;

HAD_Barrel_IWall_Material:
Al, 0.0f
end;

HAD_Barrel_OWall_Material:
Al, 0.0f
end;

HAD_EndCap:
inner_radius= 21.f
outer_radius= 140.0f
z_inner= 186.0f
z_outer= 295.0f
layers= 38.0f
slope= 0.f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

HAD_EndCap_Material:
Cu, 2.0f
Polystyrene, 0.5f, $
end;

HAD_EC_IWall_Material:
Al, 0.0f
end;

HAD_EC_OWall_Material:
Al, 0.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 = 251.0f
outer_radius = 375.0f
z_outer= 295.0f
layers= 10.0f
stripWidth_z = 1.0f
stripWidth_phi = 1.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

MU_Barrel_Material:
Fe, 10.0f
Air, 2.0f, $
end;

MU_Barrel_IWall_Material:
Al, 0.2f
end;

MU_Barrel_OWall_Material:
Al, 0.2f
end;

MU_EndCap:
inner_radius= 21.f
outer_radius= 375.0f
z_inner= 296.0f
z_outer= 420.0f
layers= 10.0f
slope= 0.f
stripWidth_x = 1.0f
stripWidth_y = 1.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
end;

MU_EndCap_Material:
Fe, 10.0f
Air, 2.0f, $
end;

MU_EC_IWall_Material:
Al, 0.0f
end;

MU_EC_OWall_Material:
Al, 0.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= 155.0f
z_outer= 185.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, 0.0f
end;

LUM_EC_OWall_Material:
Al, 0.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 = 1.2f
outer_radius1 = 1.4f
z_outer1 = 2.5f
layers1 = 1.0f
inner_radius2 = 2.4f
outer_radius2 = 2.6f
z_outer2 = 5.0f
layers2 = 1.0f
inner_radius3 = 3.6f
outer_radius3 = 3.8f
z_outer3 = 7.5f
layers3 = 1.0f
inner_radius4 = 4.8f
outer_radius4 = 5.0f
z_outer4 = 10.0f
layers4 = 1.0f
inner_radius5 = 6.0f
outer_radius5 = 6.2f
z_outer5= 12.5f
layers5 = 1.0f
end;

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

VERTX_Cryostat:
z_inner = 15.5f
z_outer = 15.712f
r_outer = 7.212f
r_innerTube = 7.0f
r_innerPlate = 2.1f
end;

VERTX_Cryostat_Material:
Polystyrene, 0.212f
end;

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

MultiLayer_TRACK_Barrel:
iwall_thickness = 0.0f
owall_thickness = 0.0f
num_of_barrels = 6.0f
inner_radius1 = 14.0f
outer_radius1 = 14.2f
z_outer1 = 31.f
layers1 = 1.0f
inner_radius2 = 15.0f
outer_radius2 = 15.2f
z_outer2 = 31.f
layers2 = 1.0f
inner_radius3 = 42.0f
outer_radius3 = 42.2f
z_outer3 = 89.f
layers3 = 1.0f
inner_radius4 = 43.0f
outer_radius4 = 43.2f
z_outer4 = 89.f
layers4 = 1.0f
inner_radius5 = 71.0f
outer_radius5 = 71.2f
z_outer5 = 149.0f
layers5 = 1.0f
inner_radius6 = 72.0f
outer_radius6 = 72.2f
z_outer6 = 149.0f
layers6 = 1.0f
end;

// Dimensions as per K.Riles 8.12.98
TRACK_Barrel_Material:
G10, 0.11f
Si, 0.06f, $
end;

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

TRACK_EndPlate:
layers = 0.0f
end;

TRACK_EndPlate_Material:
end;

MultiLayer_TRACK_EndCap:
num_of_endcaps = 5.0f
iwall_thickness = 0.0f
owall_thickness = 0.0f
inner_radius1 = 4.4f
outer_radius1 = 14.5f
z_inner1 = 31.2f
z_outer1 = 31.4f
layers1 = 1.0f
slope1 = 0.0f
inner_radius2 = 8.7f
outer_radius2 = 29.1f
z_inner2 = 61.2f
z_outer2 = 61.4f
layers2 = 1.0f
slope2 = 0.0f
inner_radius3 = 13.0f
outer_radius3 = 38.3f
z_inner3 = 91.2f
z_outer3 = 91.4f
layers3 = 1.0f
slope3 = 0.0f
inner_radius4 = 17.3f
outer_radius4 = 58.1f
z_inner4 = 121.2f
z_outer4 = 121.4f
layers4 = 1.0f
slope4 = 0.0f
inner_radius5 = 21.0f
outer_radius5 = 72.5f
z_inner5 = 149.2f
z_outer5 = 149.4f
layers5 = 1.0f
slope5 = 0.0f
end;

TRACK_EndCap_Material:
G10, 0.11f
Si, 0.06f, $
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.f
outer_radius = 20.5f
z_inner= 10.0f
z_outer= 150.0f
layers= 0.0f
end;

Mask_Material:
W, 0.2f
end;

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

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

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

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