#endif
#include <float.h>
-class AliMUONPainterContour;
+class AliMUONContour;
class AliMUONPainterGroup;
class AliMUONVTrackerData;
class AliMpArea;
{
public:
+ AliMUONVPainter(TRootIOCtor*);
AliMUONVPainter(const char* type="");
AliMUONVPainter(const AliMUONVPainter& rhs);
AliMUONVPainter& operator=(const AliMUONVPainter& rhs);
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
/// Return the contour representing the outline of this object
- AliMUONPainterContour* Contour() const { return fContour; }
+ AliMUONContour* Contour() const { return fContour; }
/// Get our name
virtual const char* GetName() const { return Name().Data(); }
AliMUONPainterGroup* ResponderGroup() const { return fResponderGroup; }
/// Set out contour
- void SetContour(AliMUONPainterContour* contour);
+ void SetContour(AliMUONContour* contour);
void SetData(const char* pattern, AliMUONVTrackerData* data, Int_t dataIndex);
virtual void PaintOutline(Int_t color=-1, Int_t width=-1, Double_t x=FLT_MAX, Double_t y=FLT_MAX);
+ virtual void PaintArea(Int_t fillColor);
+
virtual void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
Double_t min, Double_t max);
/// SL
void DrawInternalHistogramClone9() { DrawInternalHistogramClone(9); }
+ /// Whether or not the part of the detector represented by this painter should be included in readout.
+ virtual Bool_t IsIncluded() const = 0;
+
+ /// Whether or not the part of the detector represented by this painter should be excluded from readout.
+ Bool_t IsExcluded() const { return ! IsIncluded(); }
+
+ virtual void Include();
+
+ virtual void Exclude();
+
protected:
virtual TCollection* Children() const;
+ mutable TH1* fHistogram; //!< histogram
+
+ AliMUONVTrackerData* InteractiveReadOutConfig() const;
+
private:
void FlatList(TList& list);
AliMUONVPainter* GetPainter(Int_t px, Int_t py, Double_t& x, Double_t& y) const;
+ void WriteIROC(Double_t value);
+
+ void GetIROCManuList(TObjArray& manuList);
+
private:
TString fName; ///< our (short) name
TString fType; ///< our type (DE, Chamber, MANU, etc...)
AliMUONVPainter* fMother; ///< our mother
AliMUONPainterGroup* fGroup; ///< our group
- AliMUONPainterContour* fContour; ///< our contour
+ AliMUONContour* fContour; ///< our contour
TMap* fPainterGroups; ///< map of groups
TObjArray* fChildren; ///< our children
AliMUONPainterGroup* fResponderGroup; ///< the responder group
Int_t fID[2]; ///< our ids
Bool_t fIsValid; ///< whether we were properly initialized
-protected:
- mutable TH1* fHistogram; //!< histogram
-
ClassDef(AliMUONVPainter,3) // Base class of a graphical object for MUON spectrometer
};