]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONFactory.h
negative indexes allowed
[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  private:
27     void BuildCommon();
28     void BuildStation1();
29     void BuildStation2();
30     void BuildStation3();
31     void BuildStation4();
32     void BuildStation5();
33     void BuildStation6();
34
35     // data members     
36     AliMUON*           fMUON;      // MUON detector 
37     AliMUONResponseV0* fResponse0; // default response 
38
39  ClassDef(AliMUONFactory,0)  // MUON Factory for Chambers and Segmentation
40 };
41 #endif
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56