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