]>
Commit | Line | Data |
---|---|---|
58005f18 | 1 | // |
2 | #include "AliITS.h" | |
3 | #include "AliITSdigit.h" | |
4 | #include "AliRun.h" | |
5 | //////////////////////////////////////////////////////////////////////// | |
6 | // Version: 0 | |
7 | // Written by Rene Brun, Federico Carminati, and Roberto Barbera | |
8 | // Minor modifications made and documented by Bjorn S. Nilsen | |
9 | // July 11 1999 | |
10 | // | |
11 | // The default ITS digit structure. This should either be replaced | |
12 | // or added on to later with the proper digit structure defined for | |
13 | // each detector type. See the proposed Digit structure defined by | |
14 | // Bjorn S. Nilsen for an example. | |
15 | //Begin_Html | |
16 | /* | |
17 | <img src="figures/AliITShit_Class_Diagram.gif"> | |
18 | </pre> | |
19 | <br clear=left> | |
20 | <font size=+2 color=red> | |
21 | <p>This show the relasionships between the ITS digit class' and the rest of Aliroot. | |
22 | </font> | |
23 | <pre> | |
24 | */ | |
25 | //End_Html | |
26 | //_____________________________________________________________________________ | |
27 | ClassImp(AliITSdigit) | |
28 | ||
29 | AliITSdigit::AliITSdigit(Int_t *tracks, Int_t *digits): | |
30 | AliDigit(tracks){ | |
31 | // | |
32 | // Create ITS digit | |
33 | // The creator for the AliITSdigit class. This routine fills the | |
34 | // AliITSdigit data members from the array digits. The array of track | |
35 | // numbers are passed to the AliDigit creator. The order of the elements | |
36 | // in the digits array are fEvent = digits[0], fLayer = digits[1], | |
37 | // fLadder = digits[2], fDet = digits[3], and fNoverl = digits[4]. | |
38 | // Therefore the array digits is expected to be at least 5 elements long. | |
39 | // | |
40 | fEvent = digits[0]; | |
41 | fLayer = digits[1]; | |
42 | fLadder = digits[2]; | |
43 | fDet = digits[3]; | |
44 | fNoverl = digits[4]; | |
45 | } |