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