]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFDigitsInfoEditor.cxx
fix coverity
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFDigitsInfoEditor.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
3  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
4  * full copyright notice.                                                 *
5  **************************************************************************/
6
7 // $Id$
8 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
9
10 #include "AliEveTOFDigitsInfoEditor.h"
11 #include <AliEveTOFDigitsInfo.h>
12
13 //#include <TVirtualPad.h>
14 //#include <TColor.h>
15
16 //#include <TGLabel.h>
17 //#include <TGButton.h>
18 //#include <TGNumberEntry.h>
19 //#include <TGColorSelect.h>
20 //#include <TGDoubleSlider.h>
21
22
23 //______________________________________________________________________________
24 // AliEveTOFDigitsInfoEditor
25 //
26
27 ClassImp(AliEveTOFDigitsInfoEditor)
28
29 AliEveTOFDigitsInfoEditor::AliEveTOFDigitsInfoEditor(const TGWindow *p, Int_t width, Int_t height,
30              UInt_t options, Pixel_t back) :
31   TGedFrame(p, width, height, options | kVerticalFrame, back),
32   fM(0)
33   // Initialize widget pointers to 0
34 {
35   // ctr
36
37   MakeTitle("AliEveTOFDigitsInfo");
38
39   // Create widgets
40   // fXYZZ = new TGSomeWidget(this, ...);
41   // AddFrame(fXYZZ, new TGLayoutHints(...));
42   // fXYZZ->Connect("SignalName()", "AliEveTOFDigitsInfoEditor", this, "DoXYZZ()");
43 }
44
45 /******************************************************************************/
46
47 void AliEveTOFDigitsInfoEditor::SetModel(TObject* obj)
48 {
49   // Set object to monitor at visualization level
50
51   fM = dynamic_cast<AliEveTOFDigitsInfo*>(obj);
52
53   // Set values of widgets
54   // fXYZZ->SetValue(fM->GetXYZZ());
55 }
56
57 /******************************************************************************/
58
59 // Implements callback/slot methods
60
61 // void AliEveTOFDigitsInfoEditor::DoXYZZ()
62 // {
63 //   fM->SetXYZZ(fXYZZ->GetValue());
64 //   Update();
65 // }