]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONFactoryV2.h
Added deleting of DE segmentation objects in AliMUONFactoryV2 (Ivana)
[u/mrichter/AliRoot.git] / MUON / AliMUONFactoryV2.h
CommitLineData
a713db22 1#ifndef ALIMUONFACTORYV2_H
2#define ALIMUONFACTORYV2_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// Revision of includes 07/05/2004
8
9////////////////////////////////////////////////////////////
10// Factory for muon chambers, segmentations and response
11// The number 2 is refering to new segmentation
12// For the moment derive from AliMUONFactory
13// only for used of switching from standart to V2 version
14// in AliMUONv1
15////////////////////////////////////////////////////////////
16
17#include <TObject.h>
18#include "AliMUONFactory.h"
19
20class AliMUON;
21class AliMUONResponseV0;
22
23class AliMUONFactoryV2 : public AliMUONFactory {
24
25 public:
dd1f2c35 26 AliMUONFactoryV2(const char* name);
a713db22 27 AliMUONFactoryV2();
28 virtual ~AliMUONFactoryV2();
29
30 void Build(AliMUON* where, const char* what);
31 void BuildStation(AliMUON* where, Int_t stationNumber);
32
33 protected:
34 AliMUONFactoryV2(const AliMUONFactoryV2& rhs);
35 AliMUONFactoryV2& operator=(const AliMUONFactoryV2& rhs);
36
37 private:
38 void BuildCommon();
39 void BuildStation1();
40 void BuildStation2();
41 void BuildStation3();
42 void BuildStation4();
43 void BuildStation5();
44 void BuildStation6();
45
46 // data members
dd1f2c35 47 AliMUON* fMUON; // MUON detector
48 AliMUONResponseV0* fResponse0; // default response
49 TObjArray* fDESegmentations;// DE segmentations
a713db22 50
51 ClassDef(AliMUONFactoryV2,0) // MUON Factory for Chambers and Segmentation
52};
53#endif
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68