1 #ifndef ALIFASTDETECTOR_H
2 #define ALIFASTDETECTOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
11 class AliFastResponse;
12 class AliFastParticle;
15 class AliFastDetector : public TNamed {
19 AliFastDetector(char* Name, char* Title);
20 virtual ~AliFastDetector();
22 virtual void SetGeometry(AliGeometry* geom)
25 virtual AliGeometry* GetGeometry() const
28 // Add a new subdetector
29 virtual void AddSubdetector(AliFastDetector *Detector, char* Name);
30 virtual TList* Subdetectors() {return fSubdetectors;}
33 virtual void AddResponse(AliFastResponse *Response);
34 virtual TList* Responses() {return fResponses;}
35 virtual Float_t EvaluateEfficiency(AliFastParticle* part);
36 virtual Bool_t EvaluateAcceptance(AliFastParticle* part);
37 virtual void EvaluateResponse(AliFastParticle* part);
40 AliFastDetector* FirstSubdetector();
41 AliFastDetector* NextSubdetector();
42 AliFastResponse* FirstResponse();
43 AliFastResponse* NextResponse();
45 TList *fSubdetectors; // List of Subdetectors
46 TList *fResponses; // Responses
47 TObjLink *fLnkD; // Pointer to detector in list
48 TObjLink *fLnkR; // Pointer to response in list
49 AliFastResponse *fEfficiency; // Efficiency Simulation
50 AliFastResponse *fResolution; // Resolution Simulation
51 AliGeometry *fGeometry; // Geometry
52 ClassDef(AliFastDetector,1) // Base class for fast detector