KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KV3DGeoTrack.h
Go to the documentation of this file.
1 #ifndef KV3DGeoTrack_H
2 #define KV3DGeoTrack_H
3 
4 #include "TPolyLine3D.h"
5 #include "TVirtualGeoTrack.h"
6 #include "KVNucleus.h"
7 
14 class KV3DGeoTrack : public TPolyLine3D {
15 
16 protected:
17 
18  Int_t Color();
22 
23 public:
24  KV3DGeoTrack();
26  virtual ~KV3DGeoTrack();
27  virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
28  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
29  virtual const Text_t* GetName() const;
30  virtual Text_t* GetObjectInfo(Int_t px, Int_t py) const;
31  void Draw(Option_t* option = "");
32  Int_t GetZ() const
33  {
34  return fNuc.GetZ();
35  }
36 
37  ClassDef(KV3DGeoTrack, 1) //Class to visualize tracks in OpenGL viewer
38 };
39 #endif
40 
41 
42 
43 
44 
int Int_t
char Text_t
const char Option_t
#define ClassDef(name, id)
Visualise particle trajectories through array geometry.
Definition: KV3DGeoTrack.h:14
virtual ~KV3DGeoTrack()
virtual const Text_t * GetName() const
Int_t GetZ() const
Definition: KV3DGeoTrack.h:32
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
KVNucleus fNuc
Definition: KV3DGeoTrack.h:21
virtual Text_t * GetObjectInfo(Int_t px, Int_t py) const
TVirtualGeoTrack * fTrack
Definition: KV3DGeoTrack.h:20
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:125
Int_t GetZ() const
Return the number of proton / atomic number.
Definition: KVNucleus.cpp:770