User Tools

Site Tools


phase1:phase1:pxlpilotfed

This is an old revision of the document!


pxlpilotfed

Setup

Turn on crate
Login to cmspixel PC

Trigger

Start XDAQ TTC control:

source TriDAS/pixel/POSRelease/setenv.sh
cd run/TTC/
source run_ttcci.csh

Open firefox (“TTCci XDAQ” bookmark)
In the TTCciControl tab:

click: configure
click: enable

Note: PC name, port, TTCci slot and TTC configuration file are sepcified in run/TTC/XDAQConfig.xml

pxlpilotfed

In a new terminal:

source TriDAS/pixel/POSRelease/setenv.sh
cd TriDAS/pixel/pxlpilotfed
./pxlpilotfed

The program gives a list of options which can be selected by keyboard entries.

Note: TTCci/FED base addressed defined in ttcaddcsr0/FEDBASE

case 'a'

Inject one trigger and readout FED.

How to interpret output:

Output of Piggy: (TBM cores A+B still encoded)

PIGGYup
ffff ffff              1111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111
ffdf ffbf              1111111111011111    1111111110111111
f006 e00e              1111000000000110    1110000000001110
e1ff 03ff              1110000111111111    0000001111111111
b880 7100              1011100010000000    0111000100000000
7fff ffff              0111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111
ffff ffff              1111111111111111    1111111111111111

This is the output of one fiber. The fiber is selcted by a VME command:

//this choose the channel read by piggy: ex. CHa_CHb_mux+0x2304 reads channel 4
VMEout(0x3,LAD_N+0x1a8000,4,CHa_CHb_mux+0x2300); // ch selection for transparent mode: 5-fiber#12, 4-fiber#11, 3-fiber#10, 2-fiber#9, 1-fiber# 8, 0-fiber#7
VMEout(0x3,LAD_S+0x1a8000,4,CHa_CHb_mux+0x2304); // ch selection for transparent mode: 5-fiber#12, 4-fiber#11, 3-fiber#10, 2-fiber#9, 1-fiber# 8, 0-fiber#7

Output of FIFO 1: Data for all channels which are connected is printed (loop over all channels).
Decodes TBM Header and Trailers.
Channel mapping for FIFO1 is described on p.2 here: http://www.physik.uzh.ch/~leac/CMSPixel/Docs/FED/FED_configuration_map.pdf
Channels 1-4 are Nup, channels 5-9 are Ndown

TEMP FIFO NCup
2be11601
CH#:10  TBM_H_status:8b01
2bc018e2
CH#:10  TBM_T_status: 1e2
TEMP FIFO NCdown
phase1/phase1/pxlpilotfed.1449661997.txt.gz · Last modified: 2015/12/09 12:53 by leac