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;
24 class AliMUONTest : public TObject
27 AliMUONTest(const TString& option);
29 virtual ~AliMUONTest();
32 // methods for printing pads
34 void PrintPadsForAll() const;
35 void PrintPadsForSegmentation(Int_t moduleId, Int_t cath) const;
36 void PrintPadsForDetElement(Int_t detElemId, Int_t cath) const;
37 void PrintPad(Int_t& counter,
38 Int_t detElemId, Int_t ix, Int_t iy,
39 AliMUONGeometrySegmentation* segmentation) const;
41 // methods for drawing pads
43 void DrawPadsForAll() const;
44 void DrawPadsForSegmentation(Int_t moduleId, Int_t cath) const;
45 void DrawPadsForDetElement(Int_t detElemId, Int_t cath) const;
46 void DrawPad(Int_t& counter,
47 Int_t detElemId, Int_t ix, Int_t iy,
48 AliMUONGeometrySegmentation* segmentation) const;
52 void DetElemTransforms() const;
55 AliMUONTest(const AliMUONTest& rhs);
56 AliMUONTest& operator = (const AliMUONTest& rhs);
60 void BuildWithMUON(const TString& configMacro);
61 void BuildWithoutMUON(const TString& option);
63 void PrintPad(Int_t& counter,
64 Int_t detElemId, Int_t ix, Int_t iy,
65 AliMUONGeometrySegmentation* segmentation);
66 void DrawPad(Int_t& counter,
67 Int_t detElemId, Int_t ix, Int_t iy,
68 AliMUONGeometrySegmentation* segmentation);
70 const AliMUONGeometryTransformer* fkTransformer; // Geometry parametrisation
71 AliMUONSegmentation* fSegmentation; // Segmentation
72 TCanvas* fCanvas; // The canvas for drawing
74 ClassDef(AliMUONTest,0) // MUON class for tests
77 #endif //ALI_MUON_TEST_H