TEC Database for wire coordinates

(from survey)

Please have a look at the TEC Software Numbering Convention.


 Database 

      TEC wire coordinate database is created using own FID and the 
      predefined "PdbCoordinate"  class.



        FD_NUMBER  := 26522

        FDNAME     := TEST1

        DATA_DIR   := /phenix/workarea/basanta/offline/database/data

        BOOT       := ${DATA_DIR}/${FDNAME}



      The reading and writing file exists in /phenix/workarea/basanta/offline/database/utils.


      Code to write into the database :  writePdbSector*.C

      Code to read from the database :  readPdbSector*.C


      Surveyed TEC wire coordinates  (ASCII files) 
      are in the directory
   
        /phenix/workarea/basanta/Tec_Wire_Surv/E0

        /phenix/workarea/basanta/Tec_Wire_Surv/E1

        /phenix/workarea/basanta/Tec_Wire_Surv/E2

        /phenix/workarea/basanta/Tec_Wire_Surv/E3

        /phenix/workarea/basanta/Tec_Wire_Surv/ER

      The directories E0, E1, E2 and E3 correspond to the TEC East
      Arm Sector 0, Sector 1, Sector 2, and Sector 3, respectively.

      ER corresponds to the Engineering Run.


      Each plane has two sides. Side A and Side B.
      Side A corresponds to the NORTH side and 
      Side B corresponds to SOUTH side.
      But 6-1-a-*.txt corresponds to SOUTH and 6-1-b-*.txt 
      corresponds to NORTH.

      There are two sets of ascii files for each plane. 
      *-box.txt and *-pcb.txt.
      We use only *-box.txt file for wire coordinates.

      The ascii file contains two columns. First column is the wire number
      and the second column is the distance of the wire in mm with respect
      to the first wire. If the wire is missing, then the distance is -9999.

      In SOUTH side, 0th wire starts from the bottom and in NORTH side 0th 
      wire starts from top.



      E0 

      E1 

      E2 

      E3 

      ER  



      All the database files are in "/phenix/workarea/basanta/offline/database/data/survey/tec/"
      directory.


TEC Survey Information
This document is maintained by Basanta K Nandi