1 #ifndef ALIMUONCONTOURMAKERTEST_H
2 #define ALIMUONCONTOURMAKERTEST_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /// \ingroup evaluation
10 /// \class AliMUONContourMakerTest
11 /// \brief Test of ContourMaker classes
13 // author Laurent Aphecetche, Subatech
22 class AliMpMotifPosition;
26 class AliMUONContourMakerTest : public TObject
29 AliMUONContourMakerTest();
30 virtual ~AliMUONContourMakerTest();
32 void Exec(const Option_t* opt="ALL");
34 void GetBoundingBox(const TObjArray& array,
35 Double_t& xmin, Double_t& ymin,
36 Double_t& xmax, Double_t& ymax,
37 Bool_t enlarge=kFALSE) const;
39 void Plot(const AliMUONContour& contour, Int_t lineColor=5, Int_t lineWidth=4, Bool_t orientation=kFALSE) const;
41 void Plot(const AliMUONPolygon& polygon, Int_t lineColor=5, Int_t lineWidth=4, Bool_t orientation=kFALSE) const;
43 void PlotContours(const TObjArray& array, Bool_t orientations=kFALSE) const;
45 void PlotSegments(const TObjArray& segments, Int_t lineColor=1, Int_t lineWidth=2, Bool_t orientations=kFALSE) const;
47 void PrintAsPNG(const char* basename, const TObjArray& contourArray,
48 const TObjArray* contourVerticalEdges=0x0,
49 const TObjArray* horizontals=0x0) const;
52 ClassDef(AliMUONContourMakerTest,1) // Test of AliMUONContourMaker