13#include "DataFormatManager.h"
15#include "EventInterface.h"
16#include "EventInterfaceAdvanced.h"
17#include "MemoryMapManager.h"
20#include "TrackInterface.h"
27 EventAna(), fBoostVx(vx), fBoostVy(vy), fBoostVz(vz), fEventInterface(nullptr), fTrackInterface(nullptr) {}
34 fEventInterface =
event->CreateInterface();
35 if (fEventInterface) {
39 return Task::EInitFlag::kFATAL;
47 if (source) source->
Boost(fBoostVx, fBoostVy, fBoostVz);
68 BoostTask::~BoostTask() {
69 if (fTrackInterface)
delete fTrackInterface;
70 if (fEventInterface)
delete fEventInterface;
virtual Package * Report() const
void SetBoost(Double_t vx, Double_t vy, Double_t vz, Option_t *opt="")
void AddToAnaMetadata(Package *main_pack, TObject *obj) const
MemoryMapManager * fMemoryMap
virtual Package * Report() const
virtual Task::EInitFlag Init()
TrackInterface * GetTrackInterface() const
virtual void Boost(Double_t vx, Double_t vy, Double_t vz)
Event * GetTemporaryEvent()
void RemoveObjectByName(TString name, Int_t index=0, Bool_t delete_obj=kTRUE)