#ifndef TUNPACKPROCESSOR_H #define TUNPACKPROCESSOR_H #include #include #include #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