]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactory.h
Removing old segmentation classes
[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 <TNamed.h>
14
15 class AliMUON;
16 class AliMUONResponseV0;
17
18 class AliMUONFactory : public  TNamed {
19
20   public:
21     AliMUONFactory(const char* name);
22     AliMUONFactory();
23     virtual ~AliMUONFactory();
24     
25     virtual void Build(AliMUON* where, const char* what);
26     virtual void BuildStation(AliMUON* where, Int_t stationNumber);
27
28   protected:
29     AliMUONFactory(const AliMUONFactory& rhs);
30     AliMUONFactory& operator=(const AliMUONFactory& rhs);
31
32   private:
33     void BuildCommon();
34     void BuildStation1();
35     void BuildStation2();
36     void BuildStation3();
37     void BuildStation4();
38     void BuildStation5();
39     void BuildStation6();
40
41     // data members     
42     AliMUON*           fMUON;      // MUON detector 
43     AliMUONResponseV0* fResponse0; // default response 
44
45   ClassDef(AliMUONFactory,0)  // MUON Factory for Chambers and Segmentation
46 };
47 #endif
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62