// $Id$ // Category: graphics // // Class AliMpRowPainter // --------------------- // Class for drawing a row into canvas // // Authors: David Guez, IPN Orsay #include "AliMpRowPainter.h" #include "AliMpGraphContext.h" #include "AliMpRow.h" #include "AliMpRowSegment.h" ClassImp(AliMpRowPainter) //_______________________________________________________________________ AliMpRowPainter::AliMpRowPainter() : AliMpVPainter(), fRow(0) { // default dummy constructor } //_______________________________________________________________________ AliMpRowPainter::AliMpRowPainter(AliMpRow *row) :AliMpVPainter(), fRow(row) { // normal constructor } //_______________________________________________________________________ void AliMpRowPainter::DumpObject() { // Draw the owned object fRow->Dump(); } //_______________________________________________________________________ TVector2 AliMpRowPainter::GetPosition() const { // Get the owned object's position return fRow->Position(); } //_______________________________________________________________________ TVector2 AliMpRowPainter::GetDimensions() const { // Get the owned object's dimensions return fRow->Dimensions(); } //_______________________________________________________________________ void AliMpRowPainter::Draw(Option_t *option) { // Draw the sector on the current pad // The first letter of