Adding code to patch St1 HV mapping
[u/mrichter/AliRoot.git] / MUON / AliMUONContourMakerTest.h
CommitLineData
0b936dc0 1#ifndef ALIMUONCONTOURMAKERTEST_H
2#define ALIMUONCONTOURMAKERTEST_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup evaluation
10/// \class AliMUONContourMakerTest
11/// \brief Test of ContourMaker classes
12///
13// author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMpExMap;
20class TObjArray;
21class TString;
22class AliMpMotifPosition;
23class AliMUONContour;
24class AliMUONPolygon;
25
26class AliMUONContourMakerTest : public TObject
27{
28public:
29 AliMUONContourMakerTest();
30 virtual ~AliMUONContourMakerTest();
31
32 void Exec(const Option_t* opt="ALL");
33
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;
38
39 void Plot(const AliMUONContour& contour, Int_t lineColor=5, Int_t lineWidth=4, Bool_t orientation=kFALSE) const;
40
41 void Plot(const AliMUONPolygon& polygon, Int_t lineColor=5, Int_t lineWidth=4, Bool_t orientation=kFALSE) const;
42
43 void PlotContours(const TObjArray& array, Bool_t orientations=kFALSE) const;
44
45 void PlotSegments(const TObjArray& segments, Int_t lineColor=1, Int_t lineWidth=2, Bool_t orientations=kFALSE) const;
46
47 void PrintAsPNG(const char* basename, const TObjArray& contourArray,
48 const TObjArray* contourVerticalEdges=0x0,
49 const TObjArray* horizontals=0x0) const;
50
51private:
0b936dc0 52 ClassDef(AliMUONContourMakerTest,1) // Test of AliMUONContourMaker
53};
54
55#endif