FEDRA emulsion software from the OPERA Collaboration
|
FEDRA Event Display. More...
#include <EdbDisplay.h>
Public Member Functions | |
void | AcceptModifiedParams () |
void | AcceptModifiedTrackParams () |
void | AcceptModifiedVTX () |
void | CancelDialogModifiedParams () |
void | CancelDialogModifiedTrackParams () |
void | CancelModifiedVTX () |
void | ClearSegmentEnv () |
void | CloseDialogModifiedParams () |
void | CloseDialogModifiedTrackParams () |
void | CloseDialogModifiedVTX () |
void | Delete () |
void | DeleteModifiedVTX () |
void | DialogModifiedVTX () |
void | DialogNeighborParameters () |
void | DialogTrackParameters () |
void | DrawAllObjects () |
void | DrawRef (float start[3], float end[3]) |
void | DrawSegmentExtrapolationLine (const EdbSegP &s, float zmin, float zmax) |
void | DrawVertexEnvironment () |
void | DrawVTXTracks (char *type, EdbVertex *v=0) |
EdbDisplay () | |
EdbDisplay (const char *title, EdbLayer &la, TCanvas *Canvas=0) | |
EdbDisplay (const char *title, Float_t x0, Float_t x1, Float_t y0, Float_t y1, Float_t z0, Float_t z1, TCanvas *Canvas=0) | |
void | GuessRange (float margZmin=3000, float margZmax=1000, float margR=300) |
void | Refresh () |
void | RemoveTrackFromTable (int ivt=0) |
EdbSegG * | SegLine (const EdbSegP *seg) |
void | SelectVertexTracks (TObjArray *vtx) |
void | Set0 () |
void | SetArrSegG (TObjArray *arrg) |
void | SetArrSegP (TObjArray *arr) |
void | SetArrTr (TObjArray *arr) |
void | SetArrV (TObjArray *arrv) |
void | SetDrawTracks (int opt) |
void | SetDrawVertex (int opt) |
void | SetVerRec (EdbVertexRec *evr) |
void | TrackDraw (EdbTrackP *tr, Color_t kColor=kWhite) |
void | UndoModifiedVTX () |
EdbVertexRec * | VerRec () const |
void | VertexDraw (EdbVertex *v) |
~EdbDisplay () | |
![]() | |
virtual void | Clear () |
virtual void | ClearNewVTX () |
virtual void | ClearPreVTX () |
virtual void | CreateCanvasVTX () |
virtual void | DisplayButtons () |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual void | DrawAcc () |
virtual void | DrawAllViews () |
virtual void | DrawCan () |
virtual void | DrawDetector () |
virtual void | DrawEnv () |
virtual void | DrawNewBut (char *text) |
virtual void | DrawNewVTX (char *text) |
virtual void | DrawOldBut (char *text) |
virtual void | DrawOldVTX (char *text) |
virtual void | DrawPreBut (char *text) |
virtual void | DrawPreVTX (char *text) |
virtual void | DrawTitle (Option_t *option="") |
virtual void | DrawUnd () |
virtual void | DrawView (Float_t theta, Float_t phi, Float_t psi=0) |
virtual void | DrawViewGL () |
virtual void | DrawViewX3D () |
EdbDisplayBase () | |
EdbDisplayBase (const char *title, Float_t x0, Float_t x1, Float_t y0, Float_t y1, Float_t z0, Float_t z1, TCanvas *Canvas=0) | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Bool_t | GetDrawDet () const |
virtual char * | GetObjectInfo (int px, int py) const |
virtual void | Refresh () |
virtual void | Set0 () |
virtual void | SetColorBG (int color=1) |
virtual void | SetDetector (TGeoVolume *det) |
virtual void | SetDrawDet (Bool_t fflag) |
virtual void | SetLineWidth (int width=1) |
virtual void | SetPickMode () |
virtual void | SetRange (Float_t x0, Float_t x1, Float_t y0, Float_t y1, Float_t z0, Float_t z1) |
virtual void | SetRotate () |
virtual void | SetStyle (int Style=0) |
virtual void | SetView (Float_t theta, Float_t phi, Float_t psi=0) |
virtual void | SetZoomMode () |
virtual void | SwDrawDet () |
virtual void | UnZoom () |
~EdbDisplayBase () | |
Static Public Member Functions | |
static EdbDisplay * | EdbDisplayExist (const char *title) |
Public Attributes | |
TObjArray * | eArrSegG |
additional array of segments for the presentation purpose only More... | |
TObjArray * | eArrSegP |
array of segments to be drawn More... | |
TObjArray * | eArrSegPSave |
saved array of segments to be drawn More... | |
TObjArray * | eArrTr |
array of tracks to be drawn More... | |
TObjArray * | eArrTrSave |
saved array of tracks to be drawn More... | |
TObjArray * | eArrV |
array of vertices to be drawn More... | |
TObjArray * | eArrVSave |
saved array of vertices to be drawn More... | |
TList | eCreatedTracks |
list of tracks, created during vertex operations More... | |
Double_t | eDpat |
+/- patterns for neighborhood More... | |
Int_t | eFromPlate |
plates range (for colors normalization) More... | |
Double_t | eImpMax |
Maximal impact for neighborhood. More... | |
Int_t | eIndVert |
Index of selected vertex in ArrV. More... | |
Int_t | eIndVertSave |
Index of selected vertex in ArrV (seved) More... | |
Double_t | eM |
track mass (creation from segment, propagation) More... | |
Double_t | eP |
track momentum (creation from segment, propagation) More... | |
EdbVertex * | ePrevious |
saved previous vertex modifications More... | |
Double_t | eRadMax |
Maximal Radius for neighborhood. More... | |
EdbSegP * | eSegment |
working segment (for segment neighborhood) More... | |
TPolyMarker3D * | eSegPM |
green mark for segment selected as working More... | |
Double_t | eSegWmin |
Minimal segment W for neighbouring selection. More... | |
Double_t | eTImpMax |
Maximal impact for interactive add track. More... | |
Int_t | eToPlate |
Double_t | eTProbMin |
Minimal probability for interactive add track. More... | |
EdbTrackP * | eTrack |
working intermediate track (track creation) More... | |
EdbTrackP * | eTrack1 |
working intermediate track (track splitting) More... | |
EdbTrackP * | eTrack2 |
working intermediate track (track splitting) More... | |
EdbVertexRec * | eVerRec |
EdbVertex * | eVertex |
current selected vertex More... | |
Bool_t | eWait_Answer |
set TRUE when answer received More... | |
EdbVertex * | eWorking |
working vertex More... | |
![]() | |
TCanvas * | fCanvas |
Pointer to the display canvas. More... | |
TCanvas * | fCanvasTRK |
Pointer to the vertex canvas. More... | |
TCanvas * | fCanvasVTX |
Pointer to the vertex canvas. More... | |
TPad * | fPad |
Pointer to the event display main pad. More... | |
TPaveText * | fVTXTRKInfo |
Vertex - tracks information. More... | |
Private Attributes | |
TArrayI * | eColors |
Int_t | eDrawTracks |
tracks drawing option More... | |
Int_t | eDrawVertex |
vertex drawing option More... | |
TArrayF * | eDZs |
TGNumberEntry * | fNumericEntries [3] |
Additional Inherited Members | |
![]() | |
TButton * | fAccButton |
Button to accept modified vertex. More... | |
TButton * | fAllButton |
Button to draw all objects. More... | |
TArc * | fArcButton |
Gren/Red button to show Pick/Zoom mode. More... | |
TPad * | fButtons |
Pointer to the buttons pad. More... | |
TButton * | fCanButton |
Button to cancel modified vertex. More... | |
char | fCanvasName [128] |
Name of main canvas. More... | |
Int_t | fColorBG |
color for the display BG More... | |
TGeoVolume * | fDetector |
detector geometry More... | |
Bool_t | fDrawAllViews |
Flag True if AllViews selected. More... | |
Bool_t | fDrawDet |
True if drawing detector is on. More... | |
TButton * | fEnvButton |
Button to draw vertex environment. More... | |
TText * | fHdrVTX |
Vertex data header. More... | |
Width_t | fLineWidth |
Line width for tracks and segments. More... | |
TGMainFrame * | fMain |
Dialog frame. More... | |
TButton * | fNewBut |
Modified Vertex display button. More... | |
TText * | fNewVTX |
Modified Vertex data. More... | |
TButton * | fOldBut |
Old Vertex display button. More... | |
TText * | fOldVTX |
Old Vertex data. More... | |
Float_t | fPhi |
Viewing angle phi. More... | |
TButton * | fPickButton |
Button to activate Pick mode. More... | |
TButton * | fPreBut |
Previous Vertex display button. More... | |
TText * | fPreVTX |
Previous Vertex data. More... | |
Float_t | fPsi |
Viewving angle psi (rotation on display) More... | |
TButton * | fRemBut [50] |
track removing buttons More... | |
Int_t | fStyle |
Display style (line width, sizes etc) More... | |
Float_t | fTheta |
Viewing angle theta. More... | |
char | fTitle [128] |
EdbDisplay Object Name. More... | |
TPad * | fTrigPad |
Pointer to the trigger pad. More... | |
TButton * | fUndButton |
Button to undo vertex modofication. More... | |
TButton * | fUnZoomButton |
Button to Undo previous Zoom. More... | |
Edb3DView * | fView |
Main View object. More... | |
TPaveText * | fVTXTracks |
Vertex tracks information. More... | |
Float_t | fVx0 |
Float_t | fVx1 |
Float_t | fVy0 |
Float_t | fVy1 |
Float_t | fVz0 |
Float_t | fVz1 |
TButton * | fZoomButton |
Button to activate Zoom mode. More... | |
Int_t | fZoomMode |
=1 if in zoom mode More... | |
Int_t | fZooms |
Number of zooms. More... | |
Double_t | fZoomX0 [kMAXZOOMS] |
Low x range of zoom number i. More... | |
Double_t | fZoomX1 [kMAXZOOMS] |
High x range of zoom number i. More... | |
Double_t | fZoomY0 [kMAXZOOMS] |
Low y range of zoom number i. More... | |
Double_t | fZoomY1 [kMAXZOOMS] |
High y range of zoom number i. More... | |
FEDRA Event Display.
|
inline |
EdbDisplay::~EdbDisplay | ( | ) |
|
inline |
void EdbDisplay::AcceptModifiedParams | ( | ) |
void EdbDisplay::AcceptModifiedTrackParams | ( | ) |
void EdbDisplay::AcceptModifiedVTX | ( | ) |
void EdbDisplay::CancelDialogModifiedParams | ( | ) |
void EdbDisplay::CancelDialogModifiedTrackParams | ( | ) |
void EdbDisplay::CancelModifiedVTX | ( | ) |
void EdbDisplay::ClearSegmentEnv | ( | ) |
void EdbDisplay::CloseDialogModifiedParams | ( | ) |
void EdbDisplay::CloseDialogModifiedTrackParams | ( | ) |
void EdbDisplay::CloseDialogModifiedVTX | ( | ) |
void EdbDisplay::Delete | ( | ) |
void EdbDisplay::DeleteModifiedVTX | ( | ) |
void EdbDisplay::DialogModifiedVTX | ( | ) |
void EdbDisplay::DialogNeighborParameters | ( | ) |
void EdbDisplay::DialogTrackParameters | ( | ) |
void EdbDisplay::DrawAllObjects | ( | ) |
void EdbDisplay::DrawRef | ( | float | start[3], |
float | end[3] | ||
) |
reference vector to indicate the direction (ie scanback track) can be drawn
void EdbDisplay::DrawVertexEnvironment | ( | ) |
|
static |
void EdbDisplay::GuessRange | ( | float | margZmin = 3000 , |
float | margZmax = 1000 , |
||
float | margR = 300 |
||
) |
guess minimum display range to fit all objects
|
virtual |
Reimplemented from EdbDisplayBase.
void EdbDisplay::RemoveTrackFromTable | ( | int | ivt = 0 | ) |
void EdbDisplay::SelectVertexTracks | ( | TObjArray * | vtx | ) |
|
virtual |
eVerRec = ((EdbVertexRec *)(gROOT->GetListOfSpecials()->FindObject("EdbVertexRec"))); if (eVerRec) if (eVerRec->IsA() != EdbVertexRec::Class()) eVerRec = 0; if (!eVerRec) {printf("Warning: EdbDisplay:Set0: EdbVertexRec not defined, use SetVerRec(...)\n");}
Reimplemented from EdbDisplayBase.
void EdbDisplay::SetArrSegP | ( | TObjArray * | arr | ) |
void EdbDisplay::SetArrTr | ( | TObjArray * | arr | ) |
void EdbDisplay::SetArrV | ( | TObjArray * | arrv | ) |
|
inline |
|
inline |
|
inline |
eDrawTracks: 1 - draw fitted track dotted line only
2 - draw also white marker at zmin
3 - draw also red marker at zmax
4 - draw also measured segments
5 - draw fitted line and measured segments, no markers
6 - draw measured segments only
7 - draw measured segments only
8 - draw only solid white track line
14 - as "4" plus track extrapolation line
void EdbDisplay::UndoModifiedVTX | ( | ) |
|
inline |
TObjArray* EdbDisplay::eArrSegG |
additional array of segments for the presentation purpose only
TObjArray* EdbDisplay::eArrSegP |
array of segments to be drawn
TObjArray* EdbDisplay::eArrSegPSave |
saved array of segments to be drawn
TObjArray* EdbDisplay::eArrTr |
array of tracks to be drawn
TObjArray* EdbDisplay::eArrTrSave |
saved array of tracks to be drawn
TObjArray* EdbDisplay::eArrV |
array of vertices to be drawn
TObjArray* EdbDisplay::eArrVSave |
saved array of vertices to be drawn
|
private |
TList EdbDisplay::eCreatedTracks |
list of tracks, created during vertex operations
Double_t EdbDisplay::eDpat |
+/- patterns for neighborhood
|
private |
tracks drawing option
|
private |
vertex drawing option
|
private |
Int_t EdbDisplay::eFromPlate |
plates range (for colors normalization)
Double_t EdbDisplay::eImpMax |
Maximal impact for neighborhood.
Int_t EdbDisplay::eIndVert |
Index of selected vertex in ArrV.
Int_t EdbDisplay::eIndVertSave |
Index of selected vertex in ArrV (seved)
Double_t EdbDisplay::eM |
track mass (creation from segment, propagation)
Double_t EdbDisplay::eP |
track momentum (creation from segment, propagation)
EdbVertex* EdbDisplay::ePrevious |
saved previous vertex modifications
Double_t EdbDisplay::eRadMax |
Maximal Radius for neighborhood.
EdbSegP* EdbDisplay::eSegment |
working segment (for segment neighborhood)
TPolyMarker3D* EdbDisplay::eSegPM |
green mark for segment selected as working
Double_t EdbDisplay::eSegWmin |
Minimal segment W for neighbouring selection.
Double_t EdbDisplay::eTImpMax |
Maximal impact for interactive add track.
Int_t EdbDisplay::eToPlate |
Double_t EdbDisplay::eTProbMin |
Minimal probability for interactive add track.
EdbTrackP* EdbDisplay::eTrack |
working intermediate track (track creation)
EdbTrackP* EdbDisplay::eTrack1 |
working intermediate track (track splitting)
EdbTrackP* EdbDisplay::eTrack2 |
working intermediate track (track splitting)
EdbVertexRec* EdbDisplay::eVerRec |
EdbVertex* EdbDisplay::eVertex |
current selected vertex
Bool_t EdbDisplay::eWait_Answer |
set TRUE when answer received
EdbVertex* EdbDisplay::eWorking |
working vertex
|
private |