6#include "BesVisLib/BesMarker2D.h"
7#include "BesVisLib/BesView.h"
23 if ( gDebug ) cout <<
"BesMarker2D ctor called" << endl;
31 if ( gDebug ) cout <<
"BesMarker2D normal ctor called" << endl;
38 this->SetMarkerSize(1);
49 if ( gDebug ) cout <<
"BesMarker2D normal ctor called" << endl;
56 this->SetMarkerSize(1);
83 if (TestBit(kMarkerNDC)) {
84 px = gPad->UtoPixel(fX);
85 py = gPad->VtoPixel(fY);
87 px = gPad->XtoAbsPixel(gPad->XtoPad(fX));
88 py = gPad->YtoAbsPixel(gPad->YtoPad(fY));
110 this->SetMarkerSize(view->
GetMarkerSize() * this->GetMarkerSizeMultiple());
114 Float_t WC[3],NDC[3];
124 TMarker::Paint(option);
133 if ( gDebug ) cout <<
"BesMarker2D default dtor called" << endl;
142 else return TObject::GetObjectInfo(px, py);
ClassImp(BesMarker2D) BesMarker2D
virtual void GetCenterPixel(Int_t &px, Int_t &py)
virtual char * GetObjectInfo(Int_t px, Int_t py) const
virtual void SetMarkerSizeMultiple(Int_t input)
virtual void Paint(Option_t *option="")
virtual void SetParameter(const char *name, const char *title, Float_t x, Float_t y, Float_t z)
virtual void Draw(Option_t *option="")
virtual void WCtoNDC(const Float_t *pw, Float_t *pn)
virtual char * GetObjectInfo(Int_t px, Int_t py) const