Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
EventTemplate.cxx
1/*
2 *Generated by hal-cmake
3 */
4#include "EventTemplate.h"
5
6#include <Hal/DataManager.h>
7
8#include "EventInterfaceTemplate.h"
9#include "TrackTemplate.h" // needed for update
10
11namespace MyHal {
15 EventTemplate::EventTemplate() : Event("MyHal::Track", "Hal::V0Track") {}
16
18
21 fTracks->Clear();
22 fV0sHiddenInfo->Clear();
26 }
27
29 Hal::DataManager* manager = Hal::DataManager::Instance();
30 if (manager->CheckBranch("MyEvent.")) { return kTRUE; };
31 return kFALSE;
32 }
33
34 TString EventTemplate::GetFormatName() const { return "MyEvent"; }
35
36 EventTemplate::~EventTemplate() {}
37
38} // namespace MyHal
Bool_t CheckBranch(const char *BrName)
Hal::EventInterface * CreateInterface() const
virtual TString GetFormatName() const
virtual Bool_t ExistInTree() const
virtual void Update(Hal::EventInterface *interface)