/// Default constructor
}
-//_____________________________________________________________________________
-AliMpBusPatch::AliMpBusPatch(const AliMpBusPatch& rhs)
- : TObject(rhs)
-{
-/// Copy constructor
-
- *this = rhs;
-}
-
//_____________________________________________________________________________
AliMpBusPatch::~AliMpBusPatch()
{
}
-//_____________________________________________________________________________
-AliMpBusPatch& AliMpBusPatch::operator = (const AliMpBusPatch& /*rhs*/)
-{
-/// Assignment operator
-
- AliFatal("= operator not implemented");
-
- return *this;
-}
-
//____________________________________________________________________
Int_t AliMpBusPatch::GetDEfromBus(Int_t busPatchId)
{
public:
AliMpBusPatch();
- AliMpBusPatch(const AliMpBusPatch& src);
virtual ~AliMpBusPatch();
- // operators
- AliMpBusPatch& operator = (const AliMpBusPatch& src) ;
-
// methods
void ReadBusPatchFile();
void GetDspInfo(Int_t iDDL, Int_t& iDspMax, Int_t* iBusPerDSP) const;
void ResetBusItr(Int_t iDDL);
private:
+ AliMpBusPatch(const AliMpBusPatch& src);
+ AliMpBusPatch& operator = (const AliMpBusPatch& src) ;
TExMap fDetElemIdToBusPatch; //!< Map from idDE to BusPatch
TExMap fBusPatchToDetElem; //!< Map from BusPatch to idDE
/// Standard constructor
}
-//_____________________________________________________________________________
-AliMpConnection::AliMpConnection(const AliMpConnection& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpConnection", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpConnection::AliMpConnection()
: TObject(),
AliMpConnection::~AliMpConnection() {
//
}
-
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpConnection&
-AliMpConnection::operator=(const AliMpConnection& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
// modifiers
void SetOwner(AliMpMotifType *owner) {fOwner=owner;}
- protected:
+ private:
AliMpConnection(const AliMpConnection& right);
-
- // operators
AliMpConnection& operator=(const AliMpConnection& right);
-
- private:
+
// data members
Int_t fPadNum; ///< Pad number
Int_t fBergNum; ///< Berg connector number
AliMpExMap AliMpDEManager::fgDENamesMap(true);
AliMpExMap AliMpDEManager::fgDECathBNBMap(true);
-//______________________________________________________________________________
-AliMpDEManager::AliMpDEManager()
- : TObject()
-{
-/// Protected default/standard constructor
-}
-
-//______________________________________________________________________________
-AliMpDEManager::AliMpDEManager(const AliMpDEManager& rhs)
- : TObject(rhs)
-{
-/// Protected copy constructor
-
- AliFatal("Not implemented.");
-}
-
//______________________________________________________________________________
AliMpDEManager::~AliMpDEManager()
/// Destructor
}
-//______________________________________________________________________________
-AliMpDEManager& AliMpDEManager::operator=(const AliMpDEManager& rhs)
-{
-/// Protected assignement operator
-
- if (this == &rhs) return *this;
-
- AliFatal("Not implemented.");
-
- return *this;
-}
-
//
// static private methods
//
static AliMpStationType GetStationType(Int_t detElemId);
static Int_t GetCathod(Int_t detElemId, AliMpPlaneType planeType);
- protected:
+ private:
AliMpDEManager();
AliMpDEManager(const AliMpDEManager& rhs);
AliMpDEManager& operator=(const AliMpDEManager& rhs);
- private:
// methods
static Bool_t IsPlaneType(const TString& planeTypeName);
static AliMpPlaneType PlaneType(const TString& planeTypeName);
const TString AliMpFiles::fgkTriggerLocalBoards = "crate";
const TString AliMpFiles::fgkBusPatchFileName = "DetElemIdToBusPatch";
-//______________________________________________________________________________
-AliMpFiles::AliMpFiles()
- : TObject()
-{
-/// Default constructor
-}
-
-//______________________________________________________________________________
-AliMpFiles::AliMpFiles(const AliMpFiles& right)
- : TObject(right)
-{
-/// Protected copy constructor
-
- AliFatalClass("Attempt to copy AliMpFiles singleton.");
-}
-
-
//______________________________________________________________________________
AliMpFiles::~AliMpFiles()
{
/// Destructor
}
-// operators
-
-//______________________________________________________________________________
-AliMpFiles& AliMpFiles::operator=(const AliMpFiles& right)
-{
-/// Assignment operator
-
- // check assignment to self
- if (this == &right) return *this;
-
- AliFatalClass("Attempt to assign AliMpFiles singleton.");
-
- return *this;
-}
-
//
// private methods
//
// set methods
static void SetTopPath(const TString& topPath);
- protected:
+ private:
AliMpFiles();
AliMpFiles(const AliMpFiles& right);
// operators
AliMpFiles& operator=(const AliMpFiles& right);
-
- private:
// methods
static TString GetTop();
static TString PlaneDataDir(AliMpStationType station, AliMpPlaneType plane);
}
-//_____________________________________________________________________________
-AliMpMotifPainter::AliMpMotifPainter(const AliMpMotifPainter& right)
- : AliMpVPainter(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpMotifPainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpMotifPainter::~AliMpMotifPainter()
{
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpMotifPainter&
-AliMpMotifPainter::operator=(const AliMpMotifPainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//_______________________________________________________________________
void AliMpMotifPainter::DumpObject()
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
- protected:
+ private:
AliMpMotifPainter(const AliMpMotifPainter& right);
AliMpMotifPainter& operator = (const AliMpMotifPainter& right);
- private:
AliMpMotifPosition *fMotifPos; ///< the motif to draw
ClassDef(AliMpMotifPainter,1) // Motif painter
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpMotifPosition::AliMpMotifPosition(const AliMpMotifPosition& right)
- : AliMpVIndexed(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpMotifPosition", "Copy constructor not provided.");
-}
-
//______________________________________________________________________________
AliMpMotifPosition::~AliMpMotifPosition()\
{
/// Destructor
}
-// operators
-
-//_____________________________________________________________________________
-AliMpMotifPosition&
-AliMpMotifPosition::operator=(const AliMpMotifPosition& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//______________________________________________________________________________
AliMpVPadIterator* AliMpMotifPosition::CreateIterator() const
{
void Print(Option_t* option="") const;
- protected:
+ private:
AliMpMotifPosition(const AliMpMotifPosition& right);
AliMpMotifPosition& operator = (const AliMpMotifPosition& right);
- private:
// methods
// data members
Int_t fID; ///< identifier=manu id
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpMotifReader::AliMpMotifReader(const AliMpMotifReader& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpMotifReader", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpMotifReader::~AliMpMotifReader()
{
/// Destructor
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpMotifReader& AliMpMotifReader::operator=(const AliMpMotifReader& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
-//
-// private methods
-//
-
-
//
// public methods
//
AliMpMotifType* motifType,
Double_t scale=1.0);
- protected:
+ private:
AliMpMotifReader(const AliMpMotifReader& right);
AliMpMotifReader& operator = (const AliMpMotifReader& right);
- private:
// data members
AliMpStationType fStationType; ///< station type
AliMpPlaneType fPlaneType; ///< plane type
//
}
-//______________________________________________________________________________
-AliMpPCBPainter::AliMpPCBPainter(const AliMpPCBPainter& right)
- : AliMpVPainter(right)
-{
-/// Protected copy constructor (not implemented)
-
- AliFatal("Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpPCBPainter::~AliMpPCBPainter()
{
//
}
-//______________________________________________________________________________
-AliMpPCBPainter&
-AliMpPCBPainter::operator=(const AliMpPCBPainter& right)
-{
-/// Protected assignement operator (not implemented)
-
- // check assignement to self
- if (this == &right) return *this;
-
- AliFatal("Assignement operator not provided.");
-
- return *this;
-}
-
//_____________________________________________________________________________
TVector2
AliMpPCBPainter::GetDimensions() const
TVector2 GetDimensions() const;
TVector2 GetPosition() const;
- protected:
+ private:
AliMpPCBPainter(const AliMpPCBPainter& right);
AliMpPCBPainter& operator = (const AliMpPCBPainter& right);
-
- private:
+
AliMpPCB* fPCB; //!< PCB to be plotted.
ClassDef(AliMpPCBPainter,1) // A painter for a PCB of stations 3,4,5
/// Standard constructor
}
-//_____________________________________________________________________________
-AliMpPadIteratorPtr::AliMpPadIteratorPtr(const AliMpPadIteratorPtr& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpPadIteratorPtr", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpPadIteratorPtr::~AliMpPadIteratorPtr()
{
delete fIterator;
}
-
-// operators
-
-//_____________________________________________________________________________
-AliMpPadIteratorPtr&
-AliMpPadIteratorPtr::operator=(const AliMpPadIteratorPtr& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
AliMpVPadIterator* operator->() { return fIterator; }
AliMpVPadIterator& operator*() { return *fIterator; }
- protected:
+ private:
AliMpPadIteratorPtr(const AliMpPadIteratorPtr& right);
// operators
AliMpPadIteratorPtr& operator=(const AliMpPadIteratorPtr& right);
// copy and assignment are disallowed to avoid
// multiple deletion of fIterator
-
- private:
+
// data members
AliMpVPadIterator* fIterator; ///< The pad iterator
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpRow::AliMpRow(const AliMpRow& right)
- : AliMpVIndexed(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpRow", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpRow::~AliMpRow()
{
#endif
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpRow& AliMpRow::operator=(const AliMpRow& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// private methods
//
AliMpVRowSegment* GetRowSegment(Int_t i) const;
AliMpMotifMap* GetMotifMap() const;
- protected:
+ private:
AliMpRow(const AliMpRow& right);
AliMpRow& operator = (const AliMpRow& right);
- private:
// methods
AliMpVRowSegment* FindRowSegment(Int_t ix) const;
AliMpMotifPosition* FindMotifPosition(AliMpVRowSegment* segment, Int_t ix) const;
/// Standard constructor
}
-//_____________________________________________________________________________
-AliMpRowPainter::AliMpRowPainter(const AliMpRowPainter& right)
- : AliMpVPainter(right) {
-//
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpRowPainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpRowPainter::~AliMpRowPainter()
{
/// Destructor
}
-//_____________________________________________________________________________
-AliMpRowPainter& AliMpRowPainter::operator=(const AliMpRowPainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//_______________________________________________________________________
void AliMpRowPainter::DumpObject()
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
- protected:
+ private:
AliMpRowPainter(const AliMpRowPainter& right);
AliMpRowPainter& operator = (const AliMpRowPainter& right);
- private:
AliMpRow *fRow; ///< the row to paint
ClassDef(AliMpRowPainter,1) // Row painter
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpRowSegment::AliMpRowSegment(const AliMpRowSegment& right)
- : AliMpVRowSegment(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpRowSegment", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpRowSegment::~AliMpRowSegment()
{
/// Destructor
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpRowSegment& AliMpRowSegment::operator=(const AliMpRowSegment& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment 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:
+ AliMpRowSegment(const AliMpRowSegment& right);
+ AliMpRowSegment& operator = (const AliMpRowSegment& right);
+
// methods
Double_t FirstMotifCenterX() const;
Double_t LastMotifCenterX() const;
}
-//_____________________________________________________________________________
-AliMpRowSegmentPainter::AliMpRowSegmentPainter(
- const AliMpRowSegmentPainter& right)
- : AliMpVPainter(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpRowSegmentPainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpRowSegmentPainter::~AliMpRowSegmentPainter()
{
/// Destructor
}
-//_____________________________________________________________________________
-AliMpRowSegmentPainter&
-AliMpRowSegmentPainter::operator=(const AliMpRowSegmentPainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//_______________________________________________________________________
TVector2 AliMpRowSegmentPainter::GetPosition() const
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
- protected:
+ private:
AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
AliMpRowSegmentPainter& operator = (const AliMpRowSegmentPainter& right);
- private:
AliMpVRowSegment *fRowSegment; ///< the row segment to draw
ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
fOffset(offset),
fZones(),
fRows(),
+ fMotifMap(0),
fDirection(direction),
fMinPadDimensions(TVector2(1.e6, 1.e6)),
fMaxPadIndices(AliMpIntPair::Invalid()),
#endif
}
-//_____________________________________________________________________________
-AliMpSector::AliMpSector(const AliMpSector& right)
- : TNamed(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpSector", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSector::AliMpSector()
: TNamed(),
delete fMotifMap;
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSector& AliMpSector::operator=(const AliMpSector& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// private methods
//
virtual void Print(Option_t* opt="") const;
- protected:
+ private:
AliMpSector(const AliMpSector& right);
AliMpSector& operator = (const AliMpSector& right);
- private:
// methods
AliMpVRowSegment* FindRowSegment(const TVector2& position) const;
void SetRowOffsets();
}
-//_____________________________________________________________________________
-AliMpSectorPainter::AliMpSectorPainter(const AliMpSectorPainter& right)
- : AliMpVPainter(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpSectorPainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpSectorPainter::~AliMpSectorPainter()
{
/// Destructor
}
-//_____________________________________________________________________________
-AliMpSectorPainter&
-AliMpSectorPainter::operator=(const AliMpSectorPainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//_______________________________________________________________________
void AliMpSectorPainter::DumpObject()
{
virtual TVector2 GetPosition() const;
virtual TVector2 GetDimensions() const;
- protected:
+ private:
AliMpSectorPainter(const AliMpSectorPainter& right);
AliMpSectorPainter& operator = (const AliMpSectorPainter& right);
- private:
AliMpSector *fSector; ///< the sector to draw
ClassDef(AliMpSectorPainter,1) // Sector painter
// Default constructor
}
-//_____________________________________________________________________________
-AliMpSectorReader::AliMpSectorReader(const AliMpSectorReader& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpSectorReader", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSectorReader::~AliMpSectorReader()
{
delete fMotifReader;
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSectorReader& AliMpSectorReader::operator=(const AliMpSectorReader& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// private methods
//
// methods
AliMpSector* BuildSector();
- protected:
+ private:
AliMpSectorReader(const AliMpSectorReader& right);
AliMpSectorReader& operator = (const AliMpSectorReader& right);
- private:
// methods
void ReadSectorData(ifstream& in);
void ReadZoneData(ifstream& in);
AliMpSectorSegmentation::AliMpSectorSegmentation(const AliMpSector* sector)
: AliMpVSegmentation(),
fkSector(sector),
+ fPadBuffer(0),
+ fPadDimensionsMap(),
fMaxIndexInX(0),
fMaxIndexInY(0)
{
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpSectorSegmentation::AliMpSectorSegmentation(
- const AliMpSectorSegmentation& right)
- : AliMpVSegmentation(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpSectorSegmentation", "Copy constructor not provided.");
-}
-
//______________________________________________________________________________
AliMpSectorSegmentation::~AliMpSectorSegmentation()
{
delete fPadBuffer;
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSectorSegmentation&
-AliMpSectorSegmentation::operator=(const AliMpSectorSegmentation& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// private methods
//
TVector2 Dimensions() const;
-protected:
+ private:
AliMpSectorSegmentation(const AliMpSectorSegmentation& right);
AliMpSectorSegmentation& operator = (const AliMpSectorSegmentation& right);
- private:
#ifdef WITH_ROOT
static const Double_t fgkS1; // the separators used for conversion
static const Double_t fgkS2; // of TVector2 to Long_t
fMpMap->SetOwner(true);
}
-//______________________________________________________________________________
-AliMpSegFactory::AliMpSegFactory(const AliMpSegFactory& rhs)
- : TObject(rhs)
-{
-/// Protected copy constructor
-
- AliFatal("Not implemented.");
-}
-
//______________________________________________________________________________
AliMpSegFactory::~AliMpSegFactory()
AliDebug(1,"");
}
-//______________________________________________________________________________
-AliMpSegFactory& AliMpSegFactory::operator=(const AliMpSegFactory& rhs)
-{
- // Protected assignement operator
-
- if (this == &rhs) return *this;
-
- AliFatal("Not implemented.");
-
- return *this;
-}
-
//
// private methods
//
void DeleteSegmentations();
- protected:
+ private:
AliMpSegFactory(const AliMpSegFactory& rhs);
AliMpSegFactory& operator=(const AliMpSegFactory& rhs);
- private:
AliMpExMap* FillMpMap(Int_t detElemId);
-
- private:
AliMpStringObjMap fMpSegmentations;///< Map of mapping segmentations to DE names
AliMpExMap* fMpMap; ///< Map of el. cards IDs to segmentations
AliDebug(1,Form("this=%p id=%s",this,id));
}
-//_____________________________________________________________________________
-AliMpSlat::AliMpSlat(const AliMpSlat&) : TObject()
-{
- //
- AliFatal("Implement me if needed");
-}
-
-//_____________________________________________________________________________
-AliMpSlat&
-AliMpSlat::operator=(const AliMpSlat&)
-{
- //
- AliFatal("Implement me if needed");
- return *this;
-}
-
//_____________________________________________________________________________
AliMpSlat::~AliMpSlat()
{
Int_t NofPads() const { return fNofPads; }
- protected:
+ private:
AliMpSlat(const AliMpSlat& rhs);
AliMpSlat& operator=(const AliMpSlat& rhs);
-
- private:
+
TString fId; ///< The name of this slat, e.g. 112233N
AliMpPlaneType fPlaneType; ///< Whether it's bending or non-bending plane
Double_t fDX; ///< Half-size in X (cm)
}
}
-//_____________________________________________________________________________
-AliMpSlatPadIterator::AliMpSlatPadIterator(const AliMpSlatPadIterator& o)
-: AliMpVPadIterator(),
-fkSlat(o.fkSlat),
-fCurrentDelegate(o.fCurrentDelegate),
-fCurrentDelegateIndex(o.fCurrentDelegateIndex)
-{
- //
- // Copy ctor.
- //
- AliFatal("Not implemented");
-}
-
-//_____________________________________________________________________________
-AliMpSlatPadIterator& AliMpSlatPadIterator::operator=(const AliMpSlatPadIterator&)
-{
- //
- // Assignement operator
- //
- AliFatal("Not implemented");
- return *this;
-}
-
//_____________________________________________________________________________
AliMpSlatPadIterator::~AliMpSlatPadIterator()
{
//
}
-//______________________________________________________________________________
-AliMpSlatPainter::AliMpSlatPainter(const AliMpSlatPainter& right)
- : AliMpVPainter(right)
-{
-/// Protected copy constructor (not implemented)
-
- AliFatal("Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSlatPainter::~AliMpSlatPainter()
{
//
}
-//______________________________________________________________________________
-AliMpSlatPainter&
-AliMpSlatPainter::operator=(const AliMpSlatPainter& right)
-{
-/// Protected assignement operator (not implemented)
-
- // check assignement to self
- if (this == &right) return *this;
-
- AliFatal("Assignement operator not provided.");
-
- return *this;
-}
-
//_____________________________________________________________________________
TVector2
AliMpSlatPainter::GetDimensions() const
void Paint(Option_t* option);
- protected:
+ private:
AliMpSlatPainter(const AliMpSlatPainter& right);
AliMpSlatPainter& operator = (const AliMpSlatPainter& right);
-
-
- private:
+
const AliMpSlat* fkSlat; //!< pointer to the slat to be drawn
ClassDef(AliMpSlatPainter,1) // A painter for a slat of stations 3,4,5
AliDebug(1,Form("this=%p Normal ctor slat=%p",this,slat));
}
-//______________________________________________________________________________
-AliMpSlatSegmentation::AliMpSlatSegmentation(const AliMpSlatSegmentation& right)
- : AliMpVSegmentation(right)
-{
-/// Protected copy constructor (not implemented)
-
- AliFatal("Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSlatSegmentation::~AliMpSlatSegmentation()
{
AliDebug(1,Form("this=%p",this));
}
-//______________________________________________________________________________
-AliMpSlatSegmentation&
-AliMpSlatSegmentation::operator=(const AliMpSlatSegmentation& right)
-{
-/// Protected assignement operator (not implemented)
-
- // check assignement to self
- if (this == &right) return *this;
-
- AliFatal("Assignement operator not provided.");
-
- return *this;
-}
-
//_____________________________________________________________________________
AliMpVPadIterator*
AliMpSlatSegmentation::CreateIterator(const AliMpArea& area) const
TVector2 Dimensions() const;
- protected:
+ private:
AliMpSlatSegmentation(const AliMpSlatSegmentation& right);
AliMpSlatSegmentation& operator = (const AliMpSlatSegmentation& right);
-
- private:
+
const AliMpSlat* fkSlat; ///< Slat
ClassDef(AliMpSlatSegmentation,1) // A slat for stations 3,4,5
Invalidate();
}
-//______________________________________________________________________________
-AliMpSlatZonePadIterator::AliMpSlatZonePadIterator(const AliMpSlatZonePadIterator& right)
- : AliMpVPadIterator(right)
-{
-/// Protected copy constructor (not implemented)
-
- AliFatal("Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSlatZonePadIterator::~AliMpSlatZonePadIterator()
{
delete fSlatSegmentation;
}
-//______________________________________________________________________________
-AliMpSlatZonePadIterator&
-AliMpSlatZonePadIterator::operator=(const AliMpSlatZonePadIterator& right)
-{
-/// Protected assignement operator (not implemented)
-
- // check assignement to self
- if (this == &right) return *this;
-
- AliFatal("Assignement operator not provided.");
-
- return *this;
-}
-
//_____________________________________________________________________________
Bool_t
AliMpSlatZonePadIterator::CropArea()
AliMpPad CurrentItem() const;
void Invalidate();
- protected:
+ private:
AliMpSlatZonePadIterator(const AliMpSlatZonePadIterator& right);
AliMpSlatZonePadIterator& operator = (const AliMpSlatZonePadIterator& right);
-
- private:
+
Bool_t CropArea();
Bool_t GetNextPosition(Double_t& x, Double_t& y);
void SetPad(AliMpPad& pad, const TVector2& pos);
fFirstArray.SetOwner(true);
}
-//______________________________________________________________________________
-AliMpStringObjMap::AliMpStringObjMap(const AliMpStringObjMap& rhs)
- : TObject(rhs)
-{
-/// Protected copy constructor
-
- AliFatal("Copy constructor is not implemented.");
-}
-
//______________________________________________________________________________
AliMpStringObjMap::~AliMpStringObjMap()
{
fFirstArray.Delete();
}
-//______________________________________________________________________________
-AliMpStringObjMap&
-AliMpStringObjMap::operator = (const AliMpStringObjMap& rhs)
-{
-/// Protected assignement operator
-
- // check assignement to self
- if (this == &rhs) return *this;
-
- AliFatal("Assignment operator is not implemented.");
-
- return *this;
-}
-
-
//
// public methods
//
virtual void Print(const char* /*option*/ = "") const;
void Print(const TString& key, ofstream& out) const;
- protected:
+ private:
AliMpStringObjMap(const AliMpStringObjMap& rhs);
-
- // operators
AliMpStringObjMap& operator = (const AliMpStringObjMap& rhs);
-
- private:
+
// data members
Int_t fNofItems; ///< number of items
TObjArray fFirstArray; ///< first item array
//_____________________________________________________________________________
AliMpSubZone::AliMpSubZone(AliMpVMotif* motif)
: TObject(),
- fMotif(motif)
+ fMotif(motif),
+ fSegments()
{
/// Standard constructor
}
//_____________________________________________________________________________
AliMpSubZone::AliMpSubZone()
: TObject(),
- fMotif(0)
+ fMotif(0),
+ fSegments()
{
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpSubZone::AliMpSubZone(const AliMpSubZone& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpSubZone", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSubZone::~AliMpSubZone()
{
// Destructor
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSubZone& AliMpSubZone::operator=(const AliMpSubZone& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// public methods
//
AliMpVRowSegment* GetRowSegment(Int_t i) const;
AliMpVMotif* GetMotif() const;
- protected:
+ private:
AliMpSubZone(const AliMpSubZone& right);
AliMpSubZone& operator = (const AliMpSubZone& right);
- private:
// data members
AliMpVMotif* fMotif; ///< the motif in this subzone
RowSegmentVector fSegments;///< contained row segments
}
-//_____________________________________________________________________________
-AliMpSubZonePainter::AliMpSubZonePainter(const AliMpSubZonePainter& right)
- : AliMpVPainter(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpSubZonePainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpSubZonePainter::~AliMpSubZonePainter()
{
/// Destructor
}
-//_____________________________________________________________________________
-AliMpSubZonePainter&
-AliMpSubZonePainter::operator=(const AliMpSubZonePainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment 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:
+ private:
AliMpSubZonePainter(const AliMpSubZonePainter& right);
AliMpSubZonePainter& operator = (const AliMpSubZonePainter& right);
- private:
AliMpSubZone *fSubZone; ///< the subzone to draw
ClassDef(AliMpSubZonePainter,1) // SubZone painter
}
}
-//______________________________________________________________________________
-AliMpTriggerSegmentation::AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right)
- : AliMpVSegmentation(right),
- fkSlat(right.fkSlat),
- fNofStrips(right.fNofStrips)
-{
-/// Protected copy constructor (not implemented)
-
- AliFatal("Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpTriggerSegmentation::~AliMpTriggerSegmentation()
{
AliDebug(1,Form("this=%p",this));
}
-//______________________________________________________________________________
-AliMpTriggerSegmentation&
-AliMpTriggerSegmentation::operator=(const AliMpTriggerSegmentation& right)
-{
-/// Protected assignement operator (not implemented)
-
- // check assignement to self
- if (this == &right) return *this;
-
- AliFatal("Assignement operator not provided.");
-
- return *this;
-}
-
//_____________________________________________________________________________
AliMpVPadIterator*
AliMpTriggerSegmentation::CreateIterator(const AliMpArea&) const
TVector2 Dimensions() const;
-protected:
+private:
AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right);
AliMpTriggerSegmentation& operator = (const AliMpTriggerSegmentation& right);
-
-private:
+
const AliMpTrigger* fkSlat; ///< Slat
Int_t fNofStrips; ///< Number of strips in this slat
}
-//_____________________________________________________________________________
-AliMpVMotif::AliMpVMotif(const AliMpVMotif& right)
- : TObject(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpVMotif", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpVMotif::~AliMpVMotif()
{
/// Destructor
}
-// operators
-
-//_____________________________________________________________________________
-AliMpVMotif& AliMpVMotif::operator=(const AliMpVMotif& right)
-{
- /// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment 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:
+ private:
AliMpVMotif(const AliMpVMotif& right);
AliMpVMotif& operator = (const AliMpVMotif& right);
- private:
- // methods
-
// data members
TString fID; ///< identifier
AliMpMotifType *fMotifType; ///< the motif type
/// Default contructor
}
-//_____________________________________________________________________________
-AliMpVPadRowSegment::AliMpVPadRowSegment(const AliMpVPadRowSegment& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpVPadRowSegment", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpVPadRowSegment::~AliMpVPadRowSegment()
{
/// Destructor
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpVPadRowSegment&
-AliMpVPadRowSegment::operator=(const AliMpVPadRowSegment& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment 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:
+ AliMpVPadRowSegment(const AliMpVPadRowSegment& right);
+ AliMpVPadRowSegment& operator = (const AliMpVPadRowSegment& right);
+
// data members
Int_t fNofPads; ///< number of pads
Double_t fOffsetX; ///< the x position of the right/left border
//_______________________________________________________________________
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)
{
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:
+ AliMpVPainter(const AliMpVPainter& right);
+ AliMpVPainter& operator = (const AliMpVPainter& right);
+
Int_t fColor; ///< color
TVector2 fPadPosition; ///< position inside the graphics pad
TVector2 fPadDimensions; ///< dimensions inside the graphics pad
#endif
}
-//_____________________________________________________________________________
-AliMpVRowSegmentSpecial::AliMpVRowSegmentSpecial(
- const AliMpVRowSegmentSpecial& right)
- : AliMpVRowSegment(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpVRowSegmentSpecial", "Copy constructor not provided.");
-}
-
//______________________________________________________________________________
AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial()
{
delete fPadRows[i];
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpVRowSegmentSpecial&
-AliMpVRowSegmentSpecial::operator=(const AliMpVRowSegmentSpecial& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment 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;
Double_t GetOffsetX() const;
private:
+ AliMpVRowSegmentSpecial(const AliMpVRowSegmentSpecial& right);
+ AliMpVRowSegmentSpecial& operator = (const AliMpVRowSegmentSpecial& right);
+
#ifdef WITH_ROOT
// static data members
static const Int_t fgkMaxNofMotifPositionIds; // dimension of fMotifPositionIds
}
-//_____________________________________________________________________________
-AliMpZonePainter::AliMpZonePainter(const AliMpZonePainter& right)
- : AliMpVPainter(right)
-{
- /// Protected copy constructor (not provided)
-
- Fatal("AliMpZonePainter", "Copy constructor not provided.");
-}
-
//_______________________________________________________________________
AliMpZonePainter::~AliMpZonePainter()
{
/// Destructor
}
-//_____________________________________________________________________________
-AliMpZonePainter&
-AliMpZonePainter::operator=(const AliMpZonePainter& right)
-{
- /// Assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//_______________________________________________________________________
Int_t AliMpZonePainter::DistancetoPrimitive(Int_t x, Int_t y)
{
virtual TVector2 GetDimensions() const;
virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
- protected:
+ private:
AliMpZonePainter(const AliMpZonePainter& right);
AliMpZonePainter& operator = (const AliMpZonePainter& right);
- private:
AliMpZone *fZone; ///< the zone to draw
ClassDef(AliMpZonePainter,1) // Zone painter