]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliTrackMap.h
Minor corrections on the display (adc counts readable, ...).
[u/mrichter/AliRoot.git] / STEER / AliTrackMap.h
CommitLineData
f0a0d075 1#ifndef ALITRACKMAP_H
2#define ALITRACKMAP_H
3/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////////////////////////////
9//
10// AliTrackMap.h
11// description:
12// contains a relation between track label and it's index
13// in a TreeH.
14// See http://AliSoft.cern.ch/people/chudoba/classes/AliTrackMap.html
15//
16// Author: Jiri Chudoba (CERN), 2002
17//
18////////////////////////////////////////////////////////////////////////
19
20#include "TNamed.h"
21
22typedef enum { kOutOfBounds = -2, kNoEntry} MapConsts_t;
23
24class AliTrackMap: public TNamed {
25
26public:
27 AliTrackMap();
28 AliTrackMap(Int_t size, Int_t *array);
29 ~AliTrackMap();
30 Int_t At(Int_t label);
31 Int_t Size(){return fSize;}
32 void SetEventNr(Int_t eventNr);
33 void PrintValues();
34
35private:
36 Int_t fSize; // size of the array
37
38 Int_t *fArray; //[fSize] actual map
39
40 ClassDef(AliTrackMap,1) // connection between track label and TreeH indeces
41};
42
43#endif // ALITRACKMAP_H
44
45
46
47
48