TNeProc.h 2.11 KB
Newer Older
Pavel Sharov's avatar
Pavel Sharov committed
1 2 3 4 5 6 7 8 9 10
#ifndef TUNPACKPROCESSOR_H
#define TUNPACKPROCESSOR_H
#include <TLine.h>
#include <TGraph.h>
#include <TGraphErrors.h>
#include "TGo4EventProcessor.h"

//-----class TNeParam-----;
extern int otl;

Pavel Sharov's avatar
Pavel Sharov committed
11
class TNeProc : public TGo4EventProcessor
Pavel Sharov's avatar
Pavel Sharov committed
12 13 14 15 16
{
public:
	TNeProc() ;
	TNeProc(const char* name);
	virtual ~TNeProc() ;
Pavel Sharov's avatar
Pavel Sharov committed
17 18
	//! event processing function
	Bool_t BuildEvent(TGo4EventElement* target);
Pavel Sharov's avatar
Pavel Sharov committed
19 20
	double GetClasters(unsigned short n, unsigned short *x);
	static long bit[32];
Pavel Sharov's avatar
Pavel Sharov committed
21

Pavel Sharov's avatar
Pavel Sharov committed
22 23 24 25 26 27 28
private:
	TH1		*fTrigger;
	TH1		*fSubEvents;
	TH1		*fEventsSizes;
//
	//-----SQ-----
//-----raw-----
29 30 31 32 33 34 35 36 37 38 39 40
	TH1		*d1Lxa[16];
	TH1		*d1Lxt[16];
	TH1		*d1Lxc[16];
	TH1		*d1Lya[16];
	TH1		*d1Lyt[16];
	TH1		*d1Lyc[16];
	TH1		*d1Rxa[16];
	TH1		*d1Rxt[16];
	TH1		*d1Rxc[16];
	TH1		*d1Rya[16];
	TH1		*d1Ryt[16];
	TH1		*d1Ryc[16];
mbsdaq's avatar
mbsdaq committed
41 42 43
	TH1		*d1Rva[16];
	TH1		*d1Rvt[16];
	TH1		*d1Rvc[16];
44 45 46 47 48 49 50 51 52
	TH1		*d1AnSa[16];
	TH1		*d1AnSt[16];
	TH1		*d1AnSc[16];
	TH1		*d1AnRa[16];
	TH1		*d1AnRt[16];
	TH1		*d1AnRc[16];
	TH1		*d1AnVa[16];
	TH1		*d1AnVt[16];
	TH1		*d1AnVc[16];
Pavel Sharov's avatar
Pavel Sharov committed
53 54 55 56 57 58 59 60 61 62 63 64 65

	TH1		*d1R20a[16];
	TH1		*d1R20t[16];
	TH1		*d1R20c[16];


	TH1		*d1Rcsa[16];
	TH1		*d1Rcst[16];
	TH1		*d1Rcsc[16];

	TH1		*d1Lcsa[16];
	TH1		*d1Lcst[16];
	TH1		*d1Lcsc[16];
mbsdaq's avatar
mbsdaq committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
//______________ 2 dim
	TH2		*d2ede;

	TH2		*d2LyLcs1;
	TH2		*d2LyLcs2;
	TH2		*d2LyLcs3;
	TH2		*d2LyLcs4;
	TH2		*d2LyLcs5;
	TH2		*d2LyLcs6;
	TH2		*d2LyLcs7;
	TH2		*d2LyLcs8;
	TH2		*d2LyLcs9;
	TH2		*d2LyLcs10;
	TH2		*d2LyLcs11;
	TH2		*d2LyLcs12;
	TH2		*d2LyLcs13;
	TH2		*d2LyLcs14;
	TH2		*d2LyLcs15;
	TH2		*d2LyLcs16;
Pavel Sharov's avatar
Pavel Sharov committed
85

Pavel Sharov's avatar
Pavel Sharov committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
//-----clb-----
	TH1		*d1sq1_x_c[16];
//-----ToF+MWPC-----
	TH1		*d1F3[4];
	TH1		*d1tF3[4];
	TH1		*d1F5[4];
	TH1		*d1tF5[4];
	TH1		*d1tMWPC[4];
//
	TH1		*d1ToF;
	TH1		*d1aF3;
	TH2		*d2ToFaF3;
	TH2		*d2ToFaF3_cut;
	TH1		*d1aF5;
	TH2		*d2ToFaF5;

	//-----CALIBRATED-----
Pavel Sharov's avatar
Pavel Sharov committed
103
//-----neutrons-----
Pavel Sharov's avatar
Pavel Sharov committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
//-----WIRES-----
	TH1		*d1X1;
	TH1		*d1Y1;
	TH1		*d1X2;
	TH1		*d1Y2;
	TH1		*d1NX1;
	TH1		*d1NY1;
	TH1		*d1NX2;
	TH1		*d1NY2;
	TH2		*d2XY1;
	TH2		*d2XY2;
	TH1		*d1CX1;
	TH1		*d1CY1;
	TH1		*d1CX2;
	TH1		*d1CY2;
mbsdaq's avatar
mbsdaq committed
119 120 121 122 123 124
	TH2		*d2XYbeamOnTar;

	double mwz1, mwx1, mwy1;
	double mwz2, mwx2, mwy2;
	double zbt, xbt, ybt;

Pavel Sharov's avatar
Pavel Sharov committed
125 126 127 128 129

	ClassDef(TNeProc,1)
};

#endif //TUNPACKPROCESSOR_H