#include <BesMarker2D.h>
|
| BesMarker2D () |
|
| BesMarker2D (const char *name, const char *title, Float_t x, Float_t y, Float_t z) |
|
| BesMarker2D (const char *name, const char *title, Double_t x, Double_t y, Double_t z) |
|
virtual | ~BesMarker2D () |
|
virtual void | Draw (Option_t *option="") |
|
virtual void | Paint (Option_t *option="") |
|
virtual void | GetCenterPixel (Int_t &px, Int_t &py) |
|
virtual void | SetMarkerSizeMultiple (Int_t input) |
|
virtual Int_t | GetMarkerSizeMultiple () |
|
virtual const char * | GetName () const |
|
virtual const char * | GetTitle () const |
|
virtual Float_t | GetWCX () |
|
virtual Float_t | GetWCY () |
|
virtual Float_t | GetWCZ () |
|
virtual void | SetWCX (Float_t input) |
|
virtual void | SetWCY (Float_t input) |
|
virtual void | SetWCZ (Float_t input) |
|
virtual void | SetParameter (const char *name, const char *title, Float_t x, Float_t y, Float_t z) |
|
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
|
Definition at line 13 of file BesMarker2D.h.
◆ BesMarker2D() [1/3]
BesMarker2D::BesMarker2D |
( |
| ) |
|
◆ BesMarker2D() [2/3]
BesMarker2D::BesMarker2D |
( |
const char * | name, |
|
|
const char * | title, |
|
|
Float_t | x, |
|
|
Float_t | y, |
|
|
Float_t | z ) |
Definition at line 28 of file BesMarker2D.cxx.
28 : TMarker(0,0,3) {
29
30
31 if ( gDebug ) cout << "BesMarker2D normal ctor called" << endl;
32 fName = name;
36 fWCZ = z;
40 TAttMarker::Modify();
41
42}
gStyle SetMarkerSize(1.8)
virtual void SetMarkerSizeMultiple(Int_t input)
◆ BesMarker2D() [3/3]
BesMarker2D::BesMarker2D |
( |
const char * | name, |
|
|
const char * | title, |
|
|
Double_t | x, |
|
|
Double_t | y, |
|
|
Double_t | z ) |
Definition at line 46 of file BesMarker2D.cxx.
46 : TMarker(0,0,3) {
47
48
49 if ( gDebug ) cout << "BesMarker2D normal ctor called" << endl;
50 fName = name;
52 fWCX = (Float_t)x;
54 fWCZ = (Float_t)z;
58 TAttMarker::Modify();
59
60}
◆ ~BesMarker2D()
BesMarker2D::~BesMarker2D |
( |
| ) |
|
|
virtual |
Definition at line 130 of file BesMarker2D.cxx.
130 {
131
132
133 if ( gDebug ) cout << "BesMarker2D default dtor called" << endl;
134}
◆ Draw()
void BesMarker2D::Draw |
( |
Option_t * | option = "" | ) |
|
|
virtual |
◆ GetCenterPixel()
void BesMarker2D::GetCenterPixel |
( |
Int_t & | px, |
|
|
Int_t & | py ) |
|
inlinevirtual |
Definition at line 81 of file BesMarker2D.cxx.
81 {
82
83 if (TestBit(kMarkerNDC)) {
84 px = gPad->UtoPixel(fX);
85 py = gPad->VtoPixel(fY);
86 } else {
87 px = gPad->XtoAbsPixel(gPad->XtoPad(fX));
88 py = gPad->YtoAbsPixel(gPad->YtoPad(fY));
89 }
90}
Referenced by BesGeoTrack::DistancetoPrimitive().
◆ GetMarkerSizeMultiple()
virtual Int_t BesMarker2D::GetMarkerSizeMultiple |
( |
| ) |
|
|
inlinevirtual |
◆ GetName()
virtual const char * BesMarker2D::GetName |
( |
| ) |
const |
|
inlinevirtual |
◆ GetObjectInfo()
char * BesMarker2D::GetObjectInfo |
( |
Int_t | px, |
|
|
Int_t | py ) const |
|
virtual |
Definition at line 138 of file BesMarker2D.cxx.
138 {
139
142 else return TObject::GetObjectInfo(px, py);
143
144
145
146
147
148
149
150
151
152}
virtual char * GetObjectInfo(Int_t px, Int_t py) const
◆ GetTitle()
virtual const char * BesMarker2D::GetTitle |
( |
| ) |
const |
|
inlinevirtual |
◆ GetWCX()
virtual Float_t BesMarker2D::GetWCX |
( |
| ) |
|
|
inlinevirtual |
◆ GetWCY()
virtual Float_t BesMarker2D::GetWCY |
( |
| ) |
|
|
inlinevirtual |
◆ GetWCZ()
virtual Float_t BesMarker2D::GetWCZ |
( |
| ) |
|
|
inlinevirtual |
◆ Paint()
void BesMarker2D::Paint |
( |
Option_t * | option = "" | ) |
|
|
virtual |
Definition at line 102 of file BesMarker2D.cxx.
102 {
103
104
105
106
108
109
111
112
113
114 Float_t WC[3],NDC[3];
115 WC[0]=fWCX;
116 WC[1]=fWCY;
117 WC[2]=fWCZ;
119 this->SetX(NDC[0]);
120 this->SetY(NDC[1]);
121
122
123
124 TMarker::Paint(option);
125
126}
virtual void WCtoNDC(const Float_t *pw, Float_t *pn)
Referenced by BesGeoTrack::Paint(), and Mdc2DWire::Paint().
◆ SetMarkerSizeMultiple()
virtual void BesMarker2D::SetMarkerSizeMultiple |
( |
Int_t | input | ) |
|
|
inlinevirtual |
◆ SetParameter()
void BesMarker2D::SetParameter |
( |
const char * | name, |
|
|
const char * | title, |
|
|
Float_t | x, |
|
|
Float_t | y, |
|
|
Float_t | z ) |
|
virtual |
Definition at line 156 of file BesMarker2D.cxx.
156 {
157
158
159 fName = name;
163 fWCZ = z;
164}
◆ SetWCX()
virtual void BesMarker2D::SetWCX |
( |
Float_t | input | ) |
|
|
inlinevirtual |
◆ SetWCY()
virtual void BesMarker2D::SetWCY |
( |
Float_t | input | ) |
|
|
inlinevirtual |
◆ SetWCZ()
virtual void BesMarker2D::SetWCZ |
( |
Float_t | input | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files: