/** AsyUnpack * @author P. Russotto * @since 13.04.12 ** ** Base class for tasks in the cbmroot framework. ** Derived classes should implement the Exec method. **/ #ifndef TWUnpack_H #define TWUnpack_H #include "FairLogger.h" #include "FairRootManager.h" #include "FairTask.h" #include "TRootEvent.h" //#include "TTWALLEvent.h" #include "TClonesArray.h" #include "TEvtBuffer.h" class TWUnpack : public FairTask { public: /** Default constructor **/ TWUnpack(); /** Standard constructor *@param name Name of task *@param iVerbose Verbosity level **/ TWUnpack(const char* name, Int_t iVerbose = 1); /** Destructor **/ virtual ~TWUnpack(); /** Virtual method Init **/ InitStatus Init(); /** Virtual method Exec **/ void Exec(Option_t* opt); void Finish(); void Reset(); void SetParTask(); private: TWUnpack(const TWUnpack&); TWUnpack& operator=(const TWUnpack&); TRootTWEvent *fRootTWEvent; TClonesArray *fRootTWEventCopy; /* TWALLEvent* fTWall_evt;*/ TEvtBuffer *ffBuffer; TClonesArray *ffBufferClone; ClassDef(TWUnpack,1); }; #endif