TPC status table

Below is request for creation new DB table "tpcStatus" under "Calibrations_tpc" to keep TPC status information.

1)

TPC status will help Sti to skip dead, problematic or inefficient areas of the TPC.

Right now StiTpc checks whether padrow had a high voltage, whether pad has gain, whether RDO is masked with following constructions:

a) bool east = St_tpcAnodeHVavgC::instance()->livePadrow(sec,row+1);

b) bool east = St_tpcPadGainT0C::instance()->livePadrow(sec,row+1);

c) int iRdo  = s_pRdoMasks->rdoForPadrow(row+1); bool east = s_pRdoMasks->isOn( 24-(sector+1)%12, iRdo);

In case some area is inefficient or problematic and we would like to exlude it from tracking there is no convinient way to do this - one or need to put pad gain to zero, or to put HV voltage to zero, or mask RDOs. All these solution are not favorable since TPC anode HV table, TPC pad gain table and RDO mask tables have its own purpose.

We expect on the order of 10 entries per run.

 

2)

/*    tpcStatus.idl
*
*  Table: tpcStatus
*
*       description: TPC row-by-row status
*/
struct tpcStatus {
   octet   sector; //sector # 1..24
   octet   row; //row # 1..45
   octet   status; //status
 };

 

3) Indexed table

sector from 1 to 24

raw from 1 to 45

 

4) Entry size

 3 bytes*24*45 = 3240 bytes

 

5) user mnaglis needs write access