]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactoryV2.h
Go on with new segmentation (Ch. Finck)
[u/mrichter/AliRoot.git] / MUON / AliMUONFactoryV2.h
1 #ifndef ALIMUONFACTORYV2_H
2 #define ALIMUONFACTORYV2_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 //  The number 2 is refering to new segmentation
12 //  For the moment derive from AliMUONFactory
13 //  only for used of switching from standart to V2 version 
14 //  in AliMUONv1
15 ////////////////////////////////////////////////////////////
16
17 #include <TObject.h>
18 #include "AliMUONFactory.h"
19
20 class AliMUON;
21 class AliMUONResponseV0;
22
23 class AliMUONFactoryV2 : public  AliMUONFactory {
24
25   public:
26     AliMUONFactoryV2();
27     virtual ~AliMUONFactoryV2();
28     
29     void Build(AliMUON* where, const char* what);
30     void BuildStation(AliMUON* where, Int_t stationNumber);
31
32   protected:
33     AliMUONFactoryV2(const AliMUONFactoryV2& rhs);
34     AliMUONFactoryV2& operator=(const AliMUONFactoryV2& rhs);
35
36   private:
37     void BuildCommon();
38     void BuildStation1();
39     void BuildStation2();
40     void BuildStation3();
41     void BuildStation4();
42     void BuildStation5();
43     void BuildStation6();
44
45     // data members     
46     AliMUON*           fMUON;      // MUON detector 
47     AliMUONResponseV0* fResponse0; // default response 
48
49   ClassDef(AliMUONFactoryV2,0)  // MUON Factory for Chambers and Segmentation
50 };
51 #endif
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66