All source code for the named versions is available under CVS (CVSROOT=/afs/desy.de/group/hera-b/ITR/cvsroot). The easiest way to get the sources is to use xcvs (for example, xcvs get ITR_marvin 6-3)
unsigned short chamberid; // internal chamber id (key into ITR_Chamber)
unsigned char charge; // max (cluster_charge , 255. )
unsigned char sn4; // max ( 4 * signal / noise, 255 )
unsigned char width; // max (cluster_width , 127 )
float cog; // centre of gravity
unsigned short chamberid; // internal chamber id (key into ITR_Chamber)
unsigned char charge; // max (cluster_charge , 255. )
unsigned char sn4; // max ( 4 * signal / noise, 255 )
unsigned short swidth; // ((start & 0x7FF) << 5) | (bwidth & 0x1F)
float cog; // centre of gravity
First wire (start) is unpacked into cluster->first
> 0 | Channel OK |
= 0 | Channel not connected |
< 0 | Channel masked by software |
Data | Example | Default Server | Steering Parameter |
---|---|---|---|
static data | mapping of chips to chambers | /ITR_Setup | itrleda setup database |
alignment data | displacements and rotations | /ITR_Align | itrleda align database |
monitoring data | noise per channel | /ITR_Setup | itrleda mon database |
ITR_leda_XXXX_structFromTable() loads the database table XXXX currently residing in memory into the corresponding structure.
ITR_leda_XXXX_tableFromStruct() removes all entries of XXXX and reads in the table from the structure.
Finally, ITR_leda_RelationsFromStruct() fetches all relations present in a collection of structures. All structs must be filled and all tables must be created in memory before.