fNpar(npar),
fParam(0)
{
+/// Standard constructor for a constituent without translation & rotation
+
// fTransformation = new TGeoCombiTrans(name);
// would be nice to be so simple
fParam(0),
fTransformation(0)
{
+/// Standard constructor for a constituent with translation
+
// Create the constituent transformation
fTransformation = new TGeoCombiTrans(translation, TGeoRotation());
fParam(0),
fTransformation(0)
{
+/// Standard constructor for a constituent with translation and rotation
+
// Create the constituent transformation
fTransformation = new TGeoCombiTrans(translation, rotation);
fParam(0),
fTransformation(0)
{
+/// Standard constructor for a constituent with translation and rotation
+/// defined via TGeoCombiTrans
+
// Create the constituent transformation
fTransformation = new TGeoCombiTrans(transform);
fParam(0),
fTransformation(0)
{
-// Default constructor
+/// Default constructor
}
const AliMUONGeometryConstituent& rhs)
: TNamed(rhs)
{
+/// Protected copy constructor
+
AliFatal("Copy constructor is not implemented.");
}
//______________________________________________________________________________
AliMUONGeometryConstituent::~AliMUONGeometryConstituent()
{
-//
+/// Destructor
+
delete fTransformation;
delete [] fParam;
}
AliMUONGeometryConstituent&
AliMUONGeometryConstituent::operator = (const AliMUONGeometryConstituent& rhs)
{
+/// Protected assignment operator
+
// check assignement to self
if (this == &rhs) return *this;