#include <BesMcTrack.h>
|
| BesMcTrack () |
|
| BesMcTrack (Int_t id, Int_t pdgcode, TVirtualGeoTrack *parent=0, TObject *particle=0) |
|
virtual | ~BesMcTrack () |
|
virtual void | SetCharge (Int_t charge) |
|
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
|
| BesGeoTrack () |
|
| BesGeoTrack (Int_t id, Int_t pdgcode, TVirtualGeoTrack *parent=0, TObject *particle=0) |
|
virtual | ~BesGeoTrack () |
|
virtual void | Init () |
|
virtual void | AddInfo (TString info) |
|
virtual void | CloseInfo () |
|
virtual void | SetTrackType (Int_t type) |
|
virtual void | AddHit (TObject *obj) |
|
virtual void | Add3DHit (TObject *obj) |
|
virtual void | AddCluster (TObject *obj) |
|
virtual void | SetTrackID (Int_t id) |
|
virtual Int_t | GetTrackID () const |
|
virtual void | AddPoint (Double_t x, Double_t y, Double_t z, Double_t t) |
|
virtual void | SetMarker (Double_t x, Double_t y, Double_t z) |
|
virtual void | Construct3DLine () |
|
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
|
virtual void | Draw (Option_t *option="") |
|
virtual void | Paint (Option_t *option="") |
|
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
|
Definition at line 13 of file BesMcTrack.h.
◆ BesMcTrack() [1/2]
BesMcTrack::BesMcTrack |
( |
| ) |
|
◆ BesMcTrack() [2/2]
BesMcTrack::BesMcTrack |
( |
Int_t | id, |
|
|
Int_t | pdgcode, |
|
|
TVirtualGeoTrack * | parent = 0, |
|
|
TObject * | particle = 0 ) |
◆ ~BesMcTrack()
virtual BesMcTrack::~BesMcTrack |
( |
| ) |
|
|
inlinevirtual |
◆ ExecuteEvent()
void BesMcTrack::ExecuteEvent |
( |
Int_t | event, |
|
|
Int_t | px, |
|
|
Int_t | py ) |
|
virtual |
Reimplemented from BesGeoTrack.
Definition at line 33 of file BesMcTrack.cxx.
34{
36
39 }
41
42 if (gPad) gPad->SetCursor(kPointer);
43
44 Int_t width, color;
45 Int_t normalWidth = 2, hlWidth = 3;
46
47 switch (event) {
48 case kMouseEnter:
49 width = this->GetLineWidth();
50 color = this->GetLineColor();
53
56
58 gPad->Modified();
59 gPad->Update();
60 break;
61
62 case kMouseLeave:
65
67 gPad->Modified();
68 gPad->Update();
69 break;
70 }
71
72 TGeoTrack::ExecuteEvent(event, px, py);
73 }
74}
R__EXTERN BesCursor * gBesCursor
virtual void SetPos(Int_t px, Int_t py)
virtual void UpdateView(Bool_t resetview=kFALSE)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
◆ SetCharge()
void BesMcTrack::SetCharge |
( |
Int_t | charge | ) |
|
|
virtual |
The documentation for this class was generated from the following files: