]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/MUONTest.C
Updated to use the new CTP framework (Christian)
[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); > test.out
23 //     option     = "./Config.C", 
24 //                  "default", "FactoryV2", "FactoryV3","FactoryV4"
25 //
26 //
27 //  Author: I. Hrivnacova, IPN Orsay
28
29 void MUONTest(const TString& option = "./Config.C")
30 {
31   AliMUONTest test(option);
32   
33   // Print pads for all DEs
34   // test.PrintPadsForAll();
35   
36   // Print pads for first chamber, first cathod
37   // test.PrintPadsForSegmentation(0, 0);
38
39   // Print pads for detElem 100, first cathod
40   // test.PrintPadsForDetElement(100, 0);
41
42   
43   // Print pads for all DEs
44   test.DrawPadsForAll();
45   
46   // Draw pads for first chamber, first cathod
47   // test.DrawForSegmentation(0, 0);
48
49   // Draw pads for detElem 100, first cathod
50   // test.DrawForDetElement(100, 0);
51 }