8#include "UnigenReader.h"
10#include "DataManager.h"
11#include "UnigenEvent.h"
12#include "UnigenEventInterface.h"
16 UnigenReader::UnigenReader() {}
18 void UnigenReader::Exec(Option_t* opt) { fUniEvent->
Update(fInterface); }
24 fInterface->ConnectToTree(Hal::EventInterface::eMode::kRead);
26 mng->
Register(
"HalEvent.",
"HalEvents", fUniEvent, kFALSE);
27 if (!fUniEvent->
ExistInTree()) {
return Hal::Task::EInitFlag::kFATAL; }
29 return Hal::Task::EInitFlag::kSUCCESS;
32 UnigenReader::~UnigenReader() {
33 if (fInterface)
delete fInterface;
Hal::EventInterface * CreateInterface() const
virtual void Update(Hal::EventInterface *interface)
virtual Bool_t ExistInTree() const
virtual Hal::Task::EInitFlag Init()
void Register(const char *name, const char *folderName, TNamed *obj, Bool_t toFile)