Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackMCCut.cxx
1
/*
2
* TrackMCCut.cxx
3
*
4
* Created on: 5 mar 2018
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
10
#include "TrackMCCut.h"
11
12
#include "Cut.h"
13
#include "DataFormatManager.h"
14
#include "McEvent.h"
15
#include "Std.h"
16
17
#include <RtypesCore.h>
18
19
namespace
Hal
{
20
21
TrackMCCut::TrackMCCut(
const
Int_t size) : TrackCut(size) {}
22
23
Bool_t TrackMCCut::Init(Int_t task_id) {
24
if
(TrackCut::Init() == kFALSE)
return
kFALSE;
25
const
Event
* ev = DataFormatManager::Instance()->GetFormat(task_id, EFormatDepth::kNonBuffered);
26
if
(
dynamic_cast<
const
Hal::McEvent
*
>
(ev))
return
kTRUE;
27
return
kFALSE;
28
}
29
30
TrackMCCut::~TrackMCCut() {
31
// TODO Auto-generated destructor stub
32
}
33
}
// namespace Hal
Hal::Event
Definition
Event.h:50
Hal::McEvent
Definition
McEvent.h:17
Hal
Definition
EventAnaChain.cxx:28
cuts
trackcuts
mc
TrackMCCut.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0