]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONFactory.h
Using TGeo as default transport package
[u/mrichter/AliRoot.git] / MUON / AliMUONFactory.h
CommitLineData
be3bb6c1 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$ */
30178c30 7// Revision of includes 07/05/2004
be3bb6c1 8
9////////////////////////////////////////////////////////////
10// Factory for muon chambers, segmentations and response //
11////////////////////////////////////////////////////////////
30178c30 12
dd1f2c35 13#include <TNamed.h>
be3bb6c1 14
be3bb6c1 15class AliMUON;
ba030c0e 16class AliMUONResponseV0;
be3bb6c1 17
dd1f2c35 18class AliMUONFactory : public TNamed {
ba030c0e 19
11ca64ac 20 public:
dd1f2c35 21 AliMUONFactory(const char* name);
ba030c0e 22 AliMUONFactory();
23 virtual ~AliMUONFactory();
24
a713db22 25 virtual void Build(AliMUON* where, const char* what);
26 virtual void BuildStation(AliMUON* where, Int_t stationNumber);
ba030c0e 27
11ca64ac 28 protected:
29 AliMUONFactory(const AliMUONFactory& rhs);
30 AliMUONFactory& operator=(const AliMUONFactory& rhs);
31
32 private:
ba030c0e 33 void BuildCommon();
34 void BuildStation1();
35 void BuildStation2();
36 void BuildStation3();
37 void BuildStation4();
38 void BuildStation5();
39 void BuildStation6();
40
41 // data members
42 AliMUON* fMUON; // MUON detector
43 AliMUONResponseV0* fResponse0; // default response
44
11ca64ac 45 ClassDef(AliMUONFactory,0) // MUON Factory for Chambers and Segmentation
be3bb6c1 46};
47#endif
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62