Line data Source code
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 AliMUONResponseV0;
20 :
21 : class AliMUONResponseFactory : public TNamed {
22 :
23 : public:
24 : AliMUONResponseFactory(const char* name, Bool_t isTailEffect);
25 : AliMUONResponseFactory();
26 : virtual ~AliMUONResponseFactory();
27 :
28 : void Build(AliMUON* where);
29 : void BuildStation(AliMUON* where, Int_t stationNumber);
30 :
31 : private:
32 : /// Not implemented
33 : AliMUONResponseFactory(const AliMUONResponseFactory& rhs);
34 : /// Not implemented
35 : AliMUONResponseFactory& operator=(const AliMUONResponseFactory& rhs);
36 :
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 : Bool_t fIsTailEffect;///< switch to turn on/off the tail effect
49 :
50 22 : ClassDef(AliMUONResponseFactory,0) // MUON Factory for Chambers and Segmentation
51 : };
52 :
53 : #endif //ALI_MUON_RESPONSE_FACTORY_H
54 :
55 :
56 :
57 :
58 :
59 :
60 :
61 :
62 :
63 :
64 :
65 :
66 :
67 :
68 :
|