StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BsmdRawData.h
1 #ifndef BsmdRawData_h
2 #define BsmdRawData_h
3 /*********************************************************************
4  * $Id: BsmdRawData.h,v 1.1 2004/06/18 01:46:35 balewski Exp $
5  *********************************************************************
6  * container for STAR BEMC SMD data
7  */
8 
9 #include <TObject.h>
10 class TArrayS ;
11 class TArrayC ;
12 
13 class BsmdRawData : public TObject {
14  public:
15  // data containers
16  TArrayS *used; // used data blocks from DAQ are marked with 1
17  TArrayC *caps; // capacitors for all data blocks
18  int nBlock;// number of nonzero blocks
19  TArrayS *head; // stores only nonzero header blocks
20  TArrayS *data; // stores only nonzero data blocks
21 
22  // methods
23  BsmdRawData();
24  virtual ~BsmdRawData();
25  void print(int k=0, FILE *fd=stdout) const;
26  void clear();
27  int headSize() const;
28  int dataBlockSize() const;
29 
30  ClassDef(BsmdRawData,1)
31 
32 };
33 #endif
34 
35 
36 /*
37  * $Log: BsmdRawData.h,v $
38  * Revision 1.1 2004/06/18 01:46:35 balewski
39  * added BSMD to ezTree
40  *
41  *********************************************************************/