StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEfeeRawEvent.h
1 #ifndef EEfeeRawEvent_h
2 #define EEfeeRawEvent_h
3 /*********************************************************************
4  * $Id: EEfeeRawEvent.h,v 1.12 2004/09/07 20:32:01 balewski Exp $
5  *********************************************************************
6  * Descripion:
7  * STAR Endcap Electromagnetic Calorimeter Raw FEE Events
8  *********************************************************************/
9 #include "TObject.h"
10 #include "TClonesArray.h"
11 
12 class EEfeeDataBlock;
13 
14 class EEfeeRawEvent :public TObject {
15  int ID; // event ID
16 
17  public:
18  // different content of header data
19  enum HeadVer {headVer1,headVer2,headVer3};
20  // see ::maskWrongCrates() for explanation
21  TClonesArray *block;
22 
23  EEfeeRawEvent();
24  virtual ~EEfeeRawEvent();
25  void print(int flag=1) const;
26  void clear();
27  void setID(int i){ ID=i; }
28  int getID() const{return ID;};
29  int getNGoodBlock();
30  void addFeeDataBlock(EEfeeDataBlock*);
31  int maskWrongCrates( long timeStamp, unsigned token, HeadVer ver=headVer1);
32  void maskBEMC(); // tmp
33  UShort_t getValue(int crateID, int channel) const;
34  ClassDef(EEfeeRawEvent,1)
35 };
36 #endif
37 
38 /*
39  * $Log: EEfeeRawEvent.h,v $
40  * Revision 1.12 2004/09/07 20:32:01 balewski
41  * more methods, remove questionable spin bits interpetation
42  *
43  * Revision 1.11 2004/07/09 02:38:05 balewski
44  * BTOW data are not masked out any more but headres are checked as for EEMC
45  *
46  * Revision 1.10 2004/06/01 16:05:18 balewski
47  * forgoten update of data block headers check
48  *
49  * Revision 1.9 2004/04/02 06:38:52 balewski
50  * *** empty log message ***
51  *
52  * Revision 1.8 2003/12/10 04:43:19 balewski
53  * first QA
54  *
55  * Revision 1.7 2003/12/02 17:22:08 balewski
56  * fix after version mixup
57  *
58  * Revision 1.5 2003/11/24 05:40:55 balewski
59  * new stuff for miniDaq
60  *
61  * Revision 1.4 2003/11/22 05:35:39 balewski
62  * *** empty log message ***
63  *
64  * Revision 1.3 2003/11/20 22:59:40 balewski
65  * *** empty log message ***
66  *
67  * Revision 1.2 2003/11/20 16:01:46 balewski
68  * towars run 4
69  *
70  * Revision 1.1 2003/01/28 23:17:14 balewski
71  * start
72  *
73  * Revision 1.1 2002/11/30 20:04:37 balewski
74  * start
75  *
76  *
77  *********************************************************************/
78 
79