]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/MUONTest.C
New digitizer, not deriving from MUONDigitizer and doing decalibration of
[u/mrichter/AliRoot.git] / MUON / MUONTest.C
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(option, testNumber); > testN.out
23 //     option     = "./Config.C", 
24 //                  "default", "FactoryV2", "FactoryV3","FactoryV4", "FactoryNew"
25 //     testNumber = 1, 2, 3
26 //
27 //  Author: I. Hrivnacova, IPN Orsay
28
29 void MUONTest(const TString& option = "./Config.C", 
30               Int_t testNumber = 1)
31 {
32   AliMUONTest test(option);
33   switch (testNumber) {
34     case 1: test.DetElemTransforms();  break;
35     case 2: test.ForWhole(kPrintPads); break; 
36     case 3: test.ForWhole(kDrawPads);  break; 
37     default: ;
38   }    
39 }