1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
8 /// \brief Class with functions for testing new segmentation
10 /// Author: Ivana Hrivnacova, IPN Orsay
12 #ifndef ALI_MUON_TEST_H
13 #define ALI_MUON_TEST_H
17 class AliMUONGeometryTransformer;
18 class AliMUONSegmentation;
19 class AliMUONGeometrySegmentation;
29 class AliMUONTest : public TObject
32 AliMUONTest(const TString& option);
34 virtual ~AliMUONTest();
37 AliMUONGeometrySegmentation* GetSegmentation(
38 Int_t chamberId, Int_t cath);
42 void DetElemTransforms();
46 void ForWhole(AliMUONTests test);
49 AliMUONGeometrySegmentation* segmentation);
53 AliMUONGeometrySegmentation* segmentation);
54 void Before(AliMUONTests test);
55 void After(AliMUONTests test);
59 void PrintPad(Int_t& counter,
60 Int_t detElemId, Int_t ix, Int_t iy,
61 AliMUONGeometrySegmentation* segmentation);
62 void DrawPad(Int_t& counter,
63 Int_t detElemId, Int_t ix, Int_t iy,
64 AliMUONGeometrySegmentation* segmentation);
67 void DrawSegmentation(AliMUONGeometrySegmentation *seg);
72 AliMUONTest(const AliMUONTest& rhs);
73 AliMUONTest& operator = (const AliMUONTest& rhs);
77 void BuildWithMUON(const TString& configMacro);
78 void BuildWithoutMUON(const TString& option);
81 const AliMUONGeometryTransformer* fkTransformer; // Geometry parametrisation
82 AliMUONSegmentation* fSegmentation; // Segmentation
83 TCanvas* fCanvas; // The canvas for drawing
85 ClassDef(AliMUONTest,0) // MUON class for tests
88 #endif //ALI_MUON_TEST_H