Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ComplexTrack.h
1/*
2 * TrackCombined.h
3 *
4 * Created on: 04-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCOMPLEXTRACK_H_
10#define HALCOMPLEXTRACK_H_
11
12#include "Track.h"
13
18namespace Hal {
19 class ComplexTrack : public Track {
20 Int_t fMatchID;
21 Track* fRealTrack;
22 Track* fImgTrack;
23
24 public:
26 ComplexTrack(const ComplexTrack& other);
27 ComplexTrack& operator=(const ComplexTrack& other);
28 void SetMatchID(Int_t match) { fMatchID = match; };
29 void SetRealTrack(Track* tr) { fRealTrack = tr; };
30 void SetImgTrack(Track* tr) { fImgTrack = tr; };
31 Int_t GetMatchID() const { return fMatchID; };
32 virtual void Clear(Option_t* opt = "");
33 virtual Float_t GetFieldVal(Int_t fieldID) const;
34 virtual void CopyData(Track* other);
35 virtual void CopyAllData(Track* other);
36 virtual void ResetTrack(Int_t thisId = -1, Event* event = nullptr);
37 virtual TString GetFieldName(Int_t fieldID) const;
38 Track* GetRealTrack() const { return fRealTrack; };
39 Track* GetImgTrack() const { return fImgTrack; };
40 virtual ~ComplexTrack();
41 ClassDef(ComplexTrack, 1)
42 };
43} // namespace Hal
44#endif /* HALCOMPLEXTRACK_H_ */
virtual void ResetTrack(Int_t thisId=-1, Event *event=nullptr)
virtual void CopyData(Track *other)
virtual TString GetFieldName(Int_t fieldID) const
virtual Float_t GetFieldVal(Int_t fieldID) const
virtual void Clear(Option_t *opt="")
virtual void CopyAllData(Track *other)