]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONContourMakerTest.h
Adding MUONChamberMaterialBudget.C:
[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:
52
fef32488 53 TString NameIt(const AliMpMotifPosition& motifPosition) const;
0b936dc0 54
0b936dc0 55 ClassDef(AliMUONContourMakerTest,1) // Test of AliMUONContourMaker
56};
57
58#endif