Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
EventCutTemplate.cxx
1/*
2 *Generated by hal-cmake
3 */
4#include "EventCutTemplate.h"
5
6#include <Hal/DataFormatManager.h>
7#include <Hal/Event.h>
8#include <Hal/Package.h>
9
10namespace MyHal {
11
19 }
20
21 EventCutTemplate::~EventCutTemplate() {}
27 Int_t EventCutTemplate::Init(Int_t taskID) {
29 const Hal::Event* event = mngr->GetFormat(taskID, Hal::EFormatDepth::kNonBuffered);
30 if (dynamic_cast<Hal::Event*>(event)) return kTRUE;
31 return EventCutTempate::Init(taskID);
32 }
33
38 return Validate();
40 }
41
44 /* add some objects
45 pack->AddObject
46 */
47 return pack;
48 }
49
50} // namespace MyHal
Bool_t Validate()
Definition Cut.cxx:43
const Event * GetFormat(Int_t task_id, EFormatDepth format_depth=EFormatDepth::kAll) const
static DataFormatManager * Instance()
virtual Package * Report() const
Definition EventCut.cxx:18
Bool_t Pass(Hal::Event *pair)
Int_t Init(Int_t taskID)
Hal::Package * Report() const