Format of the Detector file

by Daniel Drijard
<CERN>
October 1998

The following describes the format of the detector file. This file (and its corresponding format) are temporary. Some proper database will be devised at a later stage but we need something else before. The file is in ASCII format and is assembled in specialised blocks and sub-blocks.

Blocks description


Sub-Blocks description


Blocks lists:

The list of blocks so far recognised by (decoded by) the software is:
  1. Axes Geometry
  2. Target Geometry
  3. MSGC Geometry
  4. SciFi Geometry
  5. dEdX Geometry
  6. DriftChamb Geometry
  7. HodVer Geometry
  8. HodHor Geometry
  9. Cherenkov Geometry
  10. Muon Geometry
  11. PreShower Geometry
  12. SciFi Calibration
  13. dEdX Calibration
  14. HodVer Calibration

Additional blocks (now unused but will later be needed...in some way):
  1. dEdX Matter
  2. HodVer Matter
  3. HodHor Matter

Additional Sub-blocks information:

Used in the Axes block :
 Euler        14    1  (1x,7(i2,1x,a3)) ! NbCodes,[Euler code, 'abc'=successive axes] NbCodes/2 times
This is meant to define orientations between various systems of co-ordinates (displacements are not considered because all systems have the same origin of axes).
 xxxxxxxxxx    8    1  (1x,2i3,6f8.0) ! Name,Euler code,3 angles,Xorigin,Yorigin,Zorigin
defines a system of co-ordinates relative to the main system, SecondaryH (see #####).

Used in the Target block :
Position     12    0  (1x,3i3,9f8.0) ! Name,"closest Axes",Euler code,3 angles,Width,Height,Thickness
x                                        Xcenter,Ycenter,Zcenter
This defines a target
Used in the detector blocks:
Position     15    2  (1x,3i3,i5,i3,10f8.0) ! Name,"closest Axes",Euler code,NbWires,Direction
x                                   3 angles,Width,Height,Thickness,Xcenter,Ycenter,Zcenter,Xwire1,Pitch
defines a detector plane
Used in the 'Calibration' detector blocks:
          progressively building up
 Pedestals     3    2  (1x,2i3,10f5.1) ! Name of plane,number of channels,pedestals
 Gain          3    2  (1x,2i3,10f6.1) ! Name of plane,number of channels,gains
       for scintillating fibres
 Timing        3    2  (1x,2i3,10f6.1) ! Name of plane,number of channels,timing
       for scintillating fibres
 Delay         3    2  (1x,2i3,10f5.1) ! Name of plane,number of channels,delays
       for vertical Hodoscopes
 HVoltage      3    2  (1x,2i3,10f5.1) ! Name of plane,number of channels,voltages
       for vertical Hodoscopes
 CFD           3    2  (1x,2i3,10f5.1) ! Name of plane,number of channels,constant
x                               fraction discriminators
       for vertical Hodoscopes
 

Used in the 'Matter' detector blocks:
 Matter        3    2  (1x,3f8.0) ! Density,Radiation length,Interaction length
 
defines the material characteristics of a detector plane.
Density,Radiation length,Interaction length: have their standard meaning.