updated for coding convenstion compilation error/warnings and the like.
[u/mrichter/AliRoot.git] / ITS / AliITSdigit.h
CommitLineData
58005f18 1#ifndef ITSDIGIT_H
2#define ITSDIGIT_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
58005f18 7
8#include "AliDigit.h"
9#include "AliITS.h"
10#include "AliITSgeom.h"
11
12//___________________________________________
13class AliITSdigit: public AliDigit {
14////////////////////////////////////////////////////////////////////////
15// Version: 0
16// Written by Rene Brun, Federico Carminati, and Roberto Barbera
17// Minor modifications made and documented by Bjorn S. Nilsen
18// July 11 1999
19//
20// The default ITS digit structure. This should either be replaced
21// or added on to later with the proper digit structure defined for
22// each detector type. See the proposed Digit structure defined by
23// Bjorn S. Nilsen for an example.
24//
25// Data members:
26//
27// Int_t fTracks[3]
28// See AliDigit for a full description. The track numbers, up to 3,
29// that make up this digit.
30//
31// Int_t fEvent
32// The event number for this digit. This information is probably
33// kept someplace else already (via the TTree structure already in use).
34//
35// Int_t fLayer
36// The layer number of this digit. This is part of the information
37// that determines the detector where this digit is located (layer, ladder,
38// and detector numbers).
39//
40// Int_t fLadder
41// The ladder number of this digit. This is part of the information
42// that determines the detector where this digit is located (layer, ladder,
43// and detector numbers).
44//
45// Int_t fDet
46// The detector number of this digit. This is part of the information
47// that determines the detector where this digit is located (layer, ladder,
48// and detector numbers).
49//
50// Int_t fNoverl
51// The number of hits that make up this digit.
52//
53// Member functions:
54//
55// int *GetTracks()
56// See AliDigit for a full description. Returns a pointer to the
57// array fTracks where the tracks number of the tracks that make up
58// this digit are stored.
59//
60// AliITSdigit()
61// The default creator for the AliITSdigit class.
62//
63// AliITSdigit(Int_t *tracks, Int_t *digits)
64// The creator for the AliITSdigit class. This routine fills the
65// AliITSdigit data members from the array digits. The array of track
66// numbers are passed to the AliDigit creator. The order of the elements
67// in the digits array are fEvent = digits[0], fLayer = digits[1],
68// fLadder = digits[2], fDet = digits[3], and fNoverl = digits[4].
69// Therefore the array digits is expected to be at least 5 elements long.
70//
71// ~AliITSdigit()
72// The destructor for the AliITSdigit class. At present the default
73// destructor is used.
74////////////////////////////////////////////////////////////////////////
75 public:
76 Int_t fEvent; // Event number
77 Int_t fLayer; // Layer number
78 Int_t fLadder; // Ladder number
79 Int_t fDet; // Detector number
80 Int_t fNoverl; // Number of overflow
81
82 public:
83 AliITSdigit() {}
84 AliITSdigit(Int_t *tracks, Int_t *digits);
85 virtual ~AliITSdigit() {}
86
87 ClassDef(AliITSdigit,1) //Digit (Header) object for set:ITS
88};
89#endif