+ // Cu layer in MCMs
+ AliMedium(18, "MCM-Cu" , 5, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // G10 layer in MCMs
+ AliMedium(19, "MCM-G10" , 12, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // Si in readout chips
+ AliMedium(20, "Chip-Si" , 16, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // Epoxy in readout chips
+ AliMedium(21, "Chip-Ep" , 17, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // PE in connectors
+ AliMedium(22, "Conn-PE" , 3, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // Cu in connectors
+ AliMedium(23, "Chip-Cu" , 5, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // Al of cooling pipes
+ AliMedium(24, "Cooling" , 1, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+ // Cu in services
+ AliMedium(25, "Serv-Cu" , 5, 0, isxfld, sxmgmx
+ , tmaxfd, stemax, deemax, epsil, stmin);
+
+ // Special tracking options for charged particles for XeCO2
+ gMC->Gstpar((* fIdtmed)[9],"DRAY",1.0);
+ gMC->Gstpar((* fIdtmed)[9],"STRA",1.0);
+
+ // Save the density values for the TRD absorbtion
+ fFoilDensity = dmy;
+ fGasDensity = dgm;
+
+}
+
+//_____________________________________________________________________________
+void AliTRD::DrawModule() const
+{
+ //
+ // Draw a shaded view of the Transition Radiation Detector version 0
+ //
+
+ // Set everything unseen
+ gMC->Gsatt("*" ,"SEEN",-1);
+
+ // Set ALIC mother transparent
+ gMC->Gsatt("ALIC","SEEN", 0);
+
+ // Set the volumes visible
+ if (fGeometry->IsVersion() == 0) {
+ gMC->Gsatt("B071","SEEN", 0);
+ gMC->Gsatt("B074","SEEN", 0);
+ gMC->Gsatt("B075","SEEN", 0);
+ gMC->Gsatt("B077","SEEN", 0);
+ gMC->Gsatt("BTR1","SEEN", 0);
+ gMC->Gsatt("BTR2","SEEN", 0);
+ gMC->Gsatt("BTR3","SEEN", 0);
+ gMC->Gsatt("UTR1","SEEN", 0);
+ gMC->Gsatt("UTR2","SEEN", 0);
+ gMC->Gsatt("UTR3","SEEN", 0);
+ }
+ else {
+ gMC->Gsatt("B071","SEEN", 0);
+ gMC->Gsatt("B074","SEEN", 0);
+ gMC->Gsatt("B075","SEEN", 0);
+ gMC->Gsatt("B077","SEEN", 0);
+ gMC->Gsatt("BTR1","SEEN", 0);
+ gMC->Gsatt("BTR2","SEEN", 0);
+ gMC->Gsatt("BTR3","SEEN", 0);
+ gMC->Gsatt("UTR1","SEEN", 0);
+ }
+
+ gMC->Gdopt("hide", "on");
+ gMC->Gdopt("shad", "on");
+ gMC->Gsatt("*", "fill", 7);
+ gMC->SetClipBox(".");
+ gMC->SetClipBox("*", 0, 2000, -2000, 2000, -2000, 2000);
+ gMC->DefaultRange();
+ gMC->Gdraw("alic", 40, 30, 0, 12, 9.4, .021, .021);
+ gMC->Gdhead(1111, "Transition Radiation Detector");
+ gMC->Gdman(18, 4, "MAN");