IST detector DB tables request
1. Geometry DB tables
These translation + rotation tables are similar to the ones for SSD/PXL and so on. They can be either ideal geometry or including corrections. They are to be stored in Geometry db domain.
We are not sure how frequent will they need to be changed, maybe on 100 days level.
The table type will be $STAR/StDb/idl/Survey.idl size: 184
We defined three tables with "Survey" type: istOnPst (1 row), istLadderOnIst (24 rows) and istSensorOnLadder (144 rows). Total size for 169 entries (1 + 24 + 144) is about 30.4K.
You can find these tables templates filled by Geant geometry paramters here: /star/u/ypwang/disk02/istOfflineChain/istOfflineChain/StarDb/Geometry/ist
Several comment lines are added in the file.
// IST
// Id = 0 for ist to global
// Id = ladder [1-24] for ladder to ist (global)
// Id = (ladder-1)*6 + sensor for sensor to ladder
// ladder[1-24], sensor[1-6]
2. Calibration DB tables
Two types of DB table will be stored in Calibration db domain, one is called istPedNoise for pedestal/rms noise/common mode noise, and the other is called istGain for gain of each channel. There are 864 APV chips for whole IST detector readout, and each chip contains 128 channels. Therefore there are 110592 channels for IST fully readout.
We are not sure how frequent will they need to be changed, maybe on per day or week level.
(1) istPedNoise
The table type will be $STAR/StDb/idl/istPedNoise.idl size: 444096
/* istPedNoise.idl
*
* Table: istPedNoise
*
* description: IST detector channel pedestal, rms noise and common mode noise
*
*/
struct istPedNoise {
unsigned short cmNoise[864]; /* 100 * cm noise in ADC counts per chip */
unsigned short pedestal[110592]; /* pedestal in ADC counts per channel */
unsigned short rmsNoise[110592]; /* 100 * rms noise in ADC counts per channel */
};
(2) istGain
The table type will be $STAR/StDb/idl/istGain.idl size: 442368
/* istGain.idl
*
* Table: istGain
*
* description: IST detector channel gain
*
*/
struct istGain {
float gain[110592]; /* gain: ~50.0 e^{-}/ADC counts */
};
(3) istMapping
The table type will be $STAR/StDb/idl/istMapping.idl size: 442368
/* istMapping.idl
*
* Table: istMapping
*
* description: IST detector channel mapping
*
*/
struct istMapping {
long mapping[110592]; /* geometry ID: 1 - 110592 */
};
(4) istControl
The table type will be $STAR/StDb/idl/istControl.idl size: 32
/* istControl.idl
*
* Table: istControl
*
* description: IST detector control parameters
*
*/
struct istControl {
octet kIstAlldata; // all data
octet kIstADCdata; // non-ZS data
octet kIstZSdata; // ZS data
octet kIstDefaultTimeBin; // default maximum ADC time bin index
float kIstChanMaxRmsNoiseLevel; // maximum rms noise level marked as regular channel
float kIstChanMinRmsNoiseLevel; // minimum rms noise level marked as regular channel
float kIstApvMaxCmNoiseLevel; // maximum common mode noise level marked as regular chip
float kIstPedCutDefault; // pedestal cut for pedestal calculation: default value 3.0
float kIstHitCutDefault; // hit S/N cut: default value 5.0
float kIstCMNCutDefault; // common mode noise cut for CMN calculation: default value 3.0
unsigned short kIstMinNumOfRawHits; // min number of raw hits per event over a ladder area
unsigned short kIstMaxNumOfRawHits; // max number of raw hits per event over a ladder area
};
(5) istChipConfig
The table type will be $STAR/StDb/idl/istChipConfig.idl size: 868
/* istChipConfig.idl
*
* Table: istChipConfig
*
* description: IST chip configuration status for 864 APV chips
*
*/
struct istChipConfig {
long run;
octet s[864]; /* 0 good status; 1 permanently dead; 2 mis-configured; 3-255 reserved. */
};
The idl files can be found at RCF
/star/u/ypwang/disk02/istOfflineChain/istOfflineChain/DB/StDb/idl
Currently Yaping Wang and Babak Abi are the persons who need to insert the data
Login name: ypwang, Babak Abi
- ypwang's blog
- Login or register to post comments