/db/open CyDetInSolenoid /comet/selectWorld SingleComponent DetectorSolenoid ############################################################ # Set The Uniform Magnetic Fields ############################################################ /comet/setUniformMagneticField 0 0 -1 T /comet/setUniformElectricField 0 0 0 V/m ############################################################ # Set Detector Solenoid Parameters (VERSION 2014.10.20) ############################################################ /comet/DetectorSolenoid/Dimension Width = 3*m /comet/DetectorSolenoid/Dimension Height = 2*m /comet/DetectorSolenoid/Dimension Length = 4*m /comet/DetectorSolenoid/Material Material = Vacuum ##### Coils for Det. Solenoid /comet/DetectorSolenoid/Count DetectorCoil:Count = 14 /comet/DetectorSolenoid/Material DetectorCoil:Material = Copper /comet/DetectorSolenoid/Dimension DetectorCoil:InnerR = 1070*mm /comet/DetectorSolenoid/Dimension DetectorCoil:OuterR = 1078*mm /comet/DetectorSolenoid/Dimension DetectorCoil:Length = 85*mm /comet/DetectorSolenoid/Position (i<[DetectorCoil:Count]) DetectorCoil:Position = (0,0,210*([i]+0.5)*mm-210*mm*[DetectorCoil:Count]/2.) /comet/DetectorSolenoid/Rotation (i<[DetectorCoil:Count]) DetectorCoil:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Count DetectorCoilHolder:Count = [DetectorCoil:Count] /comet/DetectorSolenoid/Material DetectorCoilHolder:Material = Steel /comet/DetectorSolenoid/Dimension DetectorCoilHolder:InnerR = [DetectorCoil:InnerR]-10*mm /comet/DetectorSolenoid/Dimension DetectorCoilHolder:OuterR = [DetectorCoil:InnerR] /comet/DetectorSolenoid/Dimension DetectorCoilHolder:Length = 105*mm /comet/DetectorSolenoid/Position (i<[DetectorCoil:Count]) DetectorCoilHolder:Position = (0,0,210*([i]+0.5)*mm-210*mm*[DetectorCoil:Count]/2.) /comet/DetectorSolenoid/Rotation (i<[DetectorCoil:Count]) DetectorCoilHolder:Rotation = (axis=(0,0,1),angle=0) ##### Cryostatl for Det. Solenoid # Inner wall, outer part /comet/DetectorSolenoid/Material CryostatInnerWall0:Material = Steel /comet/DetectorSolenoid/Dimension CryostatInnerWall0:InnerR = 1284*mm /comet/DetectorSolenoid/Dimension CryostatInnerWall0:OuterR = 1325*mm /comet/DetectorSolenoid/Dimension CryostatInnerWall0:Length = 3150/2*mm /comet/DetectorSolenoid/Position CryostatInnerWall0:Position = (0,0,0) /comet/DetectorSolenoid/Rotation CryostatInnerWall0:Rotation = (axis=(0,0,1),angle=0) # Inner wall, inner part /comet/DetectorSolenoid/Material CryostatInnerWall1:Material = Steel /comet/DetectorSolenoid/Dimension CryostatInnerWall1:InnerR = 960*mm /comet/DetectorSolenoid/Dimension CryostatInnerWall1:OuterR = 966*mm /comet/DetectorSolenoid/Dimension CryostatInnerWall1:Length = [CryostatInnerWall0:Length] /comet/DetectorSolenoid/Position CryostatInnerWall1:Position = (0,0,0) /comet/DetectorSolenoid/Rotation CryostatInnerWall1:Rotation = (axis=(0,0,1),angle=0) # Inner wall, end plate part /comet/DetectorSolenoid/Material CryostatInnerWall2:Material = Steel /comet/DetectorSolenoid/Dimension CryostatInnerWall2:InnerR = [CryostatInnerWall1:InnerR] /comet/DetectorSolenoid/Dimension CryostatInnerWall2:OuterR = [CryostatInnerWall0:OuterR] /comet/DetectorSolenoid/Dimension CryostatInnerWall2:Length = 3*mm /comet/DetectorSolenoid/Count CryostatInnerWall2:Count = 2 /comet/DetectorSolenoid/Position (i=0) CryostatInnerWall2:Position = (0,0,+([CryostatInnerWall0:Length]+[CryostatInnerWall2:Length])) /comet/DetectorSolenoid/Rotation (i=0) CryostatInnerWall2:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Position (i=1) CryostatInnerWall2:Position = (0,0,-([CryostatInnerWall0:Length]+[CryostatInnerWall2:Length])) /comet/DetectorSolenoid/Rotation (i=1) CryostatInnerWall2:Rotation = (axis=(0,0,1),angle=0) # Outer wall, outer part /comet/DetectorSolenoid/Material CryostatOuterWall0:Material = Steel /comet/DetectorSolenoid/Dimension CryostatOuterWall0:InnerR = 1350*mm /comet/DetectorSolenoid/Dimension CryostatOuterWall0:OuterR = 1360*mm /comet/DetectorSolenoid/Dimension CryostatOuterWall0:Length = 3240/2*mm /comet/DetectorSolenoid/Position CryostatOuterWall0:Position = (0,0,0) /comet/DetectorSolenoid/Rotation CryostatOuterWall0:Rotation = (axis=(0,0,1),angle=0) # Outer wall, inner part /comet/DetectorSolenoid/Material CryostatOuterWall1:Material = Steel /comet/DetectorSolenoid/Dimension CryostatOuterWall1:InnerR = 900*mm /comet/DetectorSolenoid/Dimension CryostatOuterWall1:OuterR = 910*mm /comet/DetectorSolenoid/Dimension CryostatOuterWall1:Length = [CryostatOuterWall0:Length] /comet/DetectorSolenoid/Position CryostatOuterWall1:Position = (0,0,0) /comet/DetectorSolenoid/Rotation CryostatOuterWall1:Rotation = (axis=(0,0,1),angle=0) # Outer wall, end plate part /comet/DetectorSolenoid/Material CryostatOuterWall2:Material = Steel /comet/DetectorSolenoid/Dimension CryostatOuterWall2:InnerR = [CryostatOuterWall1:InnerR] /comet/DetectorSolenoid/Dimension CryostatOuterWall2:OuterR = [CryostatOuterWall0:OuterR] /comet/DetectorSolenoid/Dimension CryostatOuterWall2:Length = 20*mm /comet/DetectorSolenoid/Count CryostatOuterWall2:Count = 2 /comet/DetectorSolenoid/Position (i=0) CryostatOuterWall2:Position = (0,0,+([CryostatOuterWall0:Length]+[CryostatOuterWall2:Length])) /comet/DetectorSolenoid/Rotation (i=0) CryostatOuterWall2:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Position (i=1) CryostatOuterWall2:Position = (0,0,-([CryostatOuterWall0:Length]+[CryostatOuterWall2:Length])) /comet/DetectorSolenoid/Rotation (i=1) CryostatOuterWall2:Rotation = (axis=(0,0,1),angle=0) ##### Upstream connection part /comet/DetectorSolenoid/Material CryostatUSFlange:Material = Steel /comet/DetectorSolenoid/Dimension CryostatUSFlange:InnerR = 551*mm /comet/DetectorSolenoid/Dimension CryostatUSFlange:OuterR = 1025*mm /comet/DetectorSolenoid/Dimension CryostatUSFlange:Length = 20*mm /comet/DetectorSolenoid/Position CryostatUSFlange:Position = (0,0,-([CryostatOuterWall0:Length]+2*[CryostatOuterWall2:Length]+[CryostatUSFlange:Length]])) /comet/DetectorSolenoid/Rotation CryostatUSFlange:Rotation = (axis=(0,0,1),angle=0) ##### Downstream beam dump /comet/DetectorSolenoid/Material CryostatDSFlange:Material = Steel /comet/DetectorSolenoid/Dimension CryostatDSFlange:InnerR = 451*mm /comet/DetectorSolenoid/Dimension CryostatDSFlange:OuterR = 1010*mm /comet/DetectorSolenoid/Dimension CryostatDSFlange:Length = 12.5*mm /comet/DetectorSolenoid/Position CryostatDSFlange:Position = (0,0,([CryostatOuterWall0:Length]+2*[CryostatOuterWall2:Length]+[CryostatDSFlange:Length]])) /comet/DetectorSolenoid/Rotation CryostatDSFlange:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Material CryostatDSBeamDump:Material = Steel /comet/DetectorSolenoid/Dimension CryostatDSBeamDump:InnerR = [CryostatDSFlange:InnerR] /comet/DetectorSolenoid/Dimension CryostatDSBeamDump:OuterR = [CryostatDSFlange:InnerR]+10*mm /comet/DetectorSolenoid/Dimension CryostatDSBeamDump:Length = 950*mm /comet/DetectorSolenoid/Position CryostatDSBeamDump:Position = (0,0,([CryostatOuterWall0:Length]+2*[CryostatOuterWall2:Length]+2*[CryostatDSFlange:Length]+[CryostatDSBeamDump:Length]])) /comet/DetectorSolenoid/Rotation CryostatDSBeamDump:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Material CryostatDSBeamDumpEP:Material = Steel /comet/DetectorSolenoid/Dimension CryostatDSBeamDumpEP:InnerR = 0 /comet/DetectorSolenoid/Dimension CryostatDSBeamDumpEP:OuterR = [CryostatDSFlange:InnerR]+100*mm /comet/DetectorSolenoid/Dimension CryostatDSBeamDumpEP:Length = 1*mm /comet/DetectorSolenoid/Position CryostatDSBeamDumpEP:Position = (0,0,([CryostatOuterWall0:Length]+2*[CryostatOuterWall2:Length]+2*[CryostatDSFlange:Length]+2*[CryostatDSBeamDump:Length]+[CryostatDSBeamDumpEP:Length])) /comet/DetectorSolenoid/Rotation CryostatDSBeamDumpEP:Rotation = (axis=(0,0,1),angle=0) ##### Iron yoke for Det. Solenoid /comet/DetectorSolenoid/Material IronYokeDet:Material = Iron /comet/DetectorSolenoid/Dimension IronYokeDet:InnerR = 1460*mm /comet/DetectorSolenoid/Dimension IronYokeDet:OuterR = 1710*mm /comet/DetectorSolenoid/Dimension IronYokeDet:Length = 1750*mm /comet/DetectorSolenoid/Position IronYokeDet:Position = (0,0,0) /comet/DetectorSolenoid/Rotation IronYokeDet:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Material IronYokeDetEP:Material = Iron /comet/DetectorSolenoid/Count IronYokeDetEP:Count = 3 /comet/DetectorSolenoid/Dimension (i=0) IronYokeDetEP:OuterR = [IronYokeDet:OuterR] /comet/DetectorSolenoid/Dimension (i=0) IronYokeDetEP:InnerR = 700*mm /comet/DetectorSolenoid/Dimension (i=0) IronYokeDetEP:Length = 105*mm /comet/DetectorSolenoid/Position (i=0) IronYokeDetEP:Position = (0,0,+([IronYokeDet:Length]+105*mm)) # downstream /comet/DetectorSolenoid/Rotation (i=0) IronYokeDetEP:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) IronYokeDetEP:OuterR = [IronYokeDet:OuterR] /comet/DetectorSolenoid/Dimension (i=1) IronYokeDetEP:InnerR = 730*mm /comet/DetectorSolenoid/Dimension (i=1) IronYokeDetEP:Length = 100*mm /comet/DetectorSolenoid/Position (i=1) IronYokeDetEP:Position = (0,0,-([IronYokeDet:Length]+100*mm)) # upstream /comet/DetectorSolenoid/Rotation (i=1) IronYokeDetEP:Rotation = (axis=(0,0,1),angle=0) # yoke around the collimeter solenoid /comet/DetectorSolenoid/Dimension (i=2) IronYokeDetEP:InnerR = 730*mm /comet/DetectorSolenoid/Dimension (i=2) IronYokeDetEP:OuterR = 930*mm /comet/DetectorSolenoid/Dimension (i=2) IronYokeDetEP:Length = 330*mm /comet/DetectorSolenoid/Position (i=2) IronYokeDetEP:Position = (0,0,-([IronYokeDet:Length]+2*100*mm+330*mm)) /comet/DetectorSolenoid/Rotation (i=2) IronYokeDetEP:Rotation = (axis=(0,0,1),angle=0) #### Collimator part ##### Coils for Col. Solenoid /comet/DetectorSolenoid/Count CollimatorCoil:Count = 6 /comet/DetectorSolenoid/Material CollimatorCoil:Material = Copper /comet/DetectorSolenoid/Dimension (i=0) CollimatorCoil:InnerR = 310*mm /comet/DetectorSolenoid/Dimension (i=0) CollimatorCoil:OuterR = 323.3*mm /comet/DetectorSolenoid/Dimension (i=0) CollimatorCoil:Length = 90*mm /comet/DetectorSolenoid/Position (i=0) CollimatorCoil:Position = (0,0,-1250*mm-90*mm) /comet/DetectorSolenoid/Rotation (i=0) CollimatorCoil:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) CollimatorCoil:InnerR = 310*mm /comet/DetectorSolenoid/Dimension (i=1) CollimatorCoil:OuterR = 323.3*mm /comet/DetectorSolenoid/Dimension (i=1) CollimatorCoil:Length = 90*mm /comet/DetectorSolenoid/Position (i=1) CollimatorCoil:Position = (0,0,-1510*mm-90*mm) /comet/DetectorSolenoid/Rotation (i=1) CollimatorCoil:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=2) CollimatorCoil:InnerR = 310*mm /comet/DetectorSolenoid/Dimension (i=2) CollimatorCoil:OuterR = 327.7*mm /comet/DetectorSolenoid/Dimension (i=2) CollimatorCoil:Length = 120*mm /comet/DetectorSolenoid/Position (i=2) CollimatorCoil:Position = (0,0,-1740*mm-120*mm) /comet/DetectorSolenoid/Rotation (i=2) CollimatorCoil:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=3) CollimatorCoil:InnerR = 230*mm /comet/DetectorSolenoid/Dimension (i=3) CollimatorCoil:OuterR = 246.6*mm /comet/DetectorSolenoid/Dimension (i=3) CollimatorCoil:Length = 75*mm /comet/DetectorSolenoid/Position (i=3) CollimatorCoil:Position = (0,0,-2030*mm-75*mm) /comet/DetectorSolenoid/Rotation (i=3) CollimatorCoil:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=4) CollimatorCoil:InnerR = 230*mm /comet/DetectorSolenoid/Dimension (i=4) CollimatorCoil:OuterR = 244.4*mm /comet/DetectorSolenoid/Dimension (i=4) CollimatorCoil:Length = 100*mm /comet/DetectorSolenoid/Position (i=4) CollimatorCoil:Position = (0,0,-2230*mm-100*mm) /comet/DetectorSolenoid/Rotation (i=4) CollimatorCoil:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=5) CollimatorCoil:InnerR = 230*mm /comet/DetectorSolenoid/Dimension (i=5) CollimatorCoil:OuterR = 244.4*mm /comet/DetectorSolenoid/Dimension (i=5) CollimatorCoil:Length = 100*mm /comet/DetectorSolenoid/Position (i=5) CollimatorCoil:Position = (0,0,-2480*mm-100*mm) /comet/DetectorSolenoid/Rotation (i=5) CollimatorCoil:Rotation = (axis=(0,0,1),angle=0) # Coil holders /comet/DetectorSolenoid/Count CollimatorCoilHolder:Count = 5 /comet/DetectorSolenoid/Material CollimatorCoilHolder:Material = Steel /comet/DetectorSolenoid/Dimension (i=0) CollimatorCoilHolder:InnerR = 300*mm /comet/DetectorSolenoid/Dimension (i=0) CollimatorCoilHolder:OuterR = 310*mm /comet/DetectorSolenoid/Dimension (i=0) CollimatorCoilHolder:Length = 387.5*mm /comet/DetectorSolenoid/Position (i=0) CollimatorCoilHolder:Position = (0,0,-1230*mm-387.5*mm) /comet/DetectorSolenoid/Rotation (i=0) CollimatorCoilHolder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) CollimatorCoilHolder:InnerR = 220*mm /comet/DetectorSolenoid/Dimension (i=1) CollimatorCoilHolder:OuterR = 330*mm /comet/DetectorSolenoid/Dimension (i=1) CollimatorCoilHolder:Length = 12.5*mm /comet/DetectorSolenoid/Position (i=1) CollimatorCoilHolder:Position = (0,0,-1230*mm-775*mm-12.5*mm) /comet/DetectorSolenoid/Rotation (i=1) CollimatorCoilHolder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=2) CollimatorCoilHolder:InnerR = 220*mm /comet/DetectorSolenoid/Dimension (i=2) CollimatorCoilHolder:OuterR = 230*mm /comet/DetectorSolenoid/Dimension (i=2) CollimatorCoilHolder:Length = 325*mm /comet/DetectorSolenoid/Position (i=2) CollimatorCoilHolder:Position = (0,0,-1230*mm-775*mm-25*mm-325*mm) /comet/DetectorSolenoid/Rotation (i=2) CollimatorCoilHolder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=3) CollimatorCoilHolder:InnerR = 250*mm /comet/DetectorSolenoid/Dimension (i=3) CollimatorCoilHolder:OuterR = 265*mm /comet/DetectorSolenoid/Dimension (i=3) CollimatorCoilHolder:Length = 325*mm /comet/DetectorSolenoid/Position (i=3) CollimatorCoilHolder:Position = (0,0,-1230*mm-775*mm-25*mm-325*mm) /comet/DetectorSolenoid/Rotation (i=3) CollimatorCoilHolder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=4) CollimatorCoilHolder:InnerR = 220*mm /comet/DetectorSolenoid/Dimension (i=4) CollimatorCoilHolder:OuterR = 265*mm /comet/DetectorSolenoid/Dimension (i=4) CollimatorCoilHolder:Length = 10*mm /comet/DetectorSolenoid/Position (i=4) CollimatorCoilHolder:Position = (0,0,-1230*mm-775*mm-25*mm-650*mm-10*mm) /comet/DetectorSolenoid/Rotation (i=4) CollimatorCoilHolder:Rotation = (axis=(0,0,1),angle=0) ##### Cryostatl for Col. Solenoid /comet/DetectorSolenoid/Material ColCryoShell:Material = Steel /comet/DetectorSolenoid/Count ColCryoShell:Count = 2 /comet/DetectorSolenoid/Dimension (i=0) ColCryoShell:InnerR = 485*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoShell:OuterR = 491*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoShell:Length = 479*mm /comet/DetectorSolenoid/Position (i=0) ColCryoShell:Position = (0,0,-1206*mm-479*mm) /comet/DetectorSolenoid/Rotation (i=0) ColCryoShell:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) ColCryoShell:InnerR = 305*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoShell:OuterR = 311*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoShell:Length = 292.5*mm /comet/DetectorSolenoid/Position (i=1) ColCryoShell:Position = (0,0,-2170*mm-292.5*mm) /comet/DetectorSolenoid/Rotation (i=1) ColCryoShell:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Material ColCryoInnerWall:Material = Steel /comet/DetectorSolenoid/Count ColCryoInnerWall:Count = 2 /comet/DetectorSolenoid/Dimension (i=0) ColCryoInnerWall:InnerR = 250*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoInnerWall:OuterR = 256*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoInnerWall:Length = 379.5*mm /comet/DetectorSolenoid/Position (i=0) ColCryoInnerWall:Position = (0,0,-1206*mm-379.5*mm) /comet/DetectorSolenoid/Rotation (i=0) ColCryoInnerWall:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) ColCryoInnerWall:InnerR = 170*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoInnerWall:OuterR = 176*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoInnerWall:Length = 392*mm /comet/DetectorSolenoid/Position (i=1) ColCryoInnerWall:Position = (0,0,-1971*mm-392*mm) /comet/DetectorSolenoid/Rotation (i=1) ColCryoInnerWall:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Material ColCryoEndCap:Material = Steel /comet/DetectorSolenoid/Count ColCryoEndCap:Count = 4 /comet/DetectorSolenoid/Dimension (i=0) ColCryoEndCap:InnerR = 250*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoEndCap:OuterR = 491*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoEndCap:Length = 3*mm /comet/DetectorSolenoid/Position (i=0) ColCryoEndCap:Position = (0,0,-1206*mm+3*mm) /comet/DetectorSolenoid/Rotation (i=0) ColCryoEndCap:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) ColCryoEndCap:InnerR = 170*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoEndCap:OuterR = 256*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoEndCap:Length = 3*mm /comet/DetectorSolenoid/Position (i=1) ColCryoEndCap:Position = (0,0,-1971*mm+3*mm) /comet/DetectorSolenoid/Rotation (i=1) ColCryoEndCap:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=2) ColCryoEndCap:InnerR = 305*mm /comet/DetectorSolenoid/Dimension (i=2) ColCryoEndCap:OuterR = 491*mm /comet/DetectorSolenoid/Dimension (i=2) ColCryoEndCap:Length = 3*mm /comet/DetectorSolenoid/Position (i=2) ColCryoEndCap:Position = (0,0,-2170*mm+3*mm) /comet/DetectorSolenoid/Rotation (i=2) ColCryoEndCap:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=3) ColCryoEndCap:InnerR = 170*mm /comet/DetectorSolenoid/Dimension (i=3) ColCryoEndCap:OuterR = 311*mm /comet/DetectorSolenoid/Dimension (i=3) ColCryoEndCap:Length = 3*mm /comet/DetectorSolenoid/Position (i=3) ColCryoEndCap:Position = (0,0,-2755*mm-3*mm) /comet/DetectorSolenoid/Rotation (i=3) ColCryoEndCap:Rotation = (axis=(0,0,1),angle=0) # Collimator, Outer Cylinder /comet/DetectorSolenoid/Material ColCryoOuterCylinder:Material = Aluminium /comet/DetectorSolenoid/Count ColCryoOuterCylinder:Count = 5 /comet/DetectorSolenoid/Dimension (i=0) ColCryoOuterCylinder:InnerR = 190*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoOuterCylinder:OuterR = 551*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoOuterCylinder:Length = 20*mm /comet/DetectorSolenoid/Position (i=0) ColCryoOuterCylinder:Position = (0,0,-1110*mm-20*mm) /comet/DetectorSolenoid/Rotation (i=0) ColCryoOuterCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) ColCryoOuterCylinder:InnerR = 541*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoOuterCylinder:OuterR = 551*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoOuterCylinder:Length = 540*mm /comet/DetectorSolenoid/Position (i=1) ColCryoOuterCylinder:Position = (0,0,-1110*mm-40*mm-540*mm) /comet/DetectorSolenoid/Rotation (i=1) ColCryoOuterCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=2) ColCryoOuterCylinder:InnerR = 361*mm /comet/DetectorSolenoid/Dimension (i=2) ColCryoOuterCylinder:OuterR = 551*mm /comet/DetectorSolenoid/Dimension (i=2) ColCryoOuterCylinder:Length = 20*mm /comet/DetectorSolenoid/Position (i=2) ColCryoOuterCylinder:Position = (0,0,-1110*mm-40*mm-1080*mm-20*mm) /comet/DetectorSolenoid/Rotation (i=2) ColCryoOuterCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=3) ColCryoOuterCylinder:InnerR = 361*mm /comet/DetectorSolenoid/Dimension (i=3) ColCryoOuterCylinder:OuterR = 371*mm /comet/DetectorSolenoid/Dimension (i=3) ColCryoOuterCylinder:Length = 140*mm /comet/DetectorSolenoid/Position (i=3) ColCryoOuterCylinder:Position = (0,0,-1110*mm-40*mm-1080*mm-40*mm-140*mm) /comet/DetectorSolenoid/Rotation (i=3) ColCryoOuterCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=4) ColCryoOuterCylinder:InnerR = 361*mm /comet/DetectorSolenoid/Dimension (i=4) ColCryoOuterCylinder:OuterR = 650*mm /comet/DetectorSolenoid/Dimension (i=4) ColCryoOuterCylinder:Length = 15*mm /comet/DetectorSolenoid/Position (i=4) ColCryoOuterCylinder:Position = (0,0,-1110*mm-40*mm-1080*mm-40*mm-280*mm-15*mm) /comet/DetectorSolenoid/Rotation (i=4) ColCryoOuterCylinder:Rotation = (axis=(0,0,1),angle=0) # Collimator, Inner Cylinder /comet/DetectorSolenoid/Material ColCryoInnerCylinder:Material = Aluminium /comet/DetectorSolenoid/Count ColCryoInnerCylinder:Count = 4 /comet/DetectorSolenoid/Dimension (i=0) ColCryoInnerCylinder:InnerR = 187.5*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoInnerCylinder:OuterR = 260*mm /comet/DetectorSolenoid/Dimension (i=0) ColCryoInnerCylinder:Length = 12*mm /comet/DetectorSolenoid/Position (i=0) ColCryoInnerCylinder:Position = (0,0,-1110*mm+12*mm) /comet/DetectorSolenoid/Rotation (i=0) ColCryoInnerCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=1) ColCryoInnerCylinder:InnerR = 187.5*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoInnerCylinder:OuterR = 190*mm /comet/DetectorSolenoid/Dimension (i=1) ColCryoInnerCylinder:Length = 368.5*mm /comet/DetectorSolenoid/Position (i=1) ColCryoInnerCylinder:Position = (0,0,-1110*mm-368.5*mm) /comet/DetectorSolenoid/Rotation (i=1) ColCryoInnerCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=2) ColCryoInnerCylinder:InnerR = 127.5*mm /comet/DetectorSolenoid/Dimension (i=2) ColCryoInnerCylinder:OuterR = 190*mm /comet/DetectorSolenoid/Dimension (i=2) ColCryoInnerCylinder:Length = 14*mm /comet/DetectorSolenoid/Position (i=2) ColCryoInnerCylinder:Position = (0,0,-1110*mm-737*mm-14*mm) /comet/DetectorSolenoid/Rotation (i=2) ColCryoInnerCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Dimension (i=3) ColCryoInnerCylinder:InnerR = 127.5*mm /comet/DetectorSolenoid/Dimension (i=3) ColCryoInnerCylinder:OuterR = 130*mm /comet/DetectorSolenoid/Dimension (i=3) ColCryoInnerCylinder:Length = 408*mm /comet/DetectorSolenoid/Position (i=3) ColCryoInnerCylinder:Position = (0,0,-1110*mm-737*mm-28*mm-408*mm) /comet/DetectorSolenoid/Rotation (i=3) ColCryoInnerCylinder:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/Material CollimatorVacuumWindow:Material = Mylar # temporary /comet/DetectorSolenoid/Dimension CollimatorVacuumWindow:InnerR = 0 /comet/DetectorSolenoid/Dimension CollimatorVacuumWindow:OuterR = 130*mm /comet/DetectorSolenoid/Dimension CollimatorVacuumWindow:Length = 0.1*mm /comet/DetectorSolenoid/Position CollimatorVacuumWindow:Position = (0,0,-1110*mm-737*mm-28*mm-816*mm-0.1*mm) /comet/DetectorSolenoid/Rotation CollimatorVacuumWindow:Rotation = (axis=(0,0,1),angle=0) ##### CyDet /comet/DetectorSolenoid/Position CylindricalDetector:Position = (0,0,0) /comet/DetectorSolenoid/Rotation CylindricalDetector:Rotation = (axis=(0,0,1),angle=0) ############################################################ # Set CyDet Parameters ############################################################ /comet/DetectorSolenoid/CylindricalDetector/Dimension InnerR = 0*mm /comet/DetectorSolenoid/CylindricalDetector/Dimension OuterR = 850*mm /comet/DetectorSolenoid/CylindricalDetector/Dimension Length = (1750./2.)*mm /comet/DetectorSolenoid/CylindricalDetector/Material Material = Vacuum /comet/DetectorSolenoid/CylindricalDetector/Position CylindricalDriftChamber:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/Rotation CylindricalDriftChamber:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/Count TriggerHodoscope:Count = 2 /comet/DetectorSolenoid/CylindricalDetector/Position (i=0) TriggerHodoscope:Position = (0,0,-650*mm) /comet/DetectorSolenoid/CylindricalDetector/Rotation (i=0) TriggerHodoscope:Rotation = (axis=(0,1,0),angle=0) /comet/DetectorSolenoid/CylindricalDetector/Position (i=1) TriggerHodoscope:Position = (0,0,+650*mm) /comet/DetectorSolenoid/CylindricalDetector/Rotation (i=1) TriggerHodoscope:Rotation = (axis=(0,1,0),angle=0) /comet/DetectorSolenoid/CylindricalDetector/Position ProtonAbsorber:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/Rotation ProtonAbsorber:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/Position CyDetSupportStructure:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/Rotation CyDetSupportStructure:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/Count MuonStoppingTarget:Count = 17 /comet/DetectorSolenoid/CylindricalDetector/Position (i<17) MuonStoppingTarget:Position = (0,0,[i]*50*mm-400*mm) /comet/DetectorSolenoid/CylindricalDetector/Rotation (i<17) MuonStoppingTarget:Rotation = (axis=(0,0,1),angle=0) ############################################################ # Set CDC Parameters ############################################################ /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension InnerR = 499.5*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension OuterR = 850*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension Length = (1750./2.)*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material Material = Vacuum # Gas Volume /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material CDCGasVolume:Material = GasMixtureHeC4H10 /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Count CDCGasVolume:Count = 20 /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<19) CDCGasVolume:InnerR = (506+16*[i])*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<19) CDCGasVolume:OuterR = (522+16*[i])*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<19) CDCGasVolume:Length = (750+0.176327*16*[i]-5)*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=19) CDCGasVolume:InnerR = (506+16*[i])*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=19) CDCGasVolume:OuterR = (506+16*[i]+5)*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=19) CDCGasVolume:Length = (750+0.176327*16*[i]-5)*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Position CDCGasVolume:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Rotation CDCGasVolume:Rotation = (axis=(0,0,1),angle=0) # Sensitive Layer /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material CDCSenseLayer:Material = GasMixtureHeC4H10 /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Count CDCSenseLayer:Count = 18 /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Position (i<18) CDCSenseLayer:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Rotation (i<18) CDCSenseLayer:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:TiltAngle = 10*degree /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:LengthOffset = 1294.8*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:InnerR = (522+16*[i])*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:OuterR = (522+16*([i]+1))*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:InnerNumberOfWires = 396+12*[i] /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:OuterNumberOfWires = 396+12*([i]+1) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:InnerSkipHole = 12*pow(-1,[i]+1) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i<18) CDCSenseLayer:OuterSkipHole = 12*pow(-1,[i]) # Wire Configurations # Sense Wire /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material SenseWire:Material = TungstenGold /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension SenseWire:OuterR = 0.0125*mm # 25um diameter #/comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension SenseWire:OuterR = 5*mm # for illustration purpose # Field Wire /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material FieldWire:Material = Aluminium /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension FieldWire:OuterR = 0.04*mm # 80um diameter #/comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension FieldWire:OuterR = 5*mm # for illustration purpose # EndPlate /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material EndPlate:Material = Aluminium /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Count EndPlate:Count = 40 # (number of sense layer + 2(guard layer)) x 2(upstream & downstream) # Upstream Endplate /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=0;20;1) EndPlate:Length = 5*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=0;20;1) EndPlate:InnerR = (506+16*[i])*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=0;20;1) EndPlate:OuterR = (522+16*[i])*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Position (i=0;20;1) EndPlate:Position = (0,0,-(750+0.176327*16*[i])*mm) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Rotation (i=0;20;1) EndPlate:Rotation = (axis=(0,0,1),angle=0) # Downstream Endplate /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=20;40;1) EndPlate:Length = 5*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=20;40;1) EndPlate:InnerR = (506+16*([i]-20.))*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension (i=20;40;1) EndPlate:OuterR = (522+16*([i]-20.))*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Position (i=20;40;1) EndPlate:Position = (0,0,(750+0.176327*16*([i]-20.))*mm) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Rotation (i=20;40;1) EndPlate:Rotation = (axis=(0,0,1),angle=0) # Inner Wall /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material InnerWall:Material = CarbonFiber /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension InnerWall:OuterR = [InnerR]+0.5*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension InnerWall:InnerR = [InnerR] /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension InnerWall:Length = (1500./2.)*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Position InnerWall:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Rotation InnerWall:Rotation = (axis=(0,0,1),angle=0) # Outer Wall /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Material OuterWall:Material = CarbonFiber /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension OuterWall:OuterR = [OuterR] /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension OuterWall:InnerR = [OuterR]-5.*mm /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Dimension OuterWall:Length = [Length] /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Position OuterWall:Position = (0,0,0) /comet/DetectorSolenoid/CylindricalDetector/CylindricalDriftChamber/Rotation OuterWall:Rotation = (axis=(0,0,1),angle=0) ############################################################ # Set Trigger Hodoscope Parameters ############################################################ /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Counter:Width = 22.5*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Counter:Length = 150*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Material Counter:Material = Vacuum /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Count Counter:Count = 64 /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Scintillator:Width = [Counter:Width] /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Scintillator:Height = 2.5*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Scintillator:Length = [Counter:Length] /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Material Scintillator:Material = Scintillator /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Cherenkov:Width = [Counter:Width] /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Cherenkov:Height = 5*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Cherenkov:Length = [Counter:Length] /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Material Cherenkov:Material = Acrylic /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Counter:Height = ([Scintillator:Height]+[Cherenkov:Height]) /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Position Scintillator:Position = (0,([Counter:Height]-[Scintillator:Height]),0) /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Rotation Scintillator:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Position Cherenkov:Position = (0,(-[Counter:Height]+[Cherenkov:Height]),0) /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Rotation Cherenkov:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension OuterR = 495*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension InnerR = [OuterR]-2*[Counter:Height]-10*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Dimension Length = 150*mm /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Material Material = Vacuum /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Position (i<[Counter:Count]) Counter:Position = (([InnerR]/2+[OuterR]/2)*cos(([i]+0.5)*5.625*degree), ([InnerR]/2+[OuterR]/2)*sin(([i]+0.5)*5.625*degree), 0) /comet/DetectorSolenoid/CylindricalDetector/TriggerHodoscope/Rotation (i<[Counter:Count]) Counter:Rotation = (axis=(0,0,1), angle=(([i]+0.5)*5.625*degree-90*degree-15*degree)) ############################################################ # Set Proton Absorber Parameters ############################################################ /comet/DetectorSolenoid/CylindricalDetector/ProtonAbsorber/Material Material = CarbonFiber /comet/DetectorSolenoid/CylindricalDetector/ProtonAbsorber/Dimension OuterR = 472*mm /comet/DetectorSolenoid/CylindricalDetector/ProtonAbsorber/Dimension InnerR = [OuterR]-0.5*mm /comet/DetectorSolenoid/CylindricalDetector/ProtonAbsorber/Dimension Length = 500*mm ############################################################ # Set CyDetSupport Structure Parameters ############################################################ /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Dimension OuterR = 472*mm /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Dimension InnerR = [OuterR]-10*mm /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Dimension Length = 800*mm /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Material Material = Vacuum /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Dimension SupportRing:OuterR = [OuterR] /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Dimension SupportRing:InnerR = [SupportRing:OuterR]-10*mm /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Dimension SupportRing:Length = 200*mm /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Material SupportRing:Material = Aluminium /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Count SupportRing:Count = 2 /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Position (i=0) SupportRing:Position = (0,0,-700*mm) /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Rotation (i=0) SupportRing:Rotation = (axis=(0,0,1),angle=0) /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Position (i=1) SupportRing:Position = (0,0,+700*mm) /comet/DetectorSolenoid/CylindricalDetector/CyDetSupportStructure/Rotation (i=1) SupportRing:Rotation = (axis=(0,0,1),angle=0) ############################################################ # Set Muon Stopping Target Parameters ############################################################ /comet/DetectorSolenoid/CylindricalDetector/MuonStoppingTarget/Material Material = Aluminium /comet/DetectorSolenoid/CylindricalDetector/MuonStoppingTarget/Dimension OuterR = 100*mm /comet/DetectorSolenoid/CylindricalDetector/MuonStoppingTarget/Dimension InnerR = 0*mm /comet/DetectorSolenoid/CylindricalDetector/MuonStoppingTarget/Dimension Length = 0.1*mm /comet/printParameters /comet/update ############################################################ # Create a scene handler for a specific graphics system # (Edit the next line(s) to choose another graphic system) ############################################################ # /vis/open OGLSXm /vis/open DAWNFILE # /vis/open VRML1FILE # /vis/open VRML2FILE ############################################################ # Set the camera ############################################################ /vis/viewer/reset # Set the camera to look at the upstream end of the COMET detector. /vis/viewer/set/viewpointThetaPhi 115 160 # Move the lights with the camera so that the shadows are reasonable. /vis/viewer/set/lightsMove with-camera # Culled objects should not be drawn. /vis/viewer/set/culling invisible true ############################################################ # draw the scene ############################################################ /vis/drawVolume ############################################################ # Make sure the drawing goes to the output. ############################################################ /vis/viewer/flush /db/close