#include "AliMUONChamberPainter.h"
#include "AliMUONDEPainter.h"
-#include "AliMUONPainterContour.h"
+#include "AliMUONContour.h"
#include "AliMUONPainterHelper.h"
#include "AliMUONVCalibParam.h"
#include "AliMUONVTrackerData.h"
/// ctor
}
+//_____________________________________________________________________________
+AliMUONChamberPainter::AliMUONChamberPainter(TRootIOCtor* ioCtor)
+: AliMUONVPainter(ioCtor),
+fChamberId(-1)
+{
+ /// ctor
+}
+
//_____________________________________________________________________________
AliMUONChamberPainter::AliMUONChamberPainter(const AliMUONAttPainter& att,
Int_t chamberId)
deIt.First(fChamberId);
- AliMUONPainterContour* contour = h->GetContour(ContourName());
+ AliMUONContour* contour = h->GetContour(ContourName());
TObjArray contourArray;
while (!deIt.IsDone())
return AliMUONPainterHelper::Instance()->FormatValue(data.DimensionName(dataIndex).Data(),value);
}
+//_____________________________________________________________________________
+Bool_t
+AliMUONChamberPainter::IsIncluded() const
+{
+ /// whether this chamber is included in the readout or not
+ return ( InteractiveReadOutConfig()->Chamber(fChamberId) > 0 );
+}
+
//_____________________________________________________________________________
void
AliMUONChamberPainter::PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
Int_t color = AliMUONPainterHelper::Instance()->ColorFromValue(value,min,max);
- Contour()->PaintArea(color);
+ PaintArea(color);
}
//_____________________________________________________________________________