]>
Commit | Line | Data |
---|---|---|
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 | |
8b7981ce | 22 | // MUONTest(option, testNumber); > testN.out |
23 | // option = "./Config.C", | |
40afd6cd | 24 | // "default", "FactoryV2", "FactoryV3","FactoryV4", "FactoryNew" |
8b7981ce | 25 | // testNumber = 1, 2, 3 |
e118b27e | 26 | // |
27 | // Author: I. Hrivnacova, IPN Orsay | |
28 | ||
8b7981ce | 29 | void MUONTest(const TString& option = "./Config.C", |
30 | Int_t testNumber = 1) | |
e118b27e | 31 | { |
8b7981ce | 32 | AliMUONTest test(option); |
e118b27e | 33 | switch (testNumber) { |
152d6f4e | 34 | case 1: test.DetElemTransforms(); break; |
35 | case 2: test.ForWhole(kPrintPads); break; | |
36 | case 3: test.ForWhole(kDrawPads); break; | |
e118b27e | 37 | default: ; |
38 | } | |
39 | } |