* @param y Starting Y position
* @param h Relative height
* @param tag Tag
- * @param colors Color options
+ * @param color Color options
*/
void Draw(TVirtualPad* p, Double_t x, Double_t y, Double_t h,
UShort_t tag, UInt_t color)
fPad->SetLeftMargin(0);
fPad->SetRightMargin(0);
fPad->Draw();
- Printf("(x,y)=(%f,%f) (tx,ty)=(%f,%f) (x1,y1)=(%f,%f) (x2,y2)=(%f,%f)",
- x, y, topX, topY, GetX1(), GetY1(), GetX2(), GetY2());
-
+ if (fDebug)
+ Printf("(x,y)=(%f,%f) (tx,ty)=(%f,%f) (x1,y1)=(%f,%f) (x2,y2)=(%f,%f)",
+ x, y, topX, topY, GetX1(), GetY1(), GetX2(), GetY2());
+
if (fDebug) {
Int_t ppH = fPad->YtoPixel(0);
Int_t ppW = fPad->XtoPixel(1);
* Draw a spoke in the L3 outline.
*
* @param ang Rotation angle in degrees.
+ * @param w Width
* @param len Length of spoke
* @param fg Foreground colour
*/
* @param w Line width
* @param a Aspect ratio of pad
* @param fg Foreground colour
- * @param bg Background colour
*/
void DrawL(Double_t x, Double_t y, Double_t w, Double_t a, Int_t fg)
{
* @param w Line width
* @param a Aspect ratio of pad
* @param fg Foreground colour
- * @param bg Background colour
*/
void DrawI(Double_t x, Double_t y, Double_t w, Double_t a, Int_t fg)
{
*
* @param x Base X coordinate
* @param y Base Y coordinate
- * @param w Line width - not used
* @param a Aspect ratio of pad
* @param fg Foreground colour
* @param bg Background colour
*
* @param fg Foreground colour
* @param bg Background colour
+ * @param preliminary If true, draw preliminary, otherwise performance
*/
void DrawLabel(Int_t fg, Int_t bg, bool preliminary=true)
{