]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONFactory.h
Improved response simulation for station 1.
[u/mrichter/AliRoot.git] / MUON / AliMUONFactory.h
index bf9624e7c77795c75ff2b0b9473615b0ca01ad84..fdca42e72aecf34fd6b750f301e76b328dfa5fd6 100644 (file)
 #include "AliDetector.h"
 // #include "AliMUONTriggerCircuit.h" // cp
 
-class AliMUONChamber;
 class AliMUON;
+class AliMUONResponseV0;
 
 class AliMUONFactory : public  TObject {
+
  public:
-    static void Build(AliMUON* where, const char* what);
- protected:
-    ClassDef(AliMUONFactory,0)  // MUON Factory for Chambers and Segmentation
+    AliMUONFactory();
+    virtual ~AliMUONFactory();
+    
+    void Build(AliMUON* where, const char* what);
+    void BuildStation(AliMUON* where, Int_t stationNumber);
+
+ private:
+    void BuildCommon();
+    void BuildStation1();
+    void BuildStation2();
+    void BuildStation3();
+    void BuildStation4();
+    void BuildStation5();
+    void BuildStation6();
+
+    // data members    
+    AliMUON*           fMUON;      // MUON detector 
+    AliMUONResponseV0* fResponse0; // default response 
+
+ ClassDef(AliMUONFactory,0)  // MUON Factory for Chambers and Segmentation
 };
 #endif