TNeProc.h 1.48 KB
Newer Older
Pavel Sharov's avatar
Pavel Sharov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#ifndef TUNPACKPROCESSOR_H
#define TUNPACKPROCESSOR_H
#include <TLine.h>
#include <TGraph.h>
#include <TGraphErrors.h>
#include "TGo4EventProcessor.h"

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

class TNeProc : public TGo4EventProcessor 
{
public:
	TNeProc() ;
	TNeProc(const char* name);
	virtual ~TNeProc() ;

	Bool_t BuildEvent(TGo4EventElement* target); // event processing function
	double GetClasters(unsigned short n, unsigned short *x);
	static long bit[32];
	
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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
//-----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-----
//-----neutrons-----		
//-----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