]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONResponseFactory.h
ac86ee966110ee32933af326f55e27cb2c96190d
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseFactory.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 /* $Id$ */
5
6 /// \ingroup sim
7 /// \class AliMUONResponseFactory
8 /// \brief Factory for muon response
9 ///
10 /// Factory for building response, separated from AliMUONFactoryV4
11
12 #ifndef ALI_MUON_RESPONSE_FACTORY_H
13 #define ALI_MUON_RESPONSE_FACTORY_H
14
15 #include <TObject.h>
16 #include <TNamed.h>
17
18 class AliMUON;
19 class AliMUONSegmentation;
20 class AliMUONResponseV0;
21
22 class AliMUONResponseFactory : public  TNamed {
23
24   public:
25     AliMUONResponseFactory(const char* name);
26     AliMUONResponseFactory();
27     virtual ~AliMUONResponseFactory();
28     
29     void Build(AliMUON* where);
30     void BuildStation(AliMUON* where, Int_t stationNumber);
31
32   private:
33     AliMUONResponseFactory(const AliMUONResponseFactory& rhs);
34     AliMUONResponseFactory& operator=(const AliMUONResponseFactory& rhs);
35
36     void BuildCommon();
37     void BuildStation1();
38     void BuildStation2();
39     void BuildStation3();
40     void BuildStation4();
41     void BuildStation5();
42     void BuildStation6();
43     
44     // data members     
45     AliMUON*             fMUON;           ///< MUON detector 
46     AliMUONResponseV0*   fResponse0;      ///< default response 
47
48   ClassDef(AliMUONResponseFactory,0)  // MUON Factory for Chambers and Segmentation
49 };
50
51 #endif //ALI_MUON_RESPONSE_FACTORY_H
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66