ROOT logo
// @(#):$Id: TGeoTrd1Editor.cxx 20882 2007-11-19 11:31:26Z rdm $
// Author: M.Gheata 

/*************************************************************************
 * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

//////////////////////////////////////////////////////////////////////////
//                                                                      //
//  TGeoTrd1Editor                                                      //
//                                                                      //
//////////////////////////////////////////////////////////////////////////
//Begin_Html
/*
<img src="gif/trd1_pic.gif">
*/
//End_Html
//Begin_Html
/*
<img src="gif/trd1_ed.jpg">
*/
//End_Html

#include "TGeoTrd1Editor.h"
#include "TGeoTabManager.h"
#include "TGeoTrd1.h"
#include "TGeoManager.h"
#include "TVirtualGeoPainter.h"
#include "TPad.h"
#include "TView.h"
#include "TGTab.h"
#include "TGComboBox.h"
#include "TGButton.h"
#include "TGTextEntry.h"
#include "TGNumberEntry.h"
#include "TGLabel.h"

ClassImp(TGeoTrd1Editor)

enum ETGeoTrd1Wid {
   kTRD1_NAME, kTRD1_X1, kTRD1_X2,  kTRD1_Y, kTRD1_Z,
   kTRD1_APPLY, kTRD1_UNDO
};

//______________________________________________________________________________
TGeoTrd1Editor::TGeoTrd1Editor(const TGWindow *p, Int_t width,
                                   Int_t height, UInt_t options, Pixel_t back)
   : TGeoGedFrame(p, width, height, options | kVerticalFrame, back)
{
   // Constructor for trd1 editor
   fShape   = 0;
   fDxi1 = fDxi2 = fDyi = fDzi = 0.0;
   fNamei = "";
   fIsModified = kFALSE;
   fIsShapeEditable = kFALSE;

   // TextEntry for shape name
   MakeTitle("Name");
   fShapeName = new TGTextEntry(this, new TGTextBuffer(50), kTRD1_NAME);
   fShapeName->Resize(135, fShapeName->GetDefaultHeight());
   fShapeName->SetToolTipText("Enter the box name");
   fShapeName->Associate(this);
   AddFrame(fShapeName, new TGLayoutHints(kLHintsLeft, 3, 1, 2, 5));

   TGTextEntry *nef;
   MakeTitle("Trd1 dimensions");
   TGCompositeFrame *compxyz = new TGCompositeFrame(this, 118, 30, kVerticalFrame | kRaisedFrame | kDoubleBorder);
  
   // Number entry for dx1
   TGCompositeFrame *f1 = new TGCompositeFrame(compxyz, 118, 10, kHorizontalFrame |
                                 kLHintsExpandX | kFixedWidth | kOwnBackground);
   f1->AddFrame(new TGLabel(f1, "DX1"), new TGLayoutHints(kLHintsLeft, 1, 1, 6, 0));
   fEDx1 = new TGNumberEntry(f1, 0., 5, kTRD1_X1);
   fEDx1->SetNumAttr(TGNumberFormat::kNEAPositive);
   nef = (TGTextEntry*)fEDx1->GetNumberEntry();
   nef->SetToolTipText("Enter the half-lenth in X1");
   fEDx1->Associate(this);
   f1->AddFrame(fEDx1, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   compxyz->AddFrame(f1, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   
   // Number entry for dx2
   f1 = new TGCompositeFrame(compxyz, 118, 10, kHorizontalFrame |
                                 kLHintsExpandX | kFixedWidth | kOwnBackground);
   f1->AddFrame(new TGLabel(f1, "DX2"), new TGLayoutHints(kLHintsLeft, 1, 1, 6, 0));
   fEDx2 = new TGNumberEntry(f1, 0., 5, kTRD1_X2);
   fEDx2->SetNumAttr(TGNumberFormat::kNEAPositive);
   nef = (TGTextEntry*)fEDx2->GetNumberEntry();
   nef->SetToolTipText("Enter the  half-lenth in X2");
   fEDx2->Associate(this);
   f1->AddFrame(fEDx2, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   compxyz->AddFrame(f1, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));

   // Number entry for dy
   TGCompositeFrame *f2 = new TGCompositeFrame(compxyz, 118, 10, kHorizontalFrame |
                                 kLHintsExpandX | kFixedWidth | kOwnBackground);
   f2->AddFrame(new TGLabel(f2, "DY"), new TGLayoutHints(kLHintsLeft, 1, 1, 6, 0));
   fEDy = new TGNumberEntry(f2, 0., 5, kTRD1_Y);
   fEDy->SetNumAttr(TGNumberFormat::kNEAPositive);
   nef = (TGTextEntry*)fEDy->GetNumberEntry();
   nef->SetToolTipText("Enter the half-lenth in Y");
   fEDy->Associate(this);
   f2->AddFrame(fEDy, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   compxyz->AddFrame(f2, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   
   // Number entry for dz
   TGCompositeFrame *f3 = new TGCompositeFrame(compxyz, 118, 10, kHorizontalFrame |
                                 kLHintsExpandX | kFixedWidth | kOwnBackground);
   f3->AddFrame(new TGLabel(f3, "DZ"), new TGLayoutHints(kLHintsLeft, 1, 1, 6, 0));
   fEDz = new TGNumberEntry(f3, 0., 5, kTRD1_Z);
   fEDz->SetNumAttr(TGNumberFormat::kNEAPositive);
   nef = (TGTextEntry*)fEDz->GetNumberEntry();
   nef->SetToolTipText("Enter the  half-lenth in Z");
   fEDz->Associate(this);
   f3->AddFrame(fEDz, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   compxyz->AddFrame(f3, new TGLayoutHints(kLHintsLeft | kLHintsExpandX , 2, 2, 4, 4));
   
   compxyz->Resize(150,30);
   AddFrame(compxyz, new TGLayoutHints(kLHintsLeft, 6, 6, 4, 4));
      
   // Delayed draw
   f1 = new TGCompositeFrame(this, 155, 10, kHorizontalFrame | kFixedWidth | kSunkenFrame);
   fDelayed = new TGCheckButton(f1, "Delayed draw");
   f1->AddFrame(fDelayed, new TGLayoutHints(kLHintsLeft , 2, 2, 4, 4));
   AddFrame(f1,  new TGLayoutHints(kLHintsLeft, 6, 6, 4, 4));  

   // Buttons
   f1 = new TGCompositeFrame(this, 155, 10, kHorizontalFrame | kFixedWidth);
   fApply = new TGTextButton(f1, "Apply");
   f1->AddFrame(fApply, new TGLayoutHints(kLHintsLeft, 2, 2, 4, 4));
   fApply->Associate(this);
   fUndo = new TGTextButton(f1, "Undo");
   f1->AddFrame(fUndo, new TGLayoutHints(kLHintsRight , 2, 2, 4, 4));
   fUndo->Associate(this);
   AddFrame(f1,  new TGLayoutHints(kLHintsLeft, 6, 6, 4, 4));  
   fUndo->SetSize(fApply->GetSize());
}

//______________________________________________________________________________
TGeoTrd1Editor::~TGeoTrd1Editor()
{
// Destructor
   TGFrameElement *el;
   TIter next(GetList());
   while ((el = (TGFrameElement *)next())) {
      if (el->fFrame->IsComposite()) 
         TGeoTabManager::Cleanup((TGCompositeFrame*)el->fFrame);
   }
   Cleanup();   
}

//______________________________________________________________________________
void TGeoTrd1Editor::ConnectSignals2Slots()
{
   // Connect signals to slots.
   fApply->Connect("Clicked()", "TGeoTrd1Editor", this, "DoApply()");
   fUndo->Connect("Clicked()", "TGeoTrd1Editor", this, "DoUndo()");
   fShapeName->Connect("TextChanged(const char *)", "TGeoTrd1Editor", this, "DoModified()");
   fEDx1->Connect("ValueSet(Long_t)", "TGeoTrd1Editor", this, "DoDx1()");
   fEDx2->Connect("ValueSet(Long_t)", "TGeoTrd1Editor", this, "DoDx2()");
   fEDy->Connect("ValueSet(Long_t)", "TGeoTrd1Editor", this, "DoDy()");
   fEDz->Connect("ValueSet(Long_t)", "TGeoTrd1Editor", this, "DoDz()");
   fEDx1->GetNumberEntry()->Connect("TextChanged(const char *)", "TGeoTrd1Editor", this, "DoModified()");
   fEDx2->GetNumberEntry()->Connect("TextChanged(const char *)", "TGeoTrd1Editor", this, "DoModified()");
   fEDy->GetNumberEntry()->Connect("TextChanged(const char *)", "TGeoTrd1Editor", this, "DoModified()");
   fEDz->GetNumberEntry()->Connect("TextChanged(const char *)", "TGeoTrd1Editor", this, "DoModified()");
   fInit = kFALSE;
}


//______________________________________________________________________________
void TGeoTrd1Editor::SetModel(TObject* obj)
{
   // Connect to the selected object.
   if (obj == 0 || (obj->IsA()!=TGeoTrd1::Class())) {
      SetActive(kFALSE);
      return;                 
   } 
   fShape = (TGeoTrd1*)obj;
   fDxi1 = fShape->GetDx1();
   fDxi2 = fShape->GetDx2();
   fDyi = fShape->GetDy();
   fDzi = fShape->GetDz();
   const char *sname = fShape->GetName();
   if (!strcmp(sname, fShape->ClassName())) fShapeName->SetText("-no_name");
   else {
      fShapeName->SetText(sname);
      fNamei = sname;
   }   
   fEDx1->SetNumber(fDxi1);
   fEDx2->SetNumber(fDxi2);
   fEDy->SetNumber(fDyi);
   fEDz->SetNumber(fDzi);
   fApply->SetEnabled(kFALSE);
   fUndo->SetEnabled(kFALSE);

   
   if (fInit) ConnectSignals2Slots();
   SetActive();
}

//______________________________________________________________________________
Bool_t TGeoTrd1Editor::IsDelayed() const
{
// Check if shape drawing is delayed.
   return (fDelayed->GetState() == kButtonDown);
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoName()
{
// Perform name change.
   DoModified();
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoApply()
{
// Slot for applying modifications.
   const char *name = fShapeName->GetText();
   if (strcmp(name,fShape->GetName())) fShape->SetName(name);
   Double_t dx1 = fEDx1->GetNumber();
   Double_t dx2 = fEDx2->GetNumber();
   Double_t dy = fEDy->GetNumber(); 
   Double_t dz = fEDz->GetNumber();
   Double_t param[4];
   param[0] = dx1;
   param[1] = dx2;
   param[2] = dy;
   param[3] = dz;
   fShape->SetDimensions(param);
   fShape->ComputeBBox();
   fUndo->SetEnabled();
   fApply->SetEnabled(kFALSE);
   if (fPad) {
      if (gGeoManager && gGeoManager->GetPainter() && gGeoManager->GetPainter()->IsPaintingShape()) {
         fShape->Draw();
         fPad->GetView()->ShowAxis();
      } else Update();
   }   
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoModified()
{
// Slot for signaling modifications.
   fApply->SetEnabled();
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoUndo()
{
// Slot for undoing last operation.
   fEDx1->SetNumber(fDxi1);
   fEDx2->SetNumber(fDxi2);
   fEDy->SetNumber(fDyi);
   fEDz->SetNumber(fDzi);
   DoApply();
   fUndo->SetEnabled(kFALSE);
   fApply->SetEnabled(kFALSE);
}
   
//______________________________________________________________________________
void TGeoTrd1Editor::DoDx1()
{
// Slot for dx1.
   Double_t dx1 = fEDx1->GetNumber();
   Double_t dx2 = fEDx2->GetNumber();
   if (dx1<0) {
      dx1 = 0;
      fEDx1->SetNumber(dx1);
   }
   if (dx1<1.e-6 && dx2<1.e-6) {
      dx1 = 0.1;
      fEDx1->SetNumber(dx1);
   }      
   DoModified();
   if (!IsDelayed()) DoApply();
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoDx2()
{
// Slot for dx2.
   Double_t dx1 = fEDx1->GetNumber();
   Double_t dx2 = fEDx2->GetNumber();
   if (dx2<0) {
      dx2 = 0;
      fEDx2->SetNumber(dx2);
   }
   if (dx1<1.e-6 && dx2<1.e-6) {
      dx2 = 0.1;
      fEDx2->SetNumber(dx2);
   }      
   DoModified();
   if (!IsDelayed()) DoApply();
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoDy()
{
// Slot for dy.
   Double_t dy = fEDy->GetNumber();
   if (dy<=0) {
      dy = 0.1;
      fEDy->SetNumber(dy);
   }
   DoModified();
   if (!IsDelayed()) DoApply();
}

//______________________________________________________________________________
void TGeoTrd1Editor::DoDz()
{
// Slot for dz.
   Double_t dz = fEDz->GetNumber();
   if (dz<=0) {
      dz = 0.1;
      fEDz->SetNumber(dz);
   }
   DoModified();
   if (!IsDelayed()) DoApply();
}


 TGeoTrd1Editor.cxx:1
 TGeoTrd1Editor.cxx:2
 TGeoTrd1Editor.cxx:3
 TGeoTrd1Editor.cxx:4
 TGeoTrd1Editor.cxx:5
 TGeoTrd1Editor.cxx:6
 TGeoTrd1Editor.cxx:7
 TGeoTrd1Editor.cxx:8
 TGeoTrd1Editor.cxx:9
 TGeoTrd1Editor.cxx:10
 TGeoTrd1Editor.cxx:11
 TGeoTrd1Editor.cxx:12
 TGeoTrd1Editor.cxx:13
 TGeoTrd1Editor.cxx:14
 TGeoTrd1Editor.cxx:15
 TGeoTrd1Editor.cxx:16
 TGeoTrd1Editor.cxx:17
 TGeoTrd1Editor.cxx:18
 TGeoTrd1Editor.cxx:19
 TGeoTrd1Editor.cxx:20
 TGeoTrd1Editor.cxx:21
 TGeoTrd1Editor.cxx:22
 TGeoTrd1Editor.cxx:23
 TGeoTrd1Editor.cxx:24
 TGeoTrd1Editor.cxx:25
 TGeoTrd1Editor.cxx:26
 TGeoTrd1Editor.cxx:27
 TGeoTrd1Editor.cxx:28
 TGeoTrd1Editor.cxx:29
 TGeoTrd1Editor.cxx:30
 TGeoTrd1Editor.cxx:31
 TGeoTrd1Editor.cxx:32
 TGeoTrd1Editor.cxx:33
 TGeoTrd1Editor.cxx:34
 TGeoTrd1Editor.cxx:35
 TGeoTrd1Editor.cxx:36
 TGeoTrd1Editor.cxx:37
 TGeoTrd1Editor.cxx:38
 TGeoTrd1Editor.cxx:39
 TGeoTrd1Editor.cxx:40
 TGeoTrd1Editor.cxx:41
 TGeoTrd1Editor.cxx:42
 TGeoTrd1Editor.cxx:43
 TGeoTrd1Editor.cxx:44
 TGeoTrd1Editor.cxx:45
 TGeoTrd1Editor.cxx:46
 TGeoTrd1Editor.cxx:47
 TGeoTrd1Editor.cxx:48
 TGeoTrd1Editor.cxx:49
 TGeoTrd1Editor.cxx:50
 TGeoTrd1Editor.cxx:51
 TGeoTrd1Editor.cxx:52
 TGeoTrd1Editor.cxx:53
 TGeoTrd1Editor.cxx:54
 TGeoTrd1Editor.cxx:55
 TGeoTrd1Editor.cxx:56
 TGeoTrd1Editor.cxx:57
 TGeoTrd1Editor.cxx:58
 TGeoTrd1Editor.cxx:59
 TGeoTrd1Editor.cxx:60
 TGeoTrd1Editor.cxx:61
 TGeoTrd1Editor.cxx:62
 TGeoTrd1Editor.cxx:63
 TGeoTrd1Editor.cxx:64
 TGeoTrd1Editor.cxx:65
 TGeoTrd1Editor.cxx:66
 TGeoTrd1Editor.cxx:67
 TGeoTrd1Editor.cxx:68
 TGeoTrd1Editor.cxx:69
 TGeoTrd1Editor.cxx:70
 TGeoTrd1Editor.cxx:71
 TGeoTrd1Editor.cxx:72
 TGeoTrd1Editor.cxx:73
 TGeoTrd1Editor.cxx:74
 TGeoTrd1Editor.cxx:75
 TGeoTrd1Editor.cxx:76
 TGeoTrd1Editor.cxx:77
 TGeoTrd1Editor.cxx:78
 TGeoTrd1Editor.cxx:79
 TGeoTrd1Editor.cxx:80
 TGeoTrd1Editor.cxx:81
 TGeoTrd1Editor.cxx:82
 TGeoTrd1Editor.cxx:83
 TGeoTrd1Editor.cxx:84
 TGeoTrd1Editor.cxx:85
 TGeoTrd1Editor.cxx:86
 TGeoTrd1Editor.cxx:87
 TGeoTrd1Editor.cxx:88
 TGeoTrd1Editor.cxx:89
 TGeoTrd1Editor.cxx:90
 TGeoTrd1Editor.cxx:91
 TGeoTrd1Editor.cxx:92
 TGeoTrd1Editor.cxx:93
 TGeoTrd1Editor.cxx:94
 TGeoTrd1Editor.cxx:95
 TGeoTrd1Editor.cxx:96
 TGeoTrd1Editor.cxx:97
 TGeoTrd1Editor.cxx:98
 TGeoTrd1Editor.cxx:99
 TGeoTrd1Editor.cxx:100
 TGeoTrd1Editor.cxx:101
 TGeoTrd1Editor.cxx:102
 TGeoTrd1Editor.cxx:103
 TGeoTrd1Editor.cxx:104
 TGeoTrd1Editor.cxx:105
 TGeoTrd1Editor.cxx:106
 TGeoTrd1Editor.cxx:107
 TGeoTrd1Editor.cxx:108
 TGeoTrd1Editor.cxx:109
 TGeoTrd1Editor.cxx:110
 TGeoTrd1Editor.cxx:111
 TGeoTrd1Editor.cxx:112
 TGeoTrd1Editor.cxx:113
 TGeoTrd1Editor.cxx:114
 TGeoTrd1Editor.cxx:115
 TGeoTrd1Editor.cxx:116
 TGeoTrd1Editor.cxx:117
 TGeoTrd1Editor.cxx:118
 TGeoTrd1Editor.cxx:119
 TGeoTrd1Editor.cxx:120
 TGeoTrd1Editor.cxx:121
 TGeoTrd1Editor.cxx:122
 TGeoTrd1Editor.cxx:123
 TGeoTrd1Editor.cxx:124
 TGeoTrd1Editor.cxx:125
 TGeoTrd1Editor.cxx:126
 TGeoTrd1Editor.cxx:127
 TGeoTrd1Editor.cxx:128
 TGeoTrd1Editor.cxx:129
 TGeoTrd1Editor.cxx:130
 TGeoTrd1Editor.cxx:131
 TGeoTrd1Editor.cxx:132
 TGeoTrd1Editor.cxx:133
 TGeoTrd1Editor.cxx:134
 TGeoTrd1Editor.cxx:135
 TGeoTrd1Editor.cxx:136
 TGeoTrd1Editor.cxx:137
 TGeoTrd1Editor.cxx:138
 TGeoTrd1Editor.cxx:139
 TGeoTrd1Editor.cxx:140
 TGeoTrd1Editor.cxx:141
 TGeoTrd1Editor.cxx:142
 TGeoTrd1Editor.cxx:143
 TGeoTrd1Editor.cxx:144
 TGeoTrd1Editor.cxx:145
 TGeoTrd1Editor.cxx:146
 TGeoTrd1Editor.cxx:147
 TGeoTrd1Editor.cxx:148
 TGeoTrd1Editor.cxx:149
 TGeoTrd1Editor.cxx:150
 TGeoTrd1Editor.cxx:151
 TGeoTrd1Editor.cxx:152
 TGeoTrd1Editor.cxx:153
 TGeoTrd1Editor.cxx:154
 TGeoTrd1Editor.cxx:155
 TGeoTrd1Editor.cxx:156
 TGeoTrd1Editor.cxx:157
 TGeoTrd1Editor.cxx:158
 TGeoTrd1Editor.cxx:159
 TGeoTrd1Editor.cxx:160
 TGeoTrd1Editor.cxx:161
 TGeoTrd1Editor.cxx:162
 TGeoTrd1Editor.cxx:163
 TGeoTrd1Editor.cxx:164
 TGeoTrd1Editor.cxx:165
 TGeoTrd1Editor.cxx:166
 TGeoTrd1Editor.cxx:167
 TGeoTrd1Editor.cxx:168
 TGeoTrd1Editor.cxx:169
 TGeoTrd1Editor.cxx:170
 TGeoTrd1Editor.cxx:171
 TGeoTrd1Editor.cxx:172
 TGeoTrd1Editor.cxx:173
 TGeoTrd1Editor.cxx:174
 TGeoTrd1Editor.cxx:175
 TGeoTrd1Editor.cxx:176
 TGeoTrd1Editor.cxx:177
 TGeoTrd1Editor.cxx:178
 TGeoTrd1Editor.cxx:179
 TGeoTrd1Editor.cxx:180
 TGeoTrd1Editor.cxx:181
 TGeoTrd1Editor.cxx:182
 TGeoTrd1Editor.cxx:183
 TGeoTrd1Editor.cxx:184
 TGeoTrd1Editor.cxx:185
 TGeoTrd1Editor.cxx:186
 TGeoTrd1Editor.cxx:187
 TGeoTrd1Editor.cxx:188
 TGeoTrd1Editor.cxx:189
 TGeoTrd1Editor.cxx:190
 TGeoTrd1Editor.cxx:191
 TGeoTrd1Editor.cxx:192
 TGeoTrd1Editor.cxx:193
 TGeoTrd1Editor.cxx:194
 TGeoTrd1Editor.cxx:195
 TGeoTrd1Editor.cxx:196
 TGeoTrd1Editor.cxx:197
 TGeoTrd1Editor.cxx:198
 TGeoTrd1Editor.cxx:199
 TGeoTrd1Editor.cxx:200
 TGeoTrd1Editor.cxx:201
 TGeoTrd1Editor.cxx:202
 TGeoTrd1Editor.cxx:203
 TGeoTrd1Editor.cxx:204
 TGeoTrd1Editor.cxx:205
 TGeoTrd1Editor.cxx:206
 TGeoTrd1Editor.cxx:207
 TGeoTrd1Editor.cxx:208
 TGeoTrd1Editor.cxx:209
 TGeoTrd1Editor.cxx:210
 TGeoTrd1Editor.cxx:211
 TGeoTrd1Editor.cxx:212
 TGeoTrd1Editor.cxx:213
 TGeoTrd1Editor.cxx:214
 TGeoTrd1Editor.cxx:215
 TGeoTrd1Editor.cxx:216
 TGeoTrd1Editor.cxx:217
 TGeoTrd1Editor.cxx:218
 TGeoTrd1Editor.cxx:219
 TGeoTrd1Editor.cxx:220
 TGeoTrd1Editor.cxx:221
 TGeoTrd1Editor.cxx:222
 TGeoTrd1Editor.cxx:223
 TGeoTrd1Editor.cxx:224
 TGeoTrd1Editor.cxx:225
 TGeoTrd1Editor.cxx:226
 TGeoTrd1Editor.cxx:227
 TGeoTrd1Editor.cxx:228
 TGeoTrd1Editor.cxx:229
 TGeoTrd1Editor.cxx:230
 TGeoTrd1Editor.cxx:231
 TGeoTrd1Editor.cxx:232
 TGeoTrd1Editor.cxx:233
 TGeoTrd1Editor.cxx:234
 TGeoTrd1Editor.cxx:235
 TGeoTrd1Editor.cxx:236
 TGeoTrd1Editor.cxx:237
 TGeoTrd1Editor.cxx:238
 TGeoTrd1Editor.cxx:239
 TGeoTrd1Editor.cxx:240
 TGeoTrd1Editor.cxx:241
 TGeoTrd1Editor.cxx:242
 TGeoTrd1Editor.cxx:243
 TGeoTrd1Editor.cxx:244
 TGeoTrd1Editor.cxx:245
 TGeoTrd1Editor.cxx:246
 TGeoTrd1Editor.cxx:247
 TGeoTrd1Editor.cxx:248
 TGeoTrd1Editor.cxx:249
 TGeoTrd1Editor.cxx:250
 TGeoTrd1Editor.cxx:251
 TGeoTrd1Editor.cxx:252
 TGeoTrd1Editor.cxx:253
 TGeoTrd1Editor.cxx:254
 TGeoTrd1Editor.cxx:255
 TGeoTrd1Editor.cxx:256
 TGeoTrd1Editor.cxx:257
 TGeoTrd1Editor.cxx:258
 TGeoTrd1Editor.cxx:259
 TGeoTrd1Editor.cxx:260
 TGeoTrd1Editor.cxx:261
 TGeoTrd1Editor.cxx:262
 TGeoTrd1Editor.cxx:263
 TGeoTrd1Editor.cxx:264
 TGeoTrd1Editor.cxx:265
 TGeoTrd1Editor.cxx:266
 TGeoTrd1Editor.cxx:267
 TGeoTrd1Editor.cxx:268
 TGeoTrd1Editor.cxx:269
 TGeoTrd1Editor.cxx:270
 TGeoTrd1Editor.cxx:271
 TGeoTrd1Editor.cxx:272
 TGeoTrd1Editor.cxx:273
 TGeoTrd1Editor.cxx:274
 TGeoTrd1Editor.cxx:275
 TGeoTrd1Editor.cxx:276
 TGeoTrd1Editor.cxx:277
 TGeoTrd1Editor.cxx:278
 TGeoTrd1Editor.cxx:279
 TGeoTrd1Editor.cxx:280
 TGeoTrd1Editor.cxx:281
 TGeoTrd1Editor.cxx:282
 TGeoTrd1Editor.cxx:283
 TGeoTrd1Editor.cxx:284
 TGeoTrd1Editor.cxx:285
 TGeoTrd1Editor.cxx:286
 TGeoTrd1Editor.cxx:287
 TGeoTrd1Editor.cxx:288
 TGeoTrd1Editor.cxx:289
 TGeoTrd1Editor.cxx:290
 TGeoTrd1Editor.cxx:291
 TGeoTrd1Editor.cxx:292
 TGeoTrd1Editor.cxx:293
 TGeoTrd1Editor.cxx:294
 TGeoTrd1Editor.cxx:295
 TGeoTrd1Editor.cxx:296
 TGeoTrd1Editor.cxx:297
 TGeoTrd1Editor.cxx:298
 TGeoTrd1Editor.cxx:299
 TGeoTrd1Editor.cxx:300
 TGeoTrd1Editor.cxx:301
 TGeoTrd1Editor.cxx:302
 TGeoTrd1Editor.cxx:303
 TGeoTrd1Editor.cxx:304
 TGeoTrd1Editor.cxx:305
 TGeoTrd1Editor.cxx:306
 TGeoTrd1Editor.cxx:307
 TGeoTrd1Editor.cxx:308
 TGeoTrd1Editor.cxx:309
 TGeoTrd1Editor.cxx:310
 TGeoTrd1Editor.cxx:311
 TGeoTrd1Editor.cxx:312
 TGeoTrd1Editor.cxx:313
 TGeoTrd1Editor.cxx:314
 TGeoTrd1Editor.cxx:315
 TGeoTrd1Editor.cxx:316
 TGeoTrd1Editor.cxx:317
 TGeoTrd1Editor.cxx:318
 TGeoTrd1Editor.cxx:319
 TGeoTrd1Editor.cxx:320
 TGeoTrd1Editor.cxx:321
 TGeoTrd1Editor.cxx:322
 TGeoTrd1Editor.cxx:323
 TGeoTrd1Editor.cxx:324
 TGeoTrd1Editor.cxx:325
 TGeoTrd1Editor.cxx:326
 TGeoTrd1Editor.cxx:327
 TGeoTrd1Editor.cxx:328