#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