/* * SamplerTask.h * * Created on: Nov 22, 2012 * Author: dklein */ #ifndef SAMPLERTASK_H_ #define SAMPLERTASK_H_ #include "base/FairTask.h" #include #include "PndPayload.h" #include #include "Message.h" namespace Highway { class SamplerTask: public FairTask { public: SamplerTask(); SamplerTask(const char* name, Int_t iVerbose=1); virtual ~SamplerTask(); virtual InitStatus Init(); virtual void Exec(Option_t* opt) = 0; void SetBranch(std::string branch); void SetMessageSize(int size); std::vector *GetOutput(); protected: TClonesArray* fInput; std::string fBranch; int fMessageSize; std::vector *fOutput; }; } /* namespace Highway */ #endif /* SAMPLERTASK_H_ */