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
11
namespace
MyHal {
15
EventTemplate::EventTemplate
() : Event(
"MyHal::Track"
,
"Hal::V0Track"
) {}
16
17
Hal::EventInterface
*
EventTemplate::CreateInterface
()
const
{
return
new
EventInterfaceTemplate
(); }
18
19
void
EventTemplate::Update
(
Hal::EventInterface
* interface) {
20
EventInterfaceTemplate
* source = (
EventInterfaceTemplate
*) interface;
21
fTracks->Clear();
22
fV0sHiddenInfo->Clear();
26
}
27
28
Bool_t
EventTemplate::ExistInTree
()
const
{
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
Hal::DataManager
Definition
DataManager.h:27
Hal::DataManager::CheckBranch
Bool_t CheckBranch(const char *BrName)
Definition
DataManager.cxx:47
Hal::EventInterface
Definition
EventInterface.h:16
MyHal::EventInterfaceTemplate
Definition
EventInterfaceTemplate.h:11
MyHal::EventTemplate::CreateInterface
Hal::EventInterface * CreateInterface() const
Definition
EventTemplate.cxx:17
MyHal::EventTemplate::GetFormatName
virtual TString GetFormatName() const
Definition
EventTemplate.cxx:34
MyHal::EventTemplate::ExistInTree
virtual Bool_t ExistInTree() const
Definition
EventTemplate.cxx:28
MyHal::EventTemplate::EventTemplate
EventTemplate()
Definition
EventTemplate.cxx:15
MyHal::EventTemplate::Update
virtual void Update(Hal::EventInterface *interface)
Definition
EventTemplate.cxx:19
features
hal_plus
templates
EventTemplate.cxx
Generated on Wed Oct 23 2024 15:07:52 for Heavy ion Analysis Libriares by
1.12.0