10#include "MultiTrackAna.h"
13#include "DataFormatManager.h"
16#include "MemoryMapManager.h"
20#include <RtypesCore.h>
29 Cout::PrintInfo(
"To small mix size, increasing to 1", EInfo::kDebugInfo);
36 return Task::EInitFlag::kSUCCESS;
38 Cout::PrintInfo(
"Failed to init TrackAna in MultiTrackAna", EInfo::kError);
39 return Task::EInitFlag::kFATAL;
55 MultiTrackAna::~MultiTrackAna() {}
57 MultiTrackAna::MultiTrackAna(ECutUpdate tiers) :
TrackAna(tiers) {}
59 MultiTrackAna::MultiTrackAna() :
MultiTrackAna(ECutUpdate::kTwoTrack) {}
79 if (
this != &other) { TrackAna::operator=(other); }
85 if (stat == Task::EInitFlag::kFATAL)
return stat;
87 Cout::PrintInfo(Form(
"%s %s", this->ClassName(),
": Buffered format not set, fixing"), EInfo::kWarning);
89 Cout::PrintInfo(
"Cannot fix, non-buffered format not present", EInfo::kError);
90 return Task::EInitFlag::kFATAL;
100 return Task::EInitFlag::kSUCCESS;
105 return Task::EInitFlag::kSUCCESS;
static void PrintInfo(TString text, Hal::EInfo status)
virtual Task::EInitFlag CheckFormat()
virtual void InitNewCutContainer()
void AddToAnaMetadata(Package *main_pack, TObject *obj) const
MemoryMapManager * fMemoryMap
Int_t fCurrentEventCollectionID
virtual Bool_t IsCompatible(const Event *non_buffered) const
virtual TString GetFormatName() const
void BufferEvent(Int_t collection)
virtual Task::EInitFlag CheckFormat()
virtual Task::EInitFlag Init()
virtual void InitNewCutContainer()
virtual Package * Report() const
virtual void FinishTask()
void SetMixSize(Int_t to_mix)
virtual void ProcessTrack()
virtual void SetOption(Option_t *option)
void SetFormatBuffered(Event *format)
virtual void ProcessEvent()
virtual Task::EInitFlag Init()
virtual Package * Report() const
virtual void FinishTask()
virtual void ProcessEvent()
virtual void SetOption(Option_t *option)