TNeProc.h 1.24 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 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
#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-----
	TH2 * hT1a;
	TH2 * hT1t;
	TH1		*d1T1xa[16];
	TH1		*d1T1xt[16];
	TH1		*d1T1xc[16];
	TH1		*d1T1ya[16];
	TH1		*d1T1yt[16];
	TH1		*d1T1yc[16];
//-----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