6#include "BesVisLib/BesMarker2D.h"
7#include "BesVisLib/BesView.h"
23 if ( gDebug ) cout <<
"BesMarker2D ctor called" << endl;
30 : TMarker( 0, 0, 3 ) {
33 if ( gDebug ) cout <<
"BesMarker2D normal ctor called" << endl;
49 : TMarker( 0, 0, 3 ) {
52 if ( gDebug ) cout <<
"BesMarker2D normal ctor called" << endl;
85 if ( TestBit( kMarkerNDC ) )
87 px = gPad->UtoPixel( fX );
88 py = gPad->VtoPixel( fY );
92 px = gPad->XtoAbsPixel( gPad->XtoPad( fX ) );
93 py = gPad->YtoAbsPixel( gPad->YtoPad( fY ) );
119 Float_t WC[3], NDC[3];
124 this->SetX( NDC[0] );
125 this->SetY( NDC[1] );
129 TMarker::Paint( option );
137 if ( gDebug ) cout <<
"BesMarker2D default dtor called" << endl;
146 else return TObject::GetObjectInfo( px, py );
ClassImp(BesMarker2D) BesMarker2D
gStyle SetMarkerSize(1.8)
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