]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/MUONTest.C
Initialize arrays in constructor (Ivana)
[u/mrichter/AliRoot.git] / MUON / MUONTest.C
CommitLineData
e118b27e 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// $Id$
17//
18// Macro for testing detection elements transformations
19// and segmentations
20// To be run from aliroot:
21// .L MUONTest.C
22// MUONTest(testNumber); > testN.out
23// testNumber = 1 ...
24// testNumber = 2 ...
25// testNumber = 3 ...
26//
27// Author: I. Hrivnacova, IPN Orsay
28
29void MUONTest(Int_t testNumber)
30{
fc1fafa5 31 gAlice->Init("./Config.C");
e118b27e 32 cout << "Init done " << endl;
33
fc1fafa5 34 AliMUONTest test("./Config.C");
e118b27e 35 switch (testNumber) {
152d6f4e 36 case 1: test.DetElemTransforms(); break;
37 case 2: test.ForWhole(kPrintPads); break;
38 case 3: test.ForWhole(kDrawPads); break;
39 case 4: test.PrintPadPositions2(); break;
e118b27e 40 default: ;
41 }
42}