X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FASTSIM%2FAliFastDetector.h;h=82c646fea061212a61f68d90569c488571d5f5ab;hb=5c1ac1686e435f26d45329b8dbb6f867fb21186b;hp=2ee11869c40e8e0fd147ca573ccac558836d70df;hpb=8bb5c9a60702f422e29303b21adfcbd1587c91a0;p=u%2Fmrichter%2FAliRoot.git diff --git a/FASTSIM/AliFastDetector.h b/FASTSIM/AliFastDetector.h index 2ee11869c40..82c646fea06 100644 --- a/FASTSIM/AliFastDetector.h +++ b/FASTSIM/AliFastDetector.h @@ -5,6 +5,14 @@ /* $Id$ */ +// +// Base class for fast simulation of a detctor +// or a system of subdetectors. +// The detector response is described by resolution and efficiency. +// Author: +// Andreas Morsch +// andreas.morsch@cern.ch + #include class TList; class TObjLink; @@ -16,7 +24,8 @@ class AliFastDetector : public TNamed { public: AliFastDetector(); - AliFastDetector(char* Name, char* Title); + AliFastDetector(char* Name, char* Title); + AliFastDetector(const AliFastDetector& det); virtual ~AliFastDetector(); virtual void Init(); virtual void SetGeometry(AliGeometry* geom) @@ -41,6 +50,9 @@ class AliFastDetector : public TNamed { AliFastDetector* NextSubdetector(); AliFastResponse* FirstResponse(); AliFastResponse* NextResponse(); + // Copy + AliFastDetector& operator=(const AliFastDetector & rhs); + void Copy(TObject&) const; protected: TList *fSubdetectors; // List of Subdetectors TList *fResponses; // Responses