]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactory.h
Reading MUONtracks from new ESD object tree
[u/mrichter/AliRoot.git] / MUON / AliMUONFactory.h
1 #ifndef ALIMUONFACTORY_H
2 #define ALIMUONFACTORY_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 ////////////////////////////////////////////////////////////
9 //  Factory for muon chambers, segmentations and response //
10 ////////////////////////////////////////////////////////////
11 #include "AliDetector.h"
12 // #include "AliMUONTriggerCircuit.h" // cp
13
14 class AliMUON;
15 class AliMUONResponseV0;
16
17 class AliMUONFactory : public  TObject {
18
19   public:
20     AliMUONFactory();
21     virtual ~AliMUONFactory();
22     
23     void Build(AliMUON* where, const char* what);
24     void BuildStation(AliMUON* where, Int_t stationNumber);
25
26   protected:
27     AliMUONFactory(const AliMUONFactory& rhs);
28     AliMUONFactory& operator=(const AliMUONFactory& rhs);
29
30   private:
31     void BuildCommon();
32     void BuildStation1();
33     void BuildStation2();
34     void BuildStation3();
35     void BuildStation4();
36     void BuildStation5();
37     void BuildStation6();
38
39     // data members     
40     AliMUON*           fMUON;      // MUON detector 
41     AliMUONResponseV0* fResponse0; // default response 
42
43   ClassDef(AliMUONFactory,0)  // MUON Factory for Chambers and Segmentation
44 };
45 #endif
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60