1 #ifndef ALIMUONPAINTERHELPER_H
2 #define ALIMUONPAINTERHELPER_H
24 # include "TVector2.h"
27 #ifndef ALI_MP_PLANE_TYPE_H
31 #ifndef ALI_MP_CATHOD_TYPE_H
35 #ifndef ALIMUONVPAINTER_H
66 TString
DEName(Int_t detElemId)
const;
67 TString
ManuName(Int_t manuId)
const;
69 TString
PCBName(Int_t pcbNumber)
const;
74 TString
ManuPathName(Int_t detElemId, Int_t manuId)
const;
76 TString
PCBPathName(Int_t detElemId, Int_t pcbNumber)
const;
78 Int_t
ColorFromValue(Double_t value, Double_t min, Double_t max)
const;
90 Int_t pcbNumber)
const;
93 Int_t pcbNumber)
const;
107 void Local2Global(Int_t detElemId, Double_t xl, Double_t yl, Double_t zl,
108 Double_t& xg, Double_t& yg, Double_t& zg)
const;
110 void Global2Local(Int_t detElemId, Double_t xg, Double_t yg, Double_t zg,
111 Double_t& xl, Double_t& yl, Double_t& zl)
const;
115 virtual void Print(Option_t* opt=
"")
const;
119 TString
FormatValue(
const char* name, Double_t value)
const;
Int_t ColorFromValue(Double_t value, Double_t min, Double_t max) const
static AliMUONPainterHelper * Instance()
AliMUONContour * GetContour(const TString &contourName) const
Return a contour by name.
TString DEPathName(Int_t detElemId) const
AliMUONPainterEnv * fEnv
resources
void Local2Global(Int_t detElemId, Double_t xl, Double_t yl, Double_t zl, Double_t &xg, Double_t &yg, Double_t &zg) const
TString PCBName(Int_t pcbNumber) const
virtual void Print(Option_t *opt="") const
AliMUONPainterHelper & operator=(const AliMUONPainterHelper &)
Not implemented.
A PCB for station 3,4 or 5.
TString StationPathName(Int_t stationId) const
const AliMpSector * GetSector(Int_t detElemId, AliMp::PlaneType planeType) const
A slat (building block of stations 3, 4 and 5)
TString ManuPathName(Int_t detElemId, Int_t manuId) const
virtual ~AliMUONPainterHelper()
Container of calibration values for a given number of channels.
TObjArray * GetAllContoursAsArray(Bool_t explodedView=kTRUE) const
AliMpPCB * GetPCB(Int_t detElemId, AliMp::PlaneType planeType, Int_t pcbNumber) const
void RegisterContour(AliMUONContour *contour, Bool_t explodedView=kTRUE)
AliMUONContourHandler * Exploded() const
AliMUONContour * GetContour(const char *contourName, Bool_t explodedGeometry=kTRUE) const
TString PCBPathName(Int_t detElemId, Int_t pcbNumber) const
AliMp::PlaneType GetPlaneType(Int_t manuId) const
static AliMUONPainterHelper * fgInstance
global instance
AliMpMotifPosition * GetMotifPosition(Int_t detElemId, Int_t manuId) const
AliMUONContourHandler * Real() const
Holder for MUON tracker contours.
Utility class for the painters display.
AliMUONContour * MergeContours(const TObjArray &contours, const char *contourName, Bool_t explodedGeometry=kTRUE)
A sector (quadrant) of the MUON chamber of stations 1 and 2.
TString BusPatchPathName(Int_t busPatchId) const
const AliMpSlat * GetSlat(Int_t detElemId, AliMp::PlaneType planeType) const
void Global2Local(Int_t detElemId, Double_t xg, Double_t yg, Double_t zg, Double_t &xl, Double_t &yl, Double_t &zl) const
AliMUONContourHandler * fReal
contours in real coordinates
AliMUONPainterEnv * Env()
Return the environment.
TString StationName(Int_t stationId) const
Basic attributes shared by all painters.
TString BusPatchName(Int_t busPatchId) const
TString ChamberPathName(Int_t chamberId) const
AliMUONContourHandler * fExploded
contours in exploded coordinates
TString FormatValue(const char *name, Double_t value) const
TString ChamberName(Int_t chamberId) const
TString ManuName(Int_t manuId) const
TString DEName(Int_t detElemId) const
Base class for MUON data that can be presented at different levels in the hierarchy of the MUON syste...
AliMp::CathodType GetCathodeType(Int_t detElemId, Int_t manuId) const
Helper class making Root persistent TExMap.