CbmRoot
Loading...
Searching...
No Matches
CbmAnaTreeObjectTrack.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 CBMROOT_ANALYSIS_PWGC2F_FEMTOSCOPY_NICAFEMTO_FORMAT_ANATREE_CBMANATREEOBJECTTRACK_H_
5#define CBMROOT_ANALYSIS_PWGC2F_FEMTOSCOPY_NICAFEMTO_FORMAT_ANATREE_CBMANATREEOBJECTTRACK_H_
6
7#include <TObject.h>
8
9#include <AnalysisTree/Detector.hpp>
10#include <AnalysisTree/Hit.hpp>
11#include <AnalysisTree/Particle.hpp>
12
13class CbmAnaTreeObjectTrack : public TObject {
14 AnalysisTree::Particle* fTreeParticle = {nullptr};
15 AnalysisTree::Track* fTreeTrack = {nullptr};
16 AnalysisTree::Hit* fTreeHit = {nullptr};
17
18 public:
20 AnalysisTree::Particle* GetTreeParticle() const { return fTreeParticle; };
21 AnalysisTree::Track* GetTreeTrack() const { return fTreeTrack; };
22 AnalysisTree::Hit* GetTreeHit() const { return fTreeHit; };
23 void SetTreeParticle(AnalysisTree::Particle* p) { fTreeParticle = p; };
24 void SetTreeTrack(AnalysisTree::Track* t) { fTreeTrack = t; };
25 void SetTreeTof(AnalysisTree::Hit* h) { fTreeHit = h; };
26 virtual ~CbmAnaTreeObjectTrack();
29 ClassDef(CbmAnaTreeObjectTrack, 1)
30};
31
32#endif /* CBMROOT_ANALYSIS_PWGC2F_FEMTOSCOPY_NICAFEMTO_FORMAT_ANATREE_CBMANATREEOBJECTTRACK_H_ */
AnalysisTree::Hit * fTreeHit
void SetTreeTrack(AnalysisTree::Track *t)
AnalysisTree::Track * GetTreeTrack() const
CbmAnaTreeObjectTrack & operator=(const CbmAnaTreeObjectTrack &other)
AnalysisTree::Particle * fTreeParticle
AnalysisTree::Track * fTreeTrack
AnalysisTree::Hit * GetTreeHit() const
void SetTreeParticle(AnalysisTree::Particle *p)
void SetTreeTof(AnalysisTree::Hit *h)
AnalysisTree::Particle * GetTreeParticle() const
Data class with information on a STS local track.