* provided "as is" without express or implied warranty. *
**************************************************************************/
-////////////////////////////////////////////////////////////
-// Factory for muon response //
-////////////////////////////////////////////////////////////
+// -----------------------------
+// Class AliMUONResponseFactory
+// -----------------------------
+// Factory for muon response
+// Class separated from AliMUONFactoryV4
/* $Id$ */
: TNamed(name, ""),
fMUON(0),
fResponse0(0)
-{
+{
+/// Standard constructor
+
AliDebug(1,Form("ctor this=%p",this));
}
fMUON(0),
fResponse0(0)
{
+/// Default constructor
+
AliDebug(1,Form("default (empty) ctor this=%p",this));
-// Default constructor
}
//__________________________________________________________________________
AliMUONResponseFactory::AliMUONResponseFactory(const AliMUONResponseFactory& rhs)
: TNamed(rhs)
{
- // Protected copy constructor
+/// Protected copy constructor
AliFatal("Not implemented.");
}
AliMUONResponseFactory::~AliMUONResponseFactory()
{
-// Destructor
+/// Destructor
AliDebug(1,Form("dtor this=%p",this));
}
//__________________________________________________________________________
AliMUONResponseFactory& AliMUONResponseFactory::operator=(const AliMUONResponseFactory& rhs)
{
- // Protected assignement operator
+/// Protected assignement operator
if (this == &rhs) return *this;
//__________________________________________________________________________
void AliMUONResponseFactory::BuildCommon()
{
- //
- // Construct the default response.
- //
+/// Construct the default response.
// Default response: 5 mm of gas
fResponse0 = new AliMUONResponseV0;
//__________________________________________________________________________
void AliMUONResponseFactory::Build(AliMUON* where)
{
-// Construct MUON responses
+/// Construct MUON responses
fMUON = where;
//__________________________________________________________________________
void AliMUONResponseFactory::BuildStation(AliMUON* where, Int_t stationNumber)
{
-// Construct MUON responses
+/// Construct MUON responses for given station
fMUON = where;
if (!fResponse0) BuildCommon();