//--------------------------------------------- // Go4 Tasca analysis // Author: Hans G. Essel // H.Essel@gsi.de // GSI, Experiment Electronics, Data Processing // modified by r.maendl // July 2021 - cleanup by JAM (j.adamczewski@gsi.de) //--------------------------------------------- #ifndef TascaCaliEVENT_H #define TascaCaliEVENT_H #include "TGo4EventElement.h" class TascaCaliProc; class TGo4FileSource; class TascaCaliEvent: public TGo4EventElement { public: TascaCaliEvent(); TascaCaliEvent(const char* name); virtual ~TascaCaliEvent(); /** * Method called by the event owner (analysis step) to fill the * event element from the set event source. Event source can * be the source of the analysis step (if this is a raw event) * or the event processor (if this is a reduced event). */ Int_t Fill(); /** * Method called by the event owner (analysis step) to clear the * event element. */ void Clear(Option_t *t = "") { memset((void*) &ffStopXL[0], 0., sizeof(ffStopXL)); memset((void*) &ffStopXH[0], 0., sizeof(ffStopXH)); memset((void*) &ffStopYL[0], 0., sizeof(ffStopYL)); memset((void*) &ffStopYH[0], 0., sizeof(ffStopYH)); memset((void*) &fiXL_hit[0], 0, sizeof(fiXL_hit)); memset((void*) &fiYL_hit[0], 0, sizeof(fiYL_hit)); memset((void*) &fiXL_TAC[0], 0, sizeof(fiXL_TAC)); memset((void*) &fiYL_TAC[0], 0, sizeof(fiYL_TAC)); memset((void*) &ffGammaKev[0], 0., sizeof(ffGammaKev)); memset((void*) &fiGammaMysec[0], 0., sizeof(fiGammaMysec)); memset((void*) &ffTX[0], 0., sizeof(ffTX)); memset((void*) &ffTY[0], 0., sizeof(ffTY)); memset((void*) &ffBX[0], 0., sizeof(ffBX)); memset((void*) &ffBY[0], 0., sizeof(ffBY)); memset((void*) &fiTX_TAC[0], 0, sizeof(fiTX_TAC)); memset((void*) &fiTY_TAC[0], 0, sizeof(fiTY_TAC)); memset((void*) &fiBX_TAC[0], 0, sizeof(fiBX_TAC)); memset((void*) &fiBY_TAC[0], 0, sizeof(fiBY_TAC)); memset((void*) &fiTX_hit[0], 0, sizeof(fiTX_hit)); memset((void*) &fiTY_hit[0], 0, sizeof(fiTY_hit)); memset((void*) &fiBX_hit[0], 0, sizeof(fiBX_hit)); memset((void*) &fiBY_hit[0], 0, sizeof(fiBY_hit)); fievcount = 0; ffChopper_Amp = 0; fiChopper_hit_time = 0; fiChopper_SystemSec = 0; fiAnswers_TX_Sig = 0; fiAnswers_TY_Sig = 0; fiAnswers_BX_Sig = 0; fiAnswers_BY_Sig = 0; } Int_t Init(); ULong64_t fiSystemSec; UInt_t fiSystemMysec; UInt_t fiTimeStamp; Int_t fiAnswers_TX_Sig; Int_t fiAnswers_TY_Sig; Int_t fiAnswers_BX_Sig; Int_t fiAnswers_BY_Sig; Float_t ffStopXL[48]; Float_t ffStopXH[48]; Float_t ffStopYL[96]; Float_t ffStopYH[96]; Int_t fiXL_hit[48]; Int_t fiYL_hit[96]; Int_t fiXL_TAC[48]; Int_t fiYL_TAC[96]; Float_t ffGammaKev[8]; Int_t fiGammaMysec[8]; Float_t ffTX[24]; Float_t ffTY[48]; Float_t ffBX[24]; Float_t ffBY[48]; Int_t fiTX_TAC[24]; Int_t fiTY_TAC[48]; Int_t fiBX_TAC[24]; Int_t fiBY_TAC[48]; Int_t fiTX_hit[24]; Int_t fiTY_hit[48]; Int_t fiBX_hit[24]; Int_t fiBY_hit[48]; Float_t ffChopper_Amp; //ADN UInt_t fiChopper_hit_time; //ADN ULong64_t fiChopper_SystemSec; //ADN UInt_t fiMacro; UInt_t fiMicro; UInt_t fiChopper; UInt_t fiShutoff_in; UInt_t fievcount; UInt_t fisplit; Bool_t fisTof; Bool_t fisChopper; Bool_t fisMacro; Bool_t fisMicro; private: TascaCaliProc * fxTascaEP; //! Don't put this to file TGo4FileSource * fxTascaFS; //! Don't put this to file ClassDef(TascaCaliEvent,1) }; #endif //TascaCaliEVENT_H