]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactoryV3.h
BuildStation6 made consistent with AliMUONFactoryV2
[u/mrichter/AliRoot.git] / MUON / AliMUONFactoryV3.h
1 #ifndef ALIMUONFACTORYV3_H
2 #define ALIMUONFACTORYV3_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
8 /// \ingroup sim
9 /// \class AliMUONFactoryV3
10 /// \brief Factory for muon chambers, segmentations and response
11 ///
12 ////////////////////////////////////////////////////////////
13 //  Factory for muon chambers, segmentations and response 
14 ////////////////////////////////////////////////////////////
15
16 #include <TObject.h>
17 #include <TNamed.h>
18
19 class AliMUON;
20 class AliMUONResponseV0;
21
22 class AliMUONFactoryV3 : public  TNamed {
23
24   public:
25     AliMUONFactoryV3(const char* name);
26     AliMUONFactoryV3();
27     virtual ~AliMUONFactoryV3();
28     
29     void Build(AliMUON* where, const char* what);
30     void BuildStation(AliMUON* where, Int_t stationNumber);
31
32   protected:
33     AliMUONFactoryV3(const AliMUONFactoryV3& rhs);
34     AliMUONFactoryV3& operator=(const AliMUONFactoryV3& rhs);
35
36   private:
37     Bool_t IsGeometryDefined(Int_t ichamber);
38     void BuildCommon();
39     void BuildStation1();
40     void BuildStation2();
41     void BuildStation3();
42     void BuildStation4();
43     void BuildStation5();
44     void BuildStation6();
45     void BuildChamber345(Int_t firstDetElemId, Int_t lastDetElemId);
46
47     // data members     
48     AliMUON*           fMUON;           // MUON detector 
49     AliMUONResponseV0* fResponse0;      // default response 
50     TObjArray*         fDESegmentations;// DE segmentations
51
52   ClassDef(AliMUONFactoryV3,0)  // MUON Factory for Chambers and Segmentation
53 };
54
55 #endif
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70