]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactory.h
Geometry framework classes were made independent from the rest of MUON and linked...
[u/mrichter/AliRoot.git] / MUON / AliMUONFactory.h
1 #ifndef ALIMUONFACTORY_H
2 #define ALIMUONFACTORY_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 // Revision of includes 07/05/2004
8
9 ////////////////////////////////////////////////////////////
10 //  Factory for muon chambers, segmentations and response //
11 ////////////////////////////////////////////////////////////
12
13 #include <TObject.h>
14
15 class AliMUON;
16 class AliMUONResponseV0;
17
18 class AliMUONFactory : public  TObject {
19
20   public:
21     AliMUONFactory();
22     virtual ~AliMUONFactory();
23     
24     void Build(AliMUON* where, const char* what);
25     void BuildStation(AliMUON* where, Int_t stationNumber);
26
27   protected:
28     AliMUONFactory(const AliMUONFactory& rhs);
29     AliMUONFactory& operator=(const AliMUONFactory& rhs);
30
31   private:
32     void BuildCommon();
33     void BuildStation1();
34     void BuildStation2();
35     void BuildStation3();
36     void BuildStation4();
37     void BuildStation5();
38     void BuildStation6();
39
40     // data members     
41     AliMUON*           fMUON;      // MUON detector 
42     AliMUONResponseV0* fResponse0; // default response 
43
44   ClassDef(AliMUONFactory,0)  // MUON Factory for Chambers and Segmentation
45 };
46 #endif
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61