#include "AliMpSubZonePainter.h"
#include "AliMpRowSegmentPainter.h"
#include "AliMpMotifPainter.h"
+#include "AliMpMotifType.h"
#include "AliMpPCB.h"
#include "AliMpPCBPainter.h"
#include "AliMpSlat.h"
#include <TList.h>
#include <TVirtualX.h>
#include <TPad.h>
+#include <TROOT.h>
/// \cond CLASSIMP
ClassImp(AliMpVPainter)
//_______________________________________________________________________
AliMpVPainter::AliMpVPainter()
: TObject(),
- fColor(2)
+ fColor(2),
+ fPadPosition(),
+ fPadDimensions(),
+ fTrashList(0)
{
/// Default constructor
fTrashList = new TList;
}
-//_____________________________________________________________________________
-AliMpVPainter::AliMpVPainter(const AliMpVPainter& right)
- : TObject(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpVPainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpVPainter::~AliMpVPainter()
{
}
}
-//_____________________________________________________________________________
-AliMpVPainter& AliMpVPainter::operator=(const AliMpVPainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//_______________________________________________________________________
Bool_t AliMpVPainter::IsInside(const TVector2 &point,const TVector2& pos,const TVector2& dim)
{
painter = new AliMpRowSegmentPainter((AliMpVRowSegment *)object);
else if (object->InheritsFrom(AliMpMotifPosition::Class()))
painter = new AliMpMotifPainter((AliMpMotifPosition *)object);
+ else if (object->InheritsFrom(AliMpMotifType::Class()))
+ painter = new AliMpMotifPainter((AliMpMotifType *)object);
else if (object->InheritsFrom(AliMpPCB::Class()))
painter = new AliMpPCBPainter((AliMpPCB *)object);
else if (object->InheritsFrom(AliMpSlat::Class()))