]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveDet/AliEveTPCSectorVizEditor.cxx
Coverity
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSectorVizEditor.cxx
index 00f8bfcf9588a95c6854bfea635428d054a8bef0..eca8a88b75a89f5437eb9bed862a5ed0559683d7 100644 (file)
@@ -11,7 +11,6 @@
 #include <EveDet/AliEveTPCSectorViz.h>
 
 #include <TEveGValuators.h>
-#include <TEveTransEditor.h>
 
 #include <TVirtualPad.h>
 
@@ -32,7 +31,6 @@ AliEveTPCSectorVizEditor::AliEveTPCSectorVizEditor(const TGWindow *p,
                                        UInt_t options, Pixel_t back) :
   TGedFrame(p, width, height, options | kVerticalFrame, back),
   fM(0),
-  fHMTrans   (0),
   fSectorID  (0), fAutoTrans (0),
   fRnrInn    (0), fRnrOut1   (0), fRnrOut2(0),
   fThreshold (0), fMaxVal    (0),
@@ -44,13 +42,6 @@ AliEveTPCSectorVizEditor::AliEveTPCSectorVizEditor(const TGWindow *p,
 
   Int_t labelW = 60;
 
-  MakeTitle("Transformation matrix");
-
-  fHMTrans = new TEveTransSubEditor(this);
-  fHMTrans->Connect("UseTrans()",     "AliEveTPCSectorVizEditor", this, "Update()");
-  fHMTrans->Connect("TransChanged()", "AliEveTPCSectorVizEditor", this, "Update()");
-  AddFrame(fHMTrans, new TGLayoutHints(kLHintsTop | kLHintsExpandX, 2, 0, 0, 0));
-
   MakeTitle("AliEveTPCSectorViz");
 
   fSectorID = new TEveGValuator(this, "SectorID", 110, 0);
@@ -126,8 +117,6 @@ void AliEveTPCSectorVizEditor::SetModel(TObject* obj)
 
   fM = dynamic_cast<AliEveTPCSectorViz*>(obj);
 
-  fHMTrans->SetModel(fM->PtrMainTrans());
-
   fSectorID->SetValue(fM->fSectorID);
   fAutoTrans->SetState(fM->fAutoTrans  ? kButtonDown : kButtonUp);