CbmRoot
Loading...
Searching...
No Matches
HalCbmHbtTrack.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2023 Warsaw University of Technology, Warsaw
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Daniel Wielanek [committer] */
4#ifndef CBMHBTTRACK_H_
5#define CBMHBTTRACK_H_
6
7#include "CbmHelix.h"
8
9#include <TVector3.h>
10
11#include <Hal/ExpTrack.h>
12
13namespace Hal
14{
15 class Track;
16}
17
18class HalCbmHbtTrack : public Hal::ExpTrack {
19 TVector3 fPosAt[9];
20 TVector3 fMomAt[9];
21 TVector3 fPosAtCustom;
22 TVector3 fMomAtCustom;
24 Double_t fR;
25
26 public:
28 inline const TVector3& GetPosAtMiddle() const { return fPosAt[3]; };
29 inline const TVector3& GetPosAtStsEntrance() const { return fPosAt[1]; };
30 inline const TVector3& GetPosAtStsExit() const { return fPosAt[8]; };
31 inline const TVector3& GetPosAtCustom() const { return fPosAtCustom; }
32 inline const TVector3& GetPosAtPlane(Int_t plane) const { return fPosAt[plane]; }
33 inline const TVector3& GetMomAtMiddle() const { return fMomAt[3]; };
34 inline const TVector3& GetMomAtStsEntrance() const { return fMomAt[1]; };
35 inline const TVector3& GetMomAtStsExit() const { return fMomAt[8]; };
36 inline const TVector3& GetMomAtCustom() const { return fMomAtCustom; }
37 inline const TVector3& GetMomAtPlane(Int_t plane) const { return fMomAt[plane]; }
38
39 CbmHelix& GetHelix() { return fHelix; };
40 void CalculateAtR(Double_t R);
41 virtual void CopyData(Hal::Track* other);
42 HalCbmHbtTrack(const HalCbmHbtTrack& other);
44 virtual ~HalCbmHbtTrack();
45 ClassDef(HalCbmHbtTrack, 1)
46};
47
48#endif /* CBMHBTTRACK_H_ */
TVector3 fPosAt[9]
CbmHelix & GetHelix()
const TVector3 & GetPosAtCustom() const
TVector3 fMomAtCustom
virtual ~HalCbmHbtTrack()
TVector3 fMomAt[9]
const TVector3 & GetMomAtCustom() const
const TVector3 & GetPosAtStsExit() const
TVector3 fPosAtCustom
const TVector3 & GetMomAtPlane(Int_t plane) const
HalCbmHbtTrack & operator=(const HalCbmHbtTrack &other)
const TVector3 & GetPosAtStsEntrance() const
const TVector3 & GetMomAtStsEntrance() const
const TVector3 & GetMomAtStsExit() const
void CalculateAtR(Double_t R)
const TVector3 & GetPosAtMiddle() const
const TVector3 & GetMomAtMiddle() const
virtual void CopyData(Hal::Track *other)
const TVector3 & GetPosAtPlane(Int_t plane) const