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>
10
namespace
MyHal {
14
TrackCutTemplate::TrackCutTemplate
() : TrackCut(1) {
18
}
19
20
TrackCutTemplate::~TrackCutTemplate() {}
26
Int_t
TrackCutTemplate::Init
(Int_t taskID) {
27
Hal::DataFormatManager
* mngr =
Hal::DataFormatManager::Instance
();
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
33
Bool_t
TrackCutTemplate::Pass
(
Hal::Track
* pair) {
37
return
Validate
();
39
}
40
41
Hal::Package
*
TrackCutTemplate::Report
()
const
{
42
Hal::Package
* pack =
Hal::TrackCut::Report
();
43
/* add some objects
44
pack->AddObject
45
*/
46
return
pack;
47
}
48
49
}
// namespace MyHal
Hal::Cut::Validate
Bool_t Validate()
Definition
Cut.cxx:43
Hal::DataFormatManager
Definition
DataFormatManager.h:25
Hal::DataFormatManager::GetFormat
const Event * GetFormat(Int_t task_id, EFormatDepth format_depth=EFormatDepth::kAll) const
Definition
DataFormatManager.cxx:149
Hal::DataFormatManager::Instance
static DataFormatManager * Instance()
Definition
DataFormatManager.cxx:80
Hal::Event
Definition
Event.h:50
Hal::Package
Definition
Package.h:26
Hal::TrackCut::Report
virtual Package * Report() const
Definition
TrackCut.cxx:25
Hal::Track
Definition
Track.h:29
MyHal::TrackCutTemplate::TrackCutTemplate
TrackCutTemplate()
Definition
TrackCutTemplate.cxx:14
MyHal::TrackCutTemplate::Report
Hal::Package * Report() const
Definition
TrackCutTemplate.cxx:41
MyHal::TrackCutTemplate::Init
Int_t Init(Int_t taskID)
Definition
TrackCutTemplate.cxx:26
MyHal::TrackCutTemplate::Pass
Bool_t Pass(Hal::Track *pair)
Definition
TrackCutTemplate.cxx:33
features
hal_plus
templates
TrackCutTemplate.cxx
Generated on Wed Oct 23 2024 15:07:52 for Heavy ion Analysis Libriares by
1.12.0