]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSdigit.cxx
Avoid warnings on non-ansi compiler HP-UX CC
[u/mrichter/AliRoot.git] / ITS / AliITSdigit.cxx
CommitLineData
4c039060 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/*
17$Log$
18*/
19
58005f18 20//
21#include "AliITS.h"
22#include "AliITSdigit.h"
23#include "AliRun.h"
24////////////////////////////////////////////////////////////////////////
25// Version: 0
26// Written by Rene Brun, Federico Carminati, and Roberto Barbera
27// Minor modifications made and documented by Bjorn S. Nilsen
28// July 11 1999
29//
30// The default ITS digit structure. This should either be replaced
31// or added on to later with the proper digit structure defined for
32// each detector type. See the proposed Digit structure defined by
33// Bjorn S. Nilsen for an example.
34//Begin_Html
35/*
a92b2b7d 36<img src="picts/ITS/AliITShit_Class_Diagram.gif">
58005f18 37</pre>
38<br clear=left>
39<font size=+2 color=red>
40<p>This show the relasionships between the ITS digit class' and the rest of Aliroot.
41</font>
42<pre>
43*/
44//End_Html
45//_____________________________________________________________________________
46ClassImp(AliITSdigit)
47
48AliITSdigit::AliITSdigit(Int_t *tracks, Int_t *digits):
49 AliDigit(tracks){
50 //
51 // Create ITS digit
52 // The creator for the AliITSdigit class. This routine fills the
53 // AliITSdigit data members from the array digits. The array of track
54 // numbers are passed to the AliDigit creator. The order of the elements
55 // in the digits array are fEvent = digits[0], fLayer = digits[1],
56 // fLadder = digits[2], fDet = digits[3], and fNoverl = digits[4].
57 // Therefore the array digits is expected to be at least 5 elements long.
58 //
59 fEvent = digits[0];
60 fLayer = digits[1];
61 fLadder = digits[2];
62 fDet = digits[3];
63 fNoverl = digits[4];
64}