8 enum {CrateNameLen=16 };
24 void setName(
char *text);
25 void setAll(
char *buff);
27 void exportAscii(FILE *fd)
const;
29 ostream &print( ostream &out )
const;
32 ostream &operator<<(ostream &out,
const EEmcDbCrate &crate );
int nCh
no. of valid channels for the crate
int nHead
no. of header words
int useIt
flag to ignore data from misconfig/broken crate/box
char name[CrateNameLen]
crT1,... for towers, 06S1,... for mapmt
int fiber
position of the crate in the .daq data stream, couting from 0
char type
is 'T' for towers & 'S' for MAPMT
int crIDswitch
crate ID set by hardware switch