Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackCutTemplate.cxx
1/*
2 *Generated by hal-cmake
3 */
4#include "TrackCutTemplate.h"
5
6#include <Hal/DataFormatManager.h>
7#include <Hal/Event.h>
8#include <Hal/Package.h>
9#include <Hal/Track.h>
10namespace MyHal {
18 }
19
20 TrackCutTemplate::~TrackCutTemplate() {}
26 Int_t TrackCutTemplate::Init(Int_t taskID) {
28 const Hal::Event* event = mngr->GetFormat(taskID, Hal::EFormatDepth::kNonBuffered);
29 if (dynamic_cast<Hal::Event*>(event)) return kTRUE;
30 return TrackCut::Init(taskID);
31 }
32
37 return Validate();
39 }
40
43 /* add some objects
44 pack->AddObject
45 */
46 return pack;
47 }
48
49} // 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 TrackCut.cxx:25
Hal::Package * Report() const
Int_t Init(Int_t taskID)
Bool_t Pass(Hal::Track *pair)