15 #ifndef FAIRMQSAMPLERTASK_H_
16 #define FAIRMQSAMPLERTASK_H_
19 #include "FairMQTransportFactory.h"
22 #include <FairMQMessage.h>
23 #include <TClonesArray.h>
38 virtual void Exec(Option_t* opt);
41 void SetBranch(
const std::string& branch);
43 void GetPayload(std::unique_ptr<FairMQMessage>& msg);
44 void SetTransport(std::shared_ptr<FairMQTransportFactory> factory);
virtual void Exec(Option_t *opt)
FairEventHeader * fEvtHeader
std::shared_ptr< FairMQTransportFactory > fTransportFactory
virtual ~FairMQSamplerTask()
FairMQMessagePtr fPayload
void SetEventIndex(Long64_t eventIndex)
FairMQSamplerTask operator=(const FairMQSamplerTask &)=delete
void SetTransport(std::shared_ptr< FairMQTransportFactory > factory)
void GetPayload(std::unique_ptr< FairMQMessage > &msg)
void SetBranch(const std::string &branch)
virtual InitStatus Init()