fGlobalTransformation = new TGeoCombiTrans(0., 0., 0., rotGlobal);
}
+//_____________________________________________________________________________
+AliMUONv1::AliMUONv1(const AliMUONv1& right)
+ : AliMUON(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMUONv1", "Copy constructor not provided.");
+}
+
//___________________________________________
AliMUONv1::~AliMUONv1()
{
delete fGlobalTransformation;
}
+//_____________________________________________________________________________
+AliMUONv1& AliMUONv1::operator=(const AliMUONv1& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//__________________________________________________
void AliMUONv1::CreateGeometry()
{
void SetStepMaxInActiveGas(Float_t StepMax)
{fStepMaxInActiveGas = StepMax; }
protected:
+ AliMUONv1(const AliMUONv1& right);
+ AliMUONv1& operator = (const AliMUONv1& right);
+
Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false
Bool_t fAngleEffect; // Angle Effect along wires, Default is true
Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm
fAngleEffectNorma->SetParameter(3,-1.490e-03);
}
+//_____________________________________________________________________________
+AliMUONv3::AliMUONv3(const AliMUONv3& right)
+ : AliMUON(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMUONv3", "Copy constructor not provided.");
+}
+
+//_____________________________________________________________________________
+AliMUONv3& AliMUONv3::operator=(const AliMUONv3& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//___________________________________________
void AliMUONv3::CreateGeometry()
{
void SetStepMaxInActiveGas(Float_t StepMax)
{fStepMaxInActiveGas = StepMax; }
protected:
+ AliMUONv3(const AliMUONv3& right);
+ AliMUONv3& operator = (const AliMUONv3& right);
Int_t* fStations; //! allow to externally set which station to create
Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false
Bool_t fAngleEffect; // Angle Effect along wires, Default is true
//
// Author: David GUEZ, IPN Orsay
+#include <TError.h>
+
#include "AliMpGraphContext.h"
ClassImp(AliMpGraphContext)
Int_t AliMpGraphContext::fgStackSize = 0;
#endif
-// private constructor
+//_____________________________________________________________________________
AliMpGraphContext::AliMpGraphContext():
TObject(),
fPadPosition(TVector2(0.5,0.5)),
fRealPosition(TVector2(0.,0.)),
fRealDimensions(TVector2(1,1))
{
+// private constructor
+
fColor = 20;
// default constructor (private)
}
+
+//_____________________________________________________________________________
+AliMpGraphContext::AliMpGraphContext(const AliMpGraphContext& right)
+ : TObject(right)
+{
+// protected copy constructor
+
+ Fatal("AliMpGraphContext", "Copy constructor not provided.");
+}
+
+//_____________________________________________________________________________
+AliMpGraphContext&
+AliMpGraphContext::operator=(const AliMpGraphContext& right)
+{
+// protected assignement operator
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
+//_____________________________________________________________________________
AliMpGraphContext *AliMpGraphContext::Instance()
{
// return or create a unique instance of this class
return fgInstance;
}
+//_____________________________________________________________________________
TVector2 AliMpGraphContext::RealToPad(const TVector2 &position) const
{
// transform a real position into its equivalent position in the pad
return TVector2(x,y);
}
-
-
+//_____________________________________________________________________________
void AliMpGraphContext::RealToPad(const TVector2 &position,
const TVector2 &dimensions,
TVector2 &padPosition,
dimensions.Y()*fPadDimensions.Y()/fRealDimensions.Y());
}
+
+//_____________________________________________________________________________
void AliMpGraphContext::SetPadPosForReal(const TVector2 &position,
const TVector2 &dimensions)
{
// corresponding to the given real area.
RealToPad(position,dimensions,fPadPosition,fPadDimensions);
}
+
+//_____________________________________________________________________________
void AliMpGraphContext::Push() const
{
// Store the current configuration
fgStack.AddAt(save, fgStackSize++);
#endif
}
+
+//_____________________________________________________________________________
void AliMpGraphContext::Pop()
{
+// Pops object from the stack.
#ifdef WITH_STL
// restore the last saved configuration
if (!fgStack.empty()){
TVector2 &padDimensions) const;
void SetPadPosForReal(const TVector2 &position,const TVector2 &dimensions);
+ protected:
+ AliMpGraphContext(const AliMpGraphContext& right);
+ AliMpGraphContext& operator = (const AliMpGraphContext& right);
+
private:
//private constructor (not instanciable from outside)
AliMpGraphContext();
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpMotifPainter.h"
#include "AliMpGraphContext.h"
{
// default dummy constructor
}
+
//_______________________________________________________________________
AliMpMotifPainter::AliMpMotifPainter(AliMpMotifPosition *motifPos)
: AliMpVPainter(),
// normal constructor
}
+
+//_____________________________________________________________________________
+AliMpMotifPainter::AliMpMotifPainter(const AliMpMotifPainter& right)
+ : AliMpVPainter(right) {
+//
+ Fatal("AliMpMotifPainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpMotifPainter::~AliMpMotifPainter()
{
// default dummy constructor
}
+
+//_____________________________________________________________________________
+AliMpMotifPainter&
+AliMpMotifPainter::operator=(const AliMpMotifPainter& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
void AliMpMotifPainter::DumpObject()
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
+ protected:
+ AliMpMotifPainter(const AliMpMotifPainter& right);
+ AliMpMotifPainter& operator = (const AliMpMotifPainter& right);
+
private:
AliMpMotifPosition *fMotifPos; // the motif to draw
//
// Author: Ivana Hrivnacova, IPN Orsay
+#include <TError.h>
+
#include "AliMpMotifPosition.h"
#include "AliMpMotifPositionPadIterator.h"
#include "AliMpMotifType.h"
//
}
+//_____________________________________________________________________________
+AliMpMotifPosition::AliMpMotifPosition(const AliMpMotifPosition& right)
+ : AliMpVIndexed(right) {
+//
+ Fatal("AliMpMotifPosition", "Copy constructor not provided.");
+}
+
//______________________________________________________________________________
AliMpMotifPosition::~AliMpMotifPosition(){
//
}
+// operators
+
+//_____________________________________________________________________________
+AliMpMotifPosition&
+AliMpMotifPosition::operator=(const AliMpMotifPosition& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//______________________________________________________________________________
AliMpVPadIterator* AliMpMotifPosition::CreateIterator() const
{
TVector2 Position() const;
TVector2 Dimensions() const;
+ protected:
+ AliMpMotifPosition(const AliMpMotifPosition& right);
+ AliMpMotifPosition& operator = (const AliMpMotifPosition& right);
+
private:
// methods
// data members
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
#include <Riostream.h>
+#include <TError.h>
#include "AliMpPlane.h"
#include "AliMpReader.h"
#endif
}
+//_____________________________________________________________________________
+AliMpPlane::AliMpPlane(const AliMpPlane& right)
+ : TObject(right) {
+//
+ Fatal("AliMpPlane", "Copy constructor not provided.");
+}
//______________________________________________________________________________
AliMpPlane::AliMpPlane()
delete GetSectorPosition(i);
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpPlane& AliMpPlane::operator=(const AliMpPlane& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// public methods
//
Int_t GetNofSectorPositions() const;
AliMpSectorPosition* GetSectorPosition(Int_t i) const;
+ protected:
+ AliMpPlane(const AliMpPlane& right);
+ AliMpPlane& operator = (const AliMpPlane& right);
+
private:
// data members
const AliMpSector* fkFrontSector; // front sector in the 1st quadrant
#include <Riostream.h>
#include <TMath.h>
+#include <TError.h>
#include "AliMpPlaneSegmentation.h"
#include "AliMpPlaneAreaPadIterator.h"
//
}
+//_____________________________________________________________________________
+AliMpPlaneSegmentation::AliMpPlaneSegmentation(
+ const AliMpPlaneSegmentation& right)
+ : AliMpVSegmentation(right) {
+//
+ Fatal("AliMpPlaneSegmentation", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpPlaneSegmentation::~AliMpPlaneSegmentation() {
//
delete GetTransformer(i);
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpPlaneSegmentation&
+AliMpPlaneSegmentation::operator=(const AliMpPlaneSegmentation& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// private methods
//
AliMpSectorSegmentation* GetSectorSegmentation(
const AliMpIntPair& scale) const;
+ protected:
+ AliMpPlaneSegmentation(const AliMpPlaneSegmentation& right);
+ AliMpPlaneSegmentation& operator = (const AliMpPlaneSegmentation& right);
+
private:
// methods
const AliMpTransformer* GetTransformer(const AliMpIntPair& scale) const;
//
}
+//_____________________________________________________________________________
+AliMpReader::AliMpReader(const AliMpReader& right)
+ : TObject(right) {
+//
+ Fatal("AliMpReader", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpReader::~AliMpReader() {
//
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpReader& AliMpReader::operator=(const AliMpReader& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// private methods
//
// set methods
void SetVerboseLevel(Int_t verboseLevel);
+ protected:
+ AliMpReader(const AliMpReader& right);
+ AliMpReader& operator = (const AliMpReader& right);
+
private:
#ifdef WITH_ROOT
static const Int_t fgkSeparator; // the separator used for conversion
//
}
+//_____________________________________________________________________________
+AliMpRow::AliMpRow(const AliMpRow& right)
+ : AliMpVIndexed(right) {
+//
+ Fatal("AliMpRow", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpRow::~AliMpRow() {
//
#endif
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpRow& AliMpRow::operator=(const AliMpRow& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// private methods
//
Int_t AliMpRow::GetNofRowSegments() const
{
// Returns number of row segments.
+// ---
#ifdef WITH_STL
return fSegments.size();
//_____________________________________________________________________________
AliMpVRowSegment* AliMpRow::GetRowSegment(Int_t i) const
{
+// Returns i-th row segment.
+// ---
+
if (i<0 || i>=GetNofRowSegments()) {
Warning("GetRowSegment", "Index outside range");
return 0;
AliMpVRowSegment* GetRowSegment(Int_t i) const;
AliMpMotifMap* GetMotifMap() const;
+ protected:
+ AliMpRow(const AliMpRow& right);
+ AliMpRow& operator = (const AliMpRow& right);
+
private:
// methods
AliMpVRowSegment* FindRowSegment(Int_t ix) const;
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpRowPainter.h"
#include "AliMpGraphContext.h"
//_______________________________________________________________________
AliMpRowPainter::AliMpRowPainter(AliMpRow *row)
- :AliMpVPainter(),
- fRow(row)
+ : AliMpVPainter(),
+ fRow(row)
{
// normal constructor
}
+//_____________________________________________________________________________
+AliMpRowPainter::AliMpRowPainter(const AliMpRowPainter& right)
+ : AliMpVPainter(right) {
+//
+ // copy constructor (not implemented)
+
+ Fatal("AliMpRowPainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpRowPainter::~AliMpRowPainter()
{
// destructor
}
+//_____________________________________________________________________________
+AliMpRowPainter& AliMpRowPainter::operator=(const AliMpRowPainter& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
void AliMpRowPainter::DumpObject()
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
+ protected:
+ AliMpRowPainter(const AliMpRowPainter& right);
+ AliMpRowPainter& operator = (const AliMpRowPainter& right);
+
private:
AliMpRow *fRow; // the row to paint
ClassDef(AliMpRowPainter,1) // Row painter
//
}
+//_____________________________________________________________________________
+AliMpRowSegment::AliMpRowSegment(const AliMpRowSegment& right)
+ : AliMpVRowSegment(right) {
+//
+ Fatal("AliMpRowSegment", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpRowSegment::~AliMpRowSegment() {
//
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpRowSegment& AliMpRowSegment::operator=(const AliMpRowSegment& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// private methods
//
virtual AliMpVMotif* GetMotif(Int_t /*i*/) const;
virtual Int_t GetMotifPositionId(Int_t i) const;
+ protected:
+ AliMpRowSegment(const AliMpRowSegment& right);
+ AliMpRowSegment& operator = (const AliMpRowSegment& right);
+
private:
// methods
Double_t FirstMotifCenterX() const;
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpRowSegmentPainter.h"
#include "AliMpGraphContext.h"
{
// default dummy constructor
}
+
//_______________________________________________________________________
AliMpRowSegmentPainter::AliMpRowSegmentPainter(AliMpVRowSegment *row)
: AliMpVPainter(),
// normal constructor
}
+
+//_____________________________________________________________________________
+AliMpRowSegmentPainter::AliMpRowSegmentPainter(
+ const AliMpRowSegmentPainter& right)
+ : AliMpVPainter(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMpRowSegmentPainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpRowSegmentPainter::~AliMpRowSegmentPainter()
{
// destructor
}
+
+//_____________________________________________________________________________
+AliMpRowSegmentPainter&
+AliMpRowSegmentPainter::operator=(const AliMpRowSegmentPainter& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
TVector2 AliMpRowSegmentPainter::GetPosition() const
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
+ protected:
+ AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
+ AliMpRowSegmentPainter& operator = (const AliMpRowSegmentPainter& right);
+
private:
AliMpVRowSegment *fRowSegment; // the row segment to draw
ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
//
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+#include <TError.h>
#include <Riostream.h>
#include "AliMpSector.h"
}
+//_____________________________________________________________________________
+AliMpSector::AliMpSector(const AliMpSector& right)
+ : TObject(right) {
+//
+ Fatal("AliMpSector", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpSector::AliMpSector()
: TObject(),
delete fMotifMap;
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpSector& AliMpSector::operator=(const AliMpSector& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// private methods
//
TVector2 GetMinPadDimensions() const;
AliMpMotifMap* GetMotifMap() const;
+ protected:
+ AliMpSector(const AliMpSector& right);
+ AliMpSector& operator = (const AliMpSector& right);
+
private:
// methods
AliMpVRowSegment* FindRowSegment(const TVector2& position) const;
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpSectorPainter.h"
#include "AliMpGraphContext.h"
// normal constructor
}
+
+//_____________________________________________________________________________
+AliMpSectorPainter::AliMpSectorPainter(const AliMpSectorPainter& right)
+ : AliMpVPainter(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMpSectorPainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpSectorPainter::~AliMpSectorPainter()
{
// destructor
}
+
+//_____________________________________________________________________________
+AliMpSectorPainter&
+AliMpSectorPainter::operator=(const AliMpSectorPainter& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
void AliMpSectorPainter::DumpObject()
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
+ protected:
+ AliMpSectorPainter(const AliMpSectorPainter& right);
+ AliMpSectorPainter& operator = (const AliMpSectorPainter& right);
+
private:
AliMpSector *fSector; // the sector to draw
ClassDef(AliMpSectorPainter,1) // Sector painter
#include <Riostream.h>
#include <TMath.h>
+#include <TError.h>
#include "AliMpSectorSegmentation.h"
#include "AliMpSector.h"
//
}
+//_____________________________________________________________________________
+AliMpSectorSegmentation::AliMpSectorSegmentation(
+ const AliMpSectorSegmentation& right)
+ : AliMpVSegmentation(right) {
+//
+ Fatal("AliMpSectorSegmentation", "Copy constructor not provided.");
+}
+
//______________________________________________________________________________
AliMpSectorSegmentation::~AliMpSectorSegmentation() {
//
delete fPadBuffer;
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpSectorSegmentation&
+AliMpSectorSegmentation::operator=(const AliMpSectorSegmentation& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// private methods
//
TVector2 GetMinPadDimensions() const;
Bool_t CircleTest(const AliMpIntPair& indices) const;
+ protected:
+ AliMpSectorSegmentation(const AliMpSectorSegmentation& right);
+ AliMpSectorSegmentation& operator = (const AliMpSectorSegmentation& right);
+
private:
#ifdef WITH_ROOT
static const Double_t fgkSeparator; // the separator used for conversion
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
#include <Riostream.h>
+#include <TError.h>
#include "AliMpSubZone.h"
#include "AliMpVRowSegment.h"
//
}
+//_____________________________________________________________________________
+AliMpSubZone::AliMpSubZone(const AliMpSubZone& right)
+ : TObject(right) {
+//
+ Fatal("AliMpSubZone", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpSubZone::~AliMpSubZone() {
//
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpSubZone& AliMpSubZone::operator=(const AliMpSubZone& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
+//
+// public methods
+//
+
//_____________________________________________________________________________
void AliMpSubZone::AddRowSegment(AliMpVRowSegment* rowSegment)
{
Int_t AliMpSubZone::GetNofRowSegments() const
{
// Returns number of row segments.
+// ---
#ifdef WITH_STL
return fSegments.size();
//_____________________________________________________________________________
AliMpVRowSegment* AliMpSubZone::GetRowSegment(Int_t i) const
{
+// Returns i-th row segment.
+// ---
+
if (i<0 || i>=GetNofRowSegments()) {
Warning("GetRowSegment", "Index outside range");
return 0;
AliMpVRowSegment* GetRowSegment(Int_t i) const;
AliMpVMotif* GetMotif() const;
+ protected:
+ AliMpSubZone(const AliMpSubZone& right);
+ AliMpSubZone& operator = (const AliMpSubZone& right);
+
private:
// data members
AliMpVMotif* fMotif; // the motif in this subzone
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpSubZonePainter.h"
#include "AliMpGraphContext.h"
{
// default dummy constructor
}
+
//_______________________________________________________________________
AliMpSubZonePainter::AliMpSubZonePainter(AliMpSubZone *subZone)
: AliMpVPainter(),
// normal constructor
}
+
+//_____________________________________________________________________________
+AliMpSubZonePainter::AliMpSubZonePainter(const AliMpSubZonePainter& right)
+ : AliMpVPainter(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMpSubZonePainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpSubZonePainter::~AliMpSubZonePainter()
{
// destructor
}
+
+//_____________________________________________________________________________
+AliMpSubZonePainter&
+AliMpSubZonePainter::operator=(const AliMpSubZonePainter& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
Int_t AliMpSubZonePainter::DistancetoPrimitive(Int_t x, Int_t y)
{
virtual TVector2 GetDimensions() const;
virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
+ protected:
+ AliMpSubZonePainter(const AliMpSubZonePainter& right);
+ AliMpSubZonePainter& operator = (const AliMpSubZonePainter& right);
+
private:
AliMpSubZone *fSubZone; // the subzone to draw
ClassDef(AliMpSubZonePainter,1) // SubZone painter
#include <iomanip>
+#include <TError.h>
#include <Riostream.h>
#include "AliMpVMotif.h"
}
+//_____________________________________________________________________________
+AliMpVMotif::AliMpVMotif(const AliMpVMotif& right)
+ : TObject(right) {
+//
+ Fatal("AliMpVMotif", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpVMotif::~AliMpVMotif()
{
// destructor
}
+// operators
+
+//_____________________________________________________________________________
+AliMpVMotif& AliMpVMotif::operator=(const AliMpVMotif& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_____________________________________________________________________________
AliMpConnection*
AliMpVMotif::FindConnectionByLocalPos(const TVector2& localPos) const
virtual TVector2 PadPositionLocal(const AliMpIntPair& localIndices) const=0;
virtual AliMpIntPair PadIndicesLocal(const TVector2& localPos) const=0;
+ protected:
+ AliMpVMotif(const AliMpVMotif& right);
+ AliMpVMotif& operator = (const AliMpVMotif& right);
+
private:
// methods
//
}
+//_____________________________________________________________________________
+AliMpVPadRowSegment::AliMpVPadRowSegment(const AliMpVPadRowSegment& right)
+ : TObject(right) {
+//
+ Fatal("AliMpVPadRowSegment", "Copy constructor not provided.");
+}
+
//_____________________________________________________________________________
AliMpVPadRowSegment::~AliMpVPadRowSegment() {
//
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpVPadRowSegment&
+AliMpVPadRowSegment::operator=(const AliMpVPadRowSegment& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// public methods
//
void SetOffsetX(Double_t offsetX);
protected:
+ AliMpVPadRowSegment(const AliMpVPadRowSegment& right);
+ AliMpVPadRowSegment& operator = (const AliMpVPadRowSegment& right);
+
Double_t GetOffsetX() const { return fOffsetX; }
private:
#include <TList.h>
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpVPainter.h"
#include "AliMpGraphContext.h"
fTrashList = new TList;
}
+//_____________________________________________________________________________
+AliMpVPainter::AliMpVPainter(const AliMpVPainter& right)
+ : TObject(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMpVPainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpVPainter::~AliMpVPainter()
{
}
}
+//_____________________________________________________________________________
+AliMpVPainter& AliMpVPainter::operator=(const AliMpVPainter& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
Bool_t AliMpVPainter::IsInside(const TVector2 &point,const TVector2& pos,const TVector2& dim)
{
//_______________________________________________________________________
TObject* AliMpVPainter::DrawClone(Option_t* option) const
{
+ // draw the clone object
TVirtualPad *pad = gROOT->GetSelectedPad();
TVirtualPad *padsav = gPad;
public:
AliMpVPainter();
virtual ~AliMpVPainter();
+
void DumpObject() const; // *MENU*
virtual void Paint(Option_t *option)=0;
virtual TObject* Clone(const char* newname="") const;
virtual TObject* DrawClone(Option_t* option) const; // *MENU*
+
// get methods
TVector2 GetPadPosition() const {return fPadPosition;}
TVector2 GetPadDimensions() const {return fPadDimensions;}
TVector2 RealToPad(const TVector2& realPos);
static AliMpVPainter *CreatePainter(TObject *object);
+
protected:
+ AliMpVPainter(const AliMpVPainter& right);
+ AliMpVPainter& operator = (const AliMpVPainter& right);
+
void AddPainter(AliMpVPainter *painter);
AliMpVPainter *DrawObject(TObject *object,Option_t *option="");
+
private:
Int_t fColor; // color
TVector2 fPadPosition; // position inside the graphics pad
#endif
}
+//_____________________________________________________________________________
+AliMpVRowSegmentSpecial::AliMpVRowSegmentSpecial(
+ const AliMpVRowSegmentSpecial& right)
+ : AliMpVRowSegment(right) {
+//
+ Fatal("AliMpVRowSegmentSpecial", "Copy constructor not provided.");
+}
+
//______________________________________________________________________________
AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial()
{
delete fPadRows[i];
}
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpVRowSegmentSpecial&
+AliMpVRowSegmentSpecial::operator=(const AliMpVRowSegmentSpecial& right)
+{
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//
// protected methods
//
virtual Int_t GetMotifPositionId(Int_t i) const;
protected:
+ AliMpVRowSegmentSpecial(const AliMpVRowSegmentSpecial& right);
+ AliMpVRowSegmentSpecial& operator = (const AliMpVRowSegmentSpecial& right);
+
// methods
virtual TVector2 MotifCenterSlow(Int_t motifPositionId) const = 0;
AliMpPadRow* FindPadRow(Double_t y) const;
#include <TVirtualX.h>
#include <TPad.h>
+#include <TError.h>
#include "AliMpZonePainter.h"
#include "AliMpGraphContext.h"
}
+//_____________________________________________________________________________
+AliMpZonePainter::AliMpZonePainter(const AliMpZonePainter& right)
+ : AliMpVPainter(right)
+{
+ // copy constructor (not implemented)
+
+ Fatal("AliMpZonePainter", "Copy constructor not provided.");
+}
+
//_______________________________________________________________________
AliMpZonePainter::~AliMpZonePainter()
{
}
+//_____________________________________________________________________________
+AliMpZonePainter&
+AliMpZonePainter::operator=(const AliMpZonePainter& right)
+{
+ // assignement operator (not implemented)
+
+ // check assignement to self
+ if (this == &right) return *this;
+
+ Fatal("operator =", "Assignement operator not provided.");
+
+ return *this;
+}
+
//_______________________________________________________________________
Int_t AliMpZonePainter::DistancetoPrimitive(Int_t x, Int_t y)
{
AliMpZonePainter(AliMpZone *zone);
virtual ~AliMpZonePainter();
- virtual void DumpObject(); //*MENU*
+ virtual void DumpObject(); //-MENU-
virtual void Draw(Option_t *option);
virtual void Paint(Option_t *option);
// get/set methods
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
+
+ protected:
+ AliMpZonePainter(const AliMpZonePainter& right);
+ AliMpZonePainter& operator = (const AliMpZonePainter& right);
+
private:
AliMpZone *fZone; // the zone to draw
ClassDef(AliMpZonePainter,1) // Zone painter