Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
UnigenTrackInterface.h
1
/*
2
* NicaUnigenTrackInterface.h
3
*
4
* Created on: 2 sie 2017
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#ifndef NICAUNIGENTRACKINTERFACE_H_
10
#define NICAUNIGENTRACKINTERFACE_H_
11
12
#include "McTrackInterface.h"
13
#include "UParticle.h"
17
namespace
HalUni
{
18
class
UnigenTrackInterface
:
public
Hal::McTrackInterface
{
19
TObject* fRawObject;
20
21
public
:
22
UnigenTrackInterface
();
23
void
SetID
(Int_t
id
) { ((
UParticle
*) fRawObject)->SetUniqueID(
id
); };
24
void
SetPxPyPzE
(Double_t px, Double_t py, Double_t pz, Double_t e) { ((
UParticle
*) fRawObject)->SetMomentum(px, py, pz, e); };
25
void
SetStatus
(Int_t stat) { ((
UParticle
*) fRawObject)->SetStatus(stat); };
26
void
SetPrimary
(Int_t
/*prim*/
) {};
27
Double_t
GetPx
()
const
{
return
((
UParticle
*) fRawObject)->Px(); };
28
Double_t
GetPy
()
const
{
return
((
UParticle
*) fRawObject)->Py(); };
29
Double_t
GetPz
()
const
{
return
((
UParticle
*) fRawObject)->Pz(); };
30
Double_t
GetE
()
const
{
return
((
UParticle
*) fRawObject)->E(); };
31
Int_t
GetMotherIndex
()
const
{
return
((
UParticle
*) fRawObject)->GetMate(); };
32
Int_t
GetStatus
()
const
{
return
((
UParticle
*) fRawObject)->GetStatus(); };
33
Bool_t
IsPrimary
()
const
{
return
kTRUE; };
34
virtual
~UnigenTrackInterface
();
35
ClassDef(
UnigenTrackInterface
, 1)
36
};
37
}
// namespace HalUni
38
39
#endif
/* NICAROOT_DATAFORMAT_FORMATS_NICAUNIGENTRACKINTERFACE_H_ */
HalUni::UnigenTrackInterface
Definition
UnigenTrackInterface.h:18
HalUni::UnigenTrackInterface::IsPrimary
Bool_t IsPrimary() const
Definition
UnigenTrackInterface.h:33
HalUni::UnigenTrackInterface::GetE
Double_t GetE() const
Definition
UnigenTrackInterface.h:30
HalUni::UnigenTrackInterface::GetMotherIndex
Int_t GetMotherIndex() const
Definition
UnigenTrackInterface.h:31
HalUni::UnigenTrackInterface::GetPy
Double_t GetPy() const
Definition
UnigenTrackInterface.h:28
HalUni::UnigenTrackInterface::GetPz
Double_t GetPz() const
Definition
UnigenTrackInterface.h:29
HalUni::UnigenTrackInterface::SetPrimary
void SetPrimary(Int_t)
Definition
UnigenTrackInterface.h:26
HalUni::UnigenTrackInterface::GetStatus
Int_t GetStatus() const
Definition
UnigenTrackInterface.h:32
HalUni::UnigenTrackInterface::GetPx
Double_t GetPx() const
Definition
UnigenTrackInterface.h:27
HalUni::UnigenTrackInterface::SetID
void SetID(Int_t id)
Definition
UnigenTrackInterface.h:23
HalUni::UnigenTrackInterface::SetStatus
void SetStatus(Int_t stat)
Definition
UnigenTrackInterface.h:25
HalUni::UnigenTrackInterface::SetPxPyPzE
void SetPxPyPzE(Double_t px, Double_t py, Double_t pz, Double_t e)
Definition
UnigenTrackInterface.h:24
Hal::McTrackInterface
Definition
McTrackInterface.h:14
UParticle
Definition
UParticle.h:29
HalUni
Definition
UnigenEvent.cxx:23
examples
unigen
UnigenTrackInterface.h
Generated on Wed Oct 23 2024 15:07:52 for Heavy ion Analysis Libriares by
1.12.0