Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /macros/calibrations/tpc/README.md is written in an unsupported language. File is not indexed.

0001 # TPC padplane mapping
0002 
0003 This repository contains macros to generate TPC padplane geometry
0004 
0005 ## Reading maps from the padplane design
0006 
0007 ChannelMapping.ipynb provides functionality to generate CSV files containing mapping of the pads to the FEEs.
0008 
0009 Read files from Eagle drawings:
0010 ```
0011 ./PadPlane/AutoPad-R3-RevA.sch
0012 ./PadPlane/AutoPad-R3-RevA.brd
0013 ./PadPlane/AutoPad-R2-RevA-Pads.sch
0014 ./PadPlane/AutoPad-R2-RevA-Pads.brd
0015 ./PadPlane/AutoPad-R1-RevA.sch
0016 ./PadPlane/AutoPad-R1-RevA.brd
0017 ```
0018 
0019 Generated CSV files:
0020 ```
0021 ./PadPlane/AutoPad-R3-RevA.sch.ChannelMapping.csv
0022 ./PadPlane/AutoPad-R2-RevA-Pads.sch.ChannelMapping.csv
0023 ./PadPlane/AutoPad-R1-RevA.sch.ChannelMapping.csv
0024 ```
0025 
0026 ## Creating CDBTTree
0027 
0028 CDBTTree-s are used to store detector data, in this case it is TPC padplane electronics to geometry.
0029 
0030 To generate CDBTTree from CSV files produced above, do:
0031 ```
0032 root -l TestCDBTTreeTPC.C
0033 ```