TNeProc.h 1.65 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 41 42 43 44 45 46 47 48 49
	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];
	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
50 51 52 53 54 55 56 57 58 59 60 61 62 63

	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];

Pavel Sharov's avatar
Pavel Sharov committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
//-----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
81
//-----neutrons-----
Pavel Sharov's avatar
Pavel Sharov committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
//-----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;

	ClassDef(TNeProc,1)
};

#endif //TUNPACKPROCESSOR_H