]>
Commit | Line | Data |
---|---|---|
66e0997c | 1 | // $Id$ |
a387ee7c | 2 | // $MpId: testUpdateGlobalIndices.C,v 1.7 2005/08/24 08:53:27 ivana Exp $ |
66e0997c | 3 | // |
4 | // Tests updating global indices of motif positions from file. | |
5 | ||
6 | void testUpdateGlobalIndices() | |
7 | { | |
a387ee7c | 8 | AliMpSectorReader reader(kStation1, kNonBendingPlane); |
66e0997c | 9 | //reader.SetVerboseLevel(1); |
10 | ||
11 | // Read data | |
12 | AliMpSector* sector = reader.BuildSector(); | |
13 | ||
14 | sector->GetMotifMap()->UpdateGlobalIndices("motif_map.dat"); | |
15 | ||
16 | AliMpVPainter* painter = AliMpVPainter::CreatePainter(sector); | |
17 | TCanvas* canvas = new TCanvas(); | |
18 | canvas->cd(); | |
19 | painter->Draw("ZSSMI"); | |
20 | } | |
21 |