Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
XiTrack.h
1/*
2 * XiTrack.h
3 *
4 * Created on: 17 cze 2024
5 * Author: daniel
6 */
7
8#ifndef HAL_DATA_DATAFORMAT_HIDDENINFO_XITRACK_H_
9#define HAL_DATA_DATAFORMAT_HIDDENINFO_XITRACK_H_
10
11#include <Rtypes.h>
12#include <RtypesCore.h>
13#include <TVector3.h>
14
15#include "HiddenInfo.h"
16
17namespace Hal {
18 class Track;
19 class V0Track;
20 class XiTrack : public HiddenInfo {
21 Int_t fTrackId = {-1};
22 Int_t fV0Id = {-1};
23 Int_t fChargedId = {-1};
24 Int_t fAssumedPdg = {-1};
25 Int_t fAssumedPdgNeu = {-1};
26 Int_t fAssumedPdgCharged = {-1};
27 TVector3 fDecay;
28
29 public:
30 XiTrack() {};
31 void SetTrackId(Int_t id) { fTrackId = id; }
32 void SetV0Id(Int_t neu) { fV0Id = neu; }
33 void SetChId(Int_t id) { fChargedId = id; };
34 void RotateZ(Double_t /*phi*/) {}; // TODO implement
35 Int_t GetTrackId() const { return fTrackId; }
36 Int_t GetV0Id() const { return fV0Id; }
37 Int_t GetChId() const { return fChargedId; };
38 virtual void CopyData(XiTrack* v);
39 virtual ~XiTrack() {};
40 ClassDef(XiTrack, 1)
41 };
42
43} /* namespace Hal */
44
45#endif /* HAL_DATA_DATAFORMAT_HIDDENINFO_XITRACK_H_ */