From: rdm Date: Tue, 1 Jun 2004 20:50:26 +0000 (+0000) Subject: Draw() is not const. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=1373d50f48b8920e9a8f467062f4880b764d82bc;p=u%2Fmrichter%2FAliRoot.git Draw() is not const. --- diff --git a/MUON/AliMUONSegmentationSlat.cxx b/MUON/AliMUONSegmentationSlat.cxx index a561bb1803b..715e7b671d5 100644 --- a/MUON/AliMUONSegmentationSlat.cxx +++ b/MUON/AliMUONSegmentationSlat.cxx @@ -573,7 +573,7 @@ CreateSlatModule() const } -void AliMUONSegmentationSlat::Draw(const char* opt) const +void AliMUONSegmentationSlat::Draw(const char* opt) { // Draw method for event display // diff --git a/MUON/AliMUONSegmentationSlat.h b/MUON/AliMUONSegmentationSlat.h index c2dc9e21cfb..b63991b24c6 100644 --- a/MUON/AliMUONSegmentationSlat.h +++ b/MUON/AliMUONSegmentationSlat.h @@ -119,7 +119,7 @@ class AliMUONSegmentationSlat : public AliSegmentation // Test points for auto calibration virtual void GiveTestPoints(Int_t &n, Float_t *x, Float_t *y) const; // Draw the segmentation zones - virtual void Draw(const char *opt = "") const; + virtual void Draw(const char *opt = ""); // Function for systematic corrections diff --git a/MUON/AliMUONSegmentationTrigger.cxx b/MUON/AliMUONSegmentationTrigger.cxx index 082a1ce72b7..11453e3d339 100644 --- a/MUON/AliMUONSegmentationTrigger.cxx +++ b/MUON/AliMUONSegmentationTrigger.cxx @@ -167,7 +167,7 @@ void AliMUONSegmentationTrigger::Init(Int_t chamber) } //------------------------------------------------------------------ -void AliMUONSegmentationTrigger::Draw(const char * /*opt*/) const {} +void AliMUONSegmentationTrigger::Draw(const char * /*opt*/) {} //------------------------------------------------------------------ Int_t AliMUONSegmentationTrigger::ModuleNumber(Int_t imodule){ // returns module number (from 0 to 126) corresponding to module imodule diff --git a/MUON/AliMUONSegmentationTrigger.h b/MUON/AliMUONSegmentationTrigger.h index 84b13c904ff..55c6d8a90ad 100644 --- a/MUON/AliMUONSegmentationTrigger.h +++ b/MUON/AliMUONSegmentationTrigger.h @@ -29,7 +29,7 @@ class AliMUONSegmentationTrigger : public AliMUONSegmentationV0 virtual void SetHit(Float_t xhit, Float_t yhit); virtual void SetHit(Float_t xhit, Float_t yhit, Float_t zhit); // Draw the segmentation zones - virtual void Draw(const char *opt="") const ; + virtual void Draw(const char *opt=""); protected: Int_t fId; // Identifier diff --git a/MUON/AliMUONSegmentationV0.cxx b/MUON/AliMUONSegmentationV0.cxx index bafb319418f..2ef205a8de9 100644 --- a/MUON/AliMUONSegmentationV0.cxx +++ b/MUON/AliMUONSegmentationV0.cxx @@ -307,7 +307,7 @@ void AliMUONSegmentationV0::GiveTestPoints(Int_t &n, Float_t *x, Float_t *y) co y[0]=x[0]; } -void AliMUONSegmentationV0::Draw(const char *) const +void AliMUONSegmentationV0::Draw(const char *) { // Draws the segmentation zones // diff --git a/MUON/AliMUONSegmentationV0.h b/MUON/AliMUONSegmentationV0.h index f1b634ce33f..c76cbccb123 100644 --- a/MUON/AliMUONSegmentationV0.h +++ b/MUON/AliMUONSegmentationV0.h @@ -102,7 +102,7 @@ dummy); // Test points for auto calibration virtual void GiveTestPoints(Int_t &n, Float_t *x, Float_t *y) const; // Draw segmentation zones - virtual void Draw(const char *opt="") const; + virtual void Draw(const char *opt=""); // Function for systematic corrections // Set the correction function virtual void SetCorrFunc(Int_t dum, TF1* func);