]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTest.h
Doxygen configuration files (Initial version)
[u/mrichter/AliRoot.git] / MUON / AliMUONTest.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5 //
6 // Class AliMUONTest
7 // -----------------
8 // Class with functions for testing
9 //
10 // Author: Ivana Hrivnacova, IPN Orsay
11
12 #ifndef ALI_MUON_TEST_H
13 #define ALI_MUON_TEST_H
14
15 #include <TObject.h>
16
17 class TCanvas;
18 class AliMUONGeometrySegmentation;
19
20 enum AliMUONTests {
21   kPrintPads,
22   kDrawPads
23 };  
24
25 class AliMUONTest : public  TObject 
26 {
27   public:
28     AliMUONTest(const TString& configMacro);
29     AliMUONTest();
30     virtual ~AliMUONTest();
31    
32     // create segmentation
33     AliMUONGeometrySegmentation* CreateSegmentation(
34                                        Int_t chamberId, Int_t cath);
35                                                           
36     // other tests
37     //
38     void DetElemTransforms();
39
40     // selected tests
41     //                                                    
42     void ForWhole(AliMUONTests test);
43     void ForSegmentation(
44                   AliMUONTests test,
45                   AliMUONGeometrySegmentation* segmentation);
46     void ForDetElement(
47                   AliMUONTests test,
48                   Int_t detElemId,
49                   AliMUONGeometrySegmentation* segmentation);
50     void Before(AliMUONTests test);
51     void After(AliMUONTests test);
52  
53     // tests per pad
54     //
55     void PrintPad(Int_t& counter, 
56                   Int_t detElemId, Int_t ix, Int_t iy,
57                   AliMUONGeometrySegmentation* segmentation);
58     void DrawPad(Int_t& counter, 
59                   Int_t detElemId, Int_t ix, Int_t iy,
60                   AliMUONGeometrySegmentation* segmentation);
61  
62
63     void DrawSegmentation(AliMUONGeometrySegmentation *seg);
64              // TBR                       
65                           
66
67   protected:
68     AliMUONTest(const AliMUONTest& rhs);
69     AliMUONTest& operator = (const AliMUONTest& rhs);
70
71   private:
72     AliMUONGeometrySegmentation* CreateSt1Segmentation(
73                                        Int_t chamberId, Int_t cathod);
74     AliMUONGeometrySegmentation* CreateSt2Segmentation(
75                                        Int_t chamberId, Int_t cathod);
76     AliMUONGeometrySegmentation* CreateSlatSegmentation(
77                                        Int_t chamberId, Int_t cathod);
78         AliMUONGeometrySegmentation* CreateTriggerSegmentation(
79                                        Int_t chamberId, Int_t cathod);
80                                        
81     // data members
82     TCanvas* fCanvas; // The canvas for drawing                                
83
84     ClassDef(AliMUONTest,0)  // MUON class for tests
85 };
86
87 #endif //ALI_MUON_TEST_H
88