TNeEvent.h 1.91 KB
Newer Older
Pavel Sharov's avatar
Pavel Sharov committed
1
/* -*- mode:c++ c-file-style:"linux" -*- */
Pavel Sharov's avatar
Pavel Sharov committed
2 3 4 5 6 7 8 9 10
//===================================================================
//== TNeEvent.h:
//== Version: 
//===================================================================

#ifndef TNeEVENT_H
#define TNeEVENT_H

#include "TGo4EventElement.h"
11
#include "TDSSD16.h"
Pavel Sharov's avatar
Pavel Sharov committed
12 13 14 15 16 17 18 19 20 21 22

class TNeEvent : public TGo4EventElement 
{
public:
	TNeEvent();
	TNeEvent(const char* name);
	virtual ~TNeEvent();

	/** Method called by the framework to clear the event element. */
	void Clear(Option_t *t="");

23
//-----Si-----
24
	TDSSD16 L1;
25 26
	unsigned short Lxa[16];
	unsigned short Lxt[16];
mbsdaq's avatar
mbsdaq committed
27 28
	unsigned short Lxc[16];

29 30
	unsigned short Lya[16];
	unsigned short Lyt[16];
mbsdaq's avatar
mbsdaq committed
31 32
	unsigned short Lyc[16];

33 34
	unsigned short Rxa[16];
	unsigned short Rxt[16];
mbsdaq's avatar
mbsdaq committed
35 36
	unsigned short Rxc[16];

37 38
	unsigned short Rya[16];
	unsigned short Ryt[16];
mbsdaq's avatar
mbsdaq committed
39 40 41 42 43 44
	unsigned short Ryc[16];

	unsigned short Rva[16];
	unsigned short Rvt[16];
	unsigned short Rvc[16];

Pavel Sharov's avatar
Pavel Sharov committed
45 46
	unsigned short R20a[16];
	unsigned short R20t[16];
mbsdaq's avatar
mbsdaq committed
47 48
	unsigned short R20c[16];

49 50
	unsigned short AnSa[16];
	unsigned short AnSt[16];
mbsdaq's avatar
mbsdaq committed
51 52
	unsigned short AnSc[16];

53 54
	unsigned short AnRa[16];
	unsigned short AnRt[16];
mbsdaq's avatar
mbsdaq committed
55 56
	unsigned short AnRc[16];

57 58
	unsigned short AnVa[16];
	unsigned short AnVt[16];
mbsdaq's avatar
mbsdaq committed
59 60
	unsigned short AnVc[16];

Pavel Sharov's avatar
Pavel Sharov committed
61 62
	unsigned short Rcsa[16];
	unsigned short Rcst[16];
mbsdaq's avatar
mbsdaq committed
63 64
	unsigned short Rcsc[16];

Pavel Sharov's avatar
Pavel Sharov committed
65 66
	unsigned short Lcsa[16];
	unsigned short Lcst[16];
mbsdaq's avatar
mbsdaq committed
67
	unsigned short Lcsc[16];
Pavel Sharov's avatar
Pavel Sharov committed
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99

	unsigned short F3[4];
	unsigned short tF3[4];
	unsigned short F5[4];
	unsigned short tF5[4];
 	unsigned short tMWPC[4];
	unsigned int scaler[16];
	

/*	unsigned short ADC[32];
	unsigned short TDC[32];
	unsigned short mQDC[32];
	unsigned short mTDC[32];
*/

//-----WIRES-----
	unsigned short nx1, ny1, nx2, ny2; // wires
	unsigned short x1[32],y1[32],x2[32],y2[32]; // wires
	unsigned int rx1, rx2, ry1, ry2;

	int nevent;
	int trigger;
	int subevents;
	int evsize;
	unsigned int mtime;
//	unsigned int time;
ClassDef(TNeEvent,1)
};
#endif //TEVENT_H