]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTest.h
ReadRaw(): TGraphs are created once per event (B.Polichtchouk)
[u/mrichter/AliRoot.git] / MUON / AliMUONTest.h
CommitLineData
e118b27e 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4// $Id$
5//
692de412 6/// \ingroup sim
7/// \class AliMUONTest
8/// \brief Class with functions for testing new segmentation
9///
10/// Author: Ivana Hrivnacova, IPN Orsay
e118b27e 11
12#ifndef ALI_MUON_TEST_H
13#define ALI_MUON_TEST_H
14
15#include <TObject.h>
16
8b7981ce 17class AliMUONGeometryTransformer;
18class AliMUONSegmentation;
24def874 19class AliMUONGeometrySegmentation;
e118b27e 20
a3953bc5 21class TCanvas;
22class TString;
23
e118b27e 24class AliMUONTest : public TObject
25{
26 public:
8b7981ce 27 AliMUONTest(const TString& option);
e118b27e 28 AliMUONTest();
29 virtual ~AliMUONTest();
30
152d6f4e 31
19e9826b 32 // methods for printing pads
152d6f4e 33 //
19e9826b 34 void PrintPadsForAll() const;
35 void PrintPadsForSegmentation(Int_t moduleId, Int_t cath) const;
36 void PrintPadsForDetElement(Int_t detElemId, Int_t cath) const;
152d6f4e 37 void PrintPad(Int_t& counter,
38 Int_t detElemId, Int_t ix, Int_t iy,
19e9826b 39 AliMUONGeometrySegmentation* segmentation) const;
40
41 // methods for drawing pads
42 //
43 void DrawPadsForAll() const;
44 void DrawPadsForSegmentation(Int_t moduleId, Int_t cath) const;
45 void DrawPadsForDetElement(Int_t detElemId, Int_t cath) const;
152d6f4e 46 void DrawPad(Int_t& counter,
19e9826b 47 Int_t detElemId, Int_t ix, Int_t iy,
48 AliMUONGeometrySegmentation* segmentation) const;
152d6f4e 49
19e9826b 50 // other tests
51 //
52 void DetElemTransforms() const;
152d6f4e 53
e118b27e 54 protected:
55 AliMUONTest(const AliMUONTest& rhs);
56 AliMUONTest& operator = (const AliMUONTest& rhs);
8b7981ce 57
58 private:
59 // methods
60 void BuildWithMUON(const TString& configMacro);
61 void BuildWithoutMUON(const TString& option);
e118b27e 62
19e9826b 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);
152d6f4e 69 // data members
829425a5 70 const AliMUONGeometryTransformer* fkTransformer; ///< Geometry parametrisation
71 AliMUONSegmentation* fSegmentation; ///< Segmentation
72 TCanvas* fCanvas; ///< The canvas for drawing
152d6f4e 73
e118b27e 74 ClassDef(AliMUONTest,0) // MUON class for tests
75};
76
77#endif //ALI_MUON_TEST_H
78