]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactoryV2.h
Replacement for testPlaneAreaIterator.C macro
[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 //
13 ////////////////////////////////////////////////////////////
14
15 #include <TObject.h>
16 #include <TNamed.h>
17
18 class AliMUON;
19 class AliMUONResponseV0;
20
21 class AliMUONFactoryV2 : public  TNamed {
22
23   public:
24     AliMUONFactoryV2(const char* name);
25     AliMUONFactoryV2();
26     virtual ~AliMUONFactoryV2();
27     
28     void Build(AliMUON* where, const char* what);
29     void BuildStation(AliMUON* where, Int_t stationNumber);
30
31   protected:
32     AliMUONFactoryV2(const AliMUONFactoryV2& rhs);
33     AliMUONFactoryV2& operator=(const AliMUONFactoryV2& rhs);
34
35   private:
36     Bool_t IsGeometryDefined(Int_t ichamber);
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     TObjArray*         fDESegmentations;// DE segmentations
49
50   ClassDef(AliMUONFactoryV2,0)  // MUON Factory for Chambers and Segmentation
51 };
52 #endif
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67