Table of Contents

BPixelTools

Setup

Turn on crate
Turn on power for CCU ring (2.5V)
Turn on power for DC-DC converters (10V)
Login to cmspixel PC

FEC-CCU

Start the server:

 cd TriDAS/pixel/BPixelTools/ccu
 source setup.bsh
 ./run.bsh
 help // to get a list of options when using the command line interface

Some general commands:

To check pohN response (N = 1,2,3,4,5,6,7):

To test i2c speed:

Test Programs

Run the test program (from a different terminal):

 cd TriDAS/pixel/BPixelTools/
 source setup.bsh
 cd test
 python testCCUandDCDC.py <ccuaddress>

Run the test program for POH bias scan at a specific gain

 cd TriDAS/pixel/BPixelTools/
 source setup.bsh
 cd test
 python testCCUFED.py --gain <gain>

Additional macro to plot the poh bias scan results in the folder “macros” under the test dir

 python make-plots.py --gain <gain> --plot bias
 python make-plots.py --gain <gain> --plot rms
 python make-plots.py --gain <gain> --plot slope
 python make-plots.py --channel <channel> --plot bias
 python make-plots.py --channel <channel> --plot rms
 python make-plots.py --channel <channel> --plot slope

Analog FED

Start the server:

 cd TriDAS/pixel/BPixelTools/fed
 source setup.bsh
 ./run.bsh

Check that addresses are set correctly in fed/data/fed_parameters.dat and fed/data/fed.ini

pxFEC

Start the server:

 cd TriDAS/pixel/BPixelTools/pxfec
 source setup.bsh
 ./run.bsh

Some commands: