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