KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KV3DGeoTrack.h
1#ifndef KV3DGeoTrack_H
2#define KV3DGeoTrack_H
3
4#include "TPolyLine3D.h"
5#include "TVirtualGeoTrack.h"
6#include "KVNucleus.h"
7
15class KV3DGeoTrack : public TPolyLine3D {
16
17protected:
18
19 Int_t Color();
23
24public:
27 virtual ~KV3DGeoTrack();
28 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
29 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
30 virtual const Text_t* GetName() const;
31 virtual Text_t* GetObjectInfo(Int_t px, Int_t py) const;
32 void Draw(Option_t* option = "");
33 Int_t GetZ() const
34 {
35 return fNuc.GetZ();
36 }
37
38 ClassDef(KV3DGeoTrack, 1) //Class to visualize tracks in OpenGL viewer
39};
40#endif
41
42
43
44
45
int Int_t
char Text_t
const char Option_t
#define ClassDef(name, id)
Visualise particle trajectories through array geometry.
virtual ~KV3DGeoTrack()
virtual const Text_t * GetName() const
Int_t GetZ() const
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
KVNucleus fNuc
virtual Text_t * GetObjectInfo(Int_t px, Int_t py) const
TVirtualGeoTrack * fTrack
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
void Draw(Option_t *option="")
Override Draw to add a TPolyMarker3D at the end of the track.
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
Int_t GetZ() const
Return the number of proton / atomic number.