How to exclude something from readout?


Igor Yushmanov made some useful notes on starting PbGl from power-off mode. His notes reside here: http://www.phenix.bnl.gov/~yushman/Zametki_Sklerotika/ and this is just a pirate copy of them.
For Data Aquisition purposes the EMCal subsystem is structured into 4 indepenedent calorimeter Granules (each granule spans two sectors). Granules are E.B, E.T, W.B, W.T

Each PbSc sector has:
Supermodules: 18 pcs. of 36 modules each => 648 modules/sector
Modules of 2 x 2 towers => 648 x 4 = 2592 towers/sector or 144 ch/supermodule
PMT FEMS: 36 PCS of 144 ch - one per supermodule
REF FEMS: 1 pcs of 144 ch. (36 ch used)

Each PbGl sector has:
Supermodules: 16 x 12 = 192 of 6x4 towers each.
PMT channels: 192 x 24 = 4608 ch.
REF channels - one per SM => 192 ch.
FEMS: 32 for PMTs and 2 for REF.

Each EmCal FEM has 144 ch. Two FEMs are read out by a single DCM fiber

Thus:
PbSc sector has 36+1 FEMs => 19 fibers
PbGl sector has 32+2 FEMs => 18 fibers

Singe DCM module (one slot) has inputs for 4 fibers (and 5 DSPs - 4 handling 4 DCM input fibers and one handling output data packets) Thus both PbGl and PbSc have 5 DCMs per sector. Of these 5 four are completely populated and fifth has 3 fibers attached for PbSc and 2 fibers for PbGl.
Imagine you need to exclude certain FEM from readout.

First, identify which DCM fiber does this FEM belong to. Fibers are marked on the DCM end like E0-22; that means this fiber serves FEMs 22 and 23 in E0. Typically you see the problem with one of the fibers in iocondev window on ts and exclude this fiber from the granule.

Under phnxrc go to $RC_HW_CONF (RunControl_HardWare_CONF). Find the file correcponding to given granule (partition?) e.g. emc.w.top.pcf pcf stands for PartitionControlFile

Find in there the section, related to given Slot (it matches DCM number, like slot: 17). Each of these sections has 4 units, corresponding to 4 input fibers of DCM counted upwards (units 1-4 are marked right on DCMs). For the fiber (2 FEMs) you'd like to exclude from the readout set the last line readout:NO.

Our xxx crate has xx slots numbered 1 through xx from left to right. iocondev1c occupy first slot. The next is empty. Then 4 DCM serving E0 are coming (slots3-6),


Last update:
Andrey Kazantsev