1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
8 // Class with functions for testing
10 // Author: Ivana Hrivnacova, IPN Orsay
12 #ifndef ALI_MUON_TEST_H
13 #define ALI_MUON_TEST_H
18 class AliMUONGeometrySegmentation;
25 class AliMUONTest : public TObject
28 AliMUONTest(const TString& configMacro);
30 virtual ~AliMUONTest();
32 // create segmentation
33 AliMUONGeometrySegmentation* CreateSegmentation(
34 Int_t chamberId, Int_t cath);
38 void DetElemTransforms();
42 void ForWhole(AliMUONTests test);
45 AliMUONGeometrySegmentation* segmentation);
49 AliMUONGeometrySegmentation* segmentation);
50 void Before(AliMUONTests test);
51 void After(AliMUONTests test);
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);
63 void DrawSegmentation(AliMUONGeometrySegmentation *seg);
68 AliMUONTest(const AliMUONTest& rhs);
69 AliMUONTest& operator = (const AliMUONTest& rhs);
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);
82 TCanvas* fCanvas; // The canvas for drawing
84 ClassDef(AliMUONTest,0) // MUON class for tests
87 #endif //ALI_MUON_TEST_H