#include "AliMUONBusPatchPainter.h"
#include "AliMUONManuPainter.h"
-#include "AliMUONPainterContour.h"
+#include "AliMUONContour.h"
#include "AliMUONPainterHelper.h"
#include "AliMUONVCalibParam.h"
#include "AliMUONVTrackerData.h"
/// default ctor
}
+//_____________________________________________________________________________
+AliMUONBusPatchPainter::AliMUONBusPatchPainter(TRootIOCtor* ioCtor)
+: AliMUONVPainter(ioCtor),
+fBusPatchId(-1)
+{
+ /// default streaming ctor
+}
+
//_____________________________________________________________________________
AliMUONBusPatchPainter::AliMUONBusPatchPainter(const AliMUONAttPainter& att,
Int_t busPatchId)
Int_t mask = AliMpConstants::ManuMask(AliMp::kNonBendingPlane);
- AliMUONPainterContour* bpContour = h->GetContour(ContourName());
+ AliMUONContour* bpContour = h->GetContour(ContourName());
AliDebug(1,Form("BusPatchId %04d bending %d DE %4d bpContour(%s)=%p nofManus=%d",
fBusPatchId,att.IsBendingPlane(),detElemId,ContourName().Data(),bpContour,busPatch->GetNofManus()));
((AliMUONBusPatchPainter&)(object)).fBusPatchId = fBusPatchId;
}
+//_____________________________________________________________________________
+Bool_t
+AliMUONBusPatchPainter::IsIncluded() const
+{
+ /// whether this bus patch is included in the readout or not
+ return ( InteractiveReadOutConfig()->BusPatch(fBusPatchId) > 0 );
+}
+
//_____________________________________________________________________________
TString
AliMUONBusPatchPainter::Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
Int_t color = AliMUONPainterHelper::Instance()->ColorFromValue(value,min,max);
- Contour()->PaintArea(color);
+ PaintArea(color);
}
//_____________________________________________________________________________