4#ifndef __KVEVENTVIEWER_H
5#define __KVEVENTVIEWER_H
107 Int_t highlightprotoncolor = kOrange - 2,
108 Int_t highlightneutroncolor = kGreen - 2,
111 Double_t nuclearradiusparameter = 0.2);
170 void SetInput(
const char* filename);
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t TPoint TPoint const char mode
Base class for KaliVeda framework.
virtual void Print(Option_t *option="") const
Draw events in 3D using OpenGL.
virtual Bool_t SetHighlight(KVNucleus *n)
Decide whether or not to highlight this nucleus in the event display.
void SetFixPerspective(Bool_t on=kTRUE)
Double_t nucleon_radius
radius of nucleons in nuclei
virtual void SetHighlightMode(Int_t m)
void SetXYMode(Bool_t mode)
void ReadEvent()
Read an event from input source.
void DrawNextEvent()
Draw next event read from input source.
void SetHighlightProtonColor(Int_t c)
void SetAxesMode(Bool_t on=kTRUE)
Int_t fproton_color
proton colour
Int_t fProton_color
proton colour for highlighted nuclei
void SetHighlightNeutronColor(Int_t c)
void SetSavePicture(Bool_t yes=kTRUE)
virtual ~KVEventViewer()
Destructor.
void SetFixSeed(Bool_t fix, Int_t refresh=1)
Double_t nuclear_radius_parameter
to calculate radii of nuclei
void DrawEvent(KVEvent *, const Char_t *frame="")
Draw all particles in event which are "ok".
void SetFreeNucleonRadius(Double_t r)
Set radius used to represent free nucleons (default value = 0.2)
void SetInput(TBranch *eventbranch)
Read events from branch of a TTree.
void SetNeutronColor(Int_t c)
Int_t fNeutron_color
neutron colour for highlighted nuclei
void SetDrawMomentumSpace(Bool_t on=kTRUE)
Draw event in momentum space (default is velocity space)
Double_t maxV
largest velocity of event
Double_t free_nucleon_radius
radius of free nucleons
void SetProtonColor(Int_t c)
Int_t ivol
geovolume counter
void DrawNucleus(KVNucleus &, const Char_t *frame="")
Draw nucleus.
Bool_t fSavePicture
kTRUE to save in GIF file
Int_t fneutron_color
neutron colour
Int_t maxZ
largest Z of event
void SetNucleonRadius(Double_t r)
Set radius used to represent nucleons in nuclei (default value = 0.25)
void SetMaxVelocity(Int_t vel)
Bool_t fMomentumSpace
kTRUE to show event in momentum space
TGeoMaterial * matEmptySpace
Abstract base class container for multi-particle events.
Description of properties and kinematics of atomic nuclei.