]>
Commit | Line | Data |
---|---|---|
1 | /************************************************************************** | |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | /* $Id: */ | |
17 | ||
18 | //////////////////////////////////////////////////////////////////////////// | |
19 | // | |
20 | // ALICE Cosmic Ray Trigger | |
21 | // | |
22 | // This class will provide the basic utilities to create the geometry of | |
23 | // the scintillatio array. This array is basically only the array | |
24 | // in the upper face of the magnet. The remaining arrays will be copies | |
25 | // of this array. | |
26 | // | |
27 | // Authors: | |
28 | // | |
29 | // Arturo Fernandez <afernand@fcfm.buap.mx> | |
30 | // Enrique Gamez <egamez@fcfm.buap.mx> | |
31 | // | |
32 | //////////////////////////////////////////////////////////////////////////// | |
33 | ||
34 | #include "AliCRTModule.h" | |
35 | ||
36 | ClassImp(AliCRTModule) | |
37 | ||
38 | //_____________________________________________________________________________ | |
39 | AliCRTModule::AliCRTModule() | |
40 | : TNamed(), | |
41 | fScintillatorThickness(0), | |
42 | fScintillatorWidth(0), | |
43 | fScintillatorLength(0), | |
44 | fFrameThickness(0), | |
45 | fFrameWidth(0), | |
46 | fFrameLength(0), | |
47 | fNColumns(0), | |
48 | fNRows(0), | |
49 | fZGap(0), | |
50 | fXGap(0) | |
51 | { | |
52 | // | |
53 | // Default constructor | |
54 | // | |
55 | } | |
56 | ||
57 | //_____________________________________________________________________________ | |
58 | AliCRTModule::AliCRTModule(const char* name, const char* title) | |
59 | : TNamed(name, title), | |
60 | fScintillatorThickness(1), | |
61 | fScintillatorWidth(19.7), | |
62 | fScintillatorLength(186), | |
63 | fFrameThickness(10), | |
64 | fFrameWidth(26), | |
65 | fFrameLength(300), | |
66 | fNColumns(2), | |
67 | fNRows(10), | |
68 | fZGap(100), | |
69 | fXGap(0) | |
70 | { | |
71 | // | |
72 | // Standard constructor | |
73 | // | |
74 | } | |
75 | ||
76 | //_____________________________________________________________________________ | |
77 | AliCRTModule::AliCRTModule(const AliCRTModule& mod) | |
78 | : TNamed(mod), | |
79 | fScintillatorThickness(mod.fScintillatorThickness), | |
80 | fScintillatorWidth(mod.fScintillatorWidth), | |
81 | fScintillatorLength(mod.fScintillatorLength), | |
82 | fFrameThickness(mod.fFrameThickness), | |
83 | fFrameWidth(mod.fFrameWidth), | |
84 | fFrameLength(mod.fFrameLength), | |
85 | fNColumns(mod.fNColumns), | |
86 | fNRows(mod.fNRows), | |
87 | fZGap(mod.fZGap), | |
88 | fXGap(mod.fXGap) | |
89 | { | |
90 | // | |
91 | // Copy constructor | |
92 | // | |
93 | } | |
94 | ||
95 | //_____________________________________________________________________________ | |
96 | AliCRTModule::~AliCRTModule() | |
97 | { | |
98 | // | |
99 | // Default destructor | |
100 | // | |
101 | } | |
102 | ||
103 | //_____________________________________________________________________________ | |
104 | AliCRTModule& AliCRTModule::operator=(const AliCRTModule& mod) | |
105 | { | |
106 | // | |
107 | // Asingment operator | |
108 | // | |
109 | fScintillatorThickness = mod.fScintillatorThickness; | |
110 | fScintillatorWidth = mod.fScintillatorWidth; | |
111 | fScintillatorLength = mod.fScintillatorLength; | |
112 | fFrameThickness = mod.fFrameThickness; | |
113 | fFrameWidth = mod.fFrameWidth; | |
114 | fFrameLength = mod.fFrameLength; | |
115 | fNColumns = mod.fNColumns; | |
116 | fNRows = mod.fNRows; | |
117 | fZGap = mod.fZGap; | |
118 | fXGap = mod.fXGap; | |
119 | return *this; | |
120 | } |