ROOT logo
#ifndef ALIEVETOFSECTOREDITOR_H
#define ALIEVETOFSECTOREDITOR_H

/**************************************************************************
 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
 * full copyright notice.                                                 *
 **************************************************************************/

// $Id$
// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

//
//
//

#include <TGedFrame.h>

class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;
class TGDoubleHSlider;

class TGHSlider;

class TEveGValuator;
class TEveGDoubleValuator;

class AliEveTOFSector;

class AliEveTOFSectorEditor : public TGedFrame
{
public:
  AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
			UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
  virtual ~AliEveTOFSectorEditor();

  virtual void SetModel(TObject* obj);
  void DoSectorID();
  void DoAutoTrans();
  void DoPlate0();
  void DoPlate1();
  void DoPlate2();
  void DoPlate3();
  void DoPlate4();

  void DoPlate(Int_t nPlate);
  void DoThreshold();
  void DoMaxVal();

protected:
  AliEveTOFSector*  fM;         // Model object.

  TEveGValuator*    fSectorID;  // Valuator for sector id.

  TGCheckButton*    fAutoTrans; // Check-button for automatic translation.

  TGCheckButton**   fPlate;     // Check-buttons for plates.

  TGCheckButton*    fPlate0;    // Check-button for plate 0.
  TGCheckButton*    fPlate1;    // Check-button for plate 1.
  TGCheckButton*    fPlate2;    // Check-button for plate 2.
  TGCheckButton*    fPlate3;    // Check-button for plate 3.
  TGCheckButton*    fPlate4;    // Check-button for plate 4.

  TEveGValuator*    fThreshold; // Valuator for threshold.
  TEveGValuator*    fMaxVal;    // Valuator for maximum value.

private:
  AliEveTOFSectorEditor(const AliEveTOFSectorEditor&);            // Not implemented
  AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented

  ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector
};

#endif
 AliEveTOFSectorEditor.h:1
 AliEveTOFSectorEditor.h:2
 AliEveTOFSectorEditor.h:3
 AliEveTOFSectorEditor.h:4
 AliEveTOFSectorEditor.h:5
 AliEveTOFSectorEditor.h:6
 AliEveTOFSectorEditor.h:7
 AliEveTOFSectorEditor.h:8
 AliEveTOFSectorEditor.h:9
 AliEveTOFSectorEditor.h:10
 AliEveTOFSectorEditor.h:11
 AliEveTOFSectorEditor.h:12
 AliEveTOFSectorEditor.h:13
 AliEveTOFSectorEditor.h:14
 AliEveTOFSectorEditor.h:15
 AliEveTOFSectorEditor.h:16
 AliEveTOFSectorEditor.h:17
 AliEveTOFSectorEditor.h:18
 AliEveTOFSectorEditor.h:19
 AliEveTOFSectorEditor.h:20
 AliEveTOFSectorEditor.h:21
 AliEveTOFSectorEditor.h:22
 AliEveTOFSectorEditor.h:23
 AliEveTOFSectorEditor.h:24
 AliEveTOFSectorEditor.h:25
 AliEveTOFSectorEditor.h:26
 AliEveTOFSectorEditor.h:27
 AliEveTOFSectorEditor.h:28
 AliEveTOFSectorEditor.h:29
 AliEveTOFSectorEditor.h:30
 AliEveTOFSectorEditor.h:31
 AliEveTOFSectorEditor.h:32
 AliEveTOFSectorEditor.h:33
 AliEveTOFSectorEditor.h:34
 AliEveTOFSectorEditor.h:35
 AliEveTOFSectorEditor.h:36
 AliEveTOFSectorEditor.h:37
 AliEveTOFSectorEditor.h:38
 AliEveTOFSectorEditor.h:39
 AliEveTOFSectorEditor.h:40
 AliEveTOFSectorEditor.h:41
 AliEveTOFSectorEditor.h:42
 AliEveTOFSectorEditor.h:43
 AliEveTOFSectorEditor.h:44
 AliEveTOFSectorEditor.h:45
 AliEveTOFSectorEditor.h:46
 AliEveTOFSectorEditor.h:47
 AliEveTOFSectorEditor.h:48
 AliEveTOFSectorEditor.h:49
 AliEveTOFSectorEditor.h:50
 AliEveTOFSectorEditor.h:51
 AliEveTOFSectorEditor.h:52
 AliEveTOFSectorEditor.h:53
 AliEveTOFSectorEditor.h:54
 AliEveTOFSectorEditor.h:55
 AliEveTOFSectorEditor.h:56
 AliEveTOFSectorEditor.h:57
 AliEveTOFSectorEditor.h:58
 AliEveTOFSectorEditor.h:59
 AliEveTOFSectorEditor.h:60
 AliEveTOFSectorEditor.h:61
 AliEveTOFSectorEditor.h:62
 AliEveTOFSectorEditor.h:63
 AliEveTOFSectorEditor.h:64
 AliEveTOFSectorEditor.h:65
 AliEveTOFSectorEditor.h:66
 AliEveTOFSectorEditor.h:67
 AliEveTOFSectorEditor.h:68
 AliEveTOFSectorEditor.h:69
 AliEveTOFSectorEditor.h:70
 AliEveTOFSectorEditor.h:71
 AliEveTOFSectorEditor.h:72
 AliEveTOFSectorEditor.h:73
 AliEveTOFSectorEditor.h:74
 AliEveTOFSectorEditor.h:75
 AliEveTOFSectorEditor.h:76