/** Merger * @author P. Russotto * @since 13.04.12 ** ** Base class for tasks in the cbmroot framework. ** Derived classes should implement the Exec method. ** ** Modified by A. Le Fevre, 11/2012 (CAMAC, INFO, ATOF branches) **/ #ifndef Merger_H #define Merger_H #include "FairLogger.h" #include "FairRootManager.h" #include "FairRunAna.h" #include "FairTask.h" #include "TRootEvent.h" #include "TEvtBuffer.h" class Merger : public FairTask { public: /** Default constructor **/ Merger(); /** Standard constructor *@param name Name of task *@param iVerbose Verbosity level **/ Merger(const char* name, Int_t iVerbose = 1); /** Destructor **/ virtual ~Merger(); /** Virtual method Init **/ InitStatus Init(); /** Virtual method Exec **/ void Exec(Option_t* opt); void Finish(); void Reset(); void SetParTask(); private: Merger(const Merger&){}; Merger& operator=(const Merger&); TClonesArray *fRootMBallEventCopy; TClonesArray *fRootMBallGlobalCopy; TClonesArray *fRootLANDEventCopy; TClonesArray *fRootATOFhitEventCopy; // ALF, 11/2012 TClonesArray *fRootATOFtrackEventCopy; // ALF, 11/2012 TClonesArray *fRootATOFcalEventCopy; // ALF, 11/2012 TClonesArray *fRootATOFglobalEventCopy; // ALF, 02/2013 TClonesArray *fRootCAMACEventCopy; // ALF, 11/2012 TClonesArray *fRootINFOEventCopy; // ALF, 11/2012 TClonesArray* fRootCHIEventCopy; TClonesArray* fRootCHIGlobalCopy; TClonesArray* fRootCHITSCopy; TClonesArray* fRootMBSTSCopy; TRootTS *fCHITS; TRootTS *fMBSTS; TRootCHIEvent *fCHIEvent; TRootCHIGlobal *fCHIGlobal; TRootMBallEvent *fMBallEvent; TRootMBallGlobal *fMBallGlobal; TRootATOFhitEvent *fATOFhitEvent; // ALF, 11/2012 TRootATOFtrackEvent *fATOFtrackEvent; // ALF, 11/2012 TRootATOFcalEvent *fATOFcalEvent; // ALF, 11/2012 TRootATOFglobalEvent *fATOFglobalEvent; // ALF, 02/2013 TRootCAMACEvent *fCAMACEvent; // ALF, 11/2012 TRootINFOEvent *fINFOEvent; // ALF, 11/2012 TRootLANDEvent *fLANDEvent; unsigned long int *diffTS; ClassDef(Merger,1); }; #endif