]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpDEVisu.h
Separating run-dependent mapping data from data, which are not
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpDEVisu.h
index b1e0dc77867bf1173468ba757a62c7847976d316..75a4b5c2e32faa66a867d04ae456cc6dd07cdfcf 100644 (file)
@@ -2,7 +2,7 @@
  * See cxx source for full Copyright notice                               */
 
 
-/// \ingroup graphics
+/// \ingroup mpgraphics
 /// \class  AliMpDEVisu
 /// \brief GUI for drawing detection element segmentation
 ///
@@ -32,6 +32,7 @@ class AliMpSlat;
 class AliMpSector;
 class AliMpVSegmentation;
 class AliMpDDLStore;
+class AliMpManuStore;
 class TGTextEntry;
 class AliMpMotifPosition;
 
@@ -43,6 +44,7 @@ public:
     virtual ~AliMpDEVisu();
 
 
+    void   UpdateComboCH();
     void   UpdateComboDE();
     Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
     void   DrawDE(Bool_t info = kTRUE);
@@ -52,7 +54,7 @@ public:
     void   DrawSlat(Option_t* option, Bool_t popup = kFALSE);
 
     void   ResetManu();
-    void   UpdateNameView();
+    void   UpdateNameView(Bool_t firstTime = kFALSE);
     void   PopUpManuMotif(AliMpSlat* slat);
     void   PopUpManuMotif(AliMpSector* sector);
     void   PopUpZoom(Int_t ix0, Int_t iy0, Int_t ix1, Int_t iy1);
@@ -73,6 +75,10 @@ private:
                            const char* option);
     
 private:
+    /// Not implemented
+    AliMpDEVisu(const AliMpDEVisu& src);
+    /// Not implemented
+    AliMpDEVisu& operator=(const AliMpDEVisu& src);
 
     const TGWindow*    fkMainWindow; //!< main window
     TGMainFrame*       fMain;        //!< main frame
@@ -83,12 +89,14 @@ private:
     TGNumberEntry* fNumberEntry;     //!< manu id button
     TGCheckButton* fPlaneButton;     //!< check button for NB plane, defaultwise B plane
     TGCheckButton* fZoomButton;      //!< check button to activate zoom mode, default wise disable
-    TGTextView*    fNameDEView;      //!< name of the DE
+    TGComboBox*    fNameDECombo;     //!< name of the DE
     TGTextView*    fLogMessage;      //!< log message
     TGTextEntry*   fLogFile;         //!< text entry for log file name
     TObjArray      fTrashList;       //!< list of transient windows to delete
 
     TArrayI        fDEComboIdx;      //!< array for index vs DE id
+    TString        fNameDEComboIdx[156];  //!< array for index vs DE names
+    TArrayI        fDEOccurrence;     //!< occurrence of DE
 
     AliMp::PlaneType fCurrentPlane;   //!< current plane type
     Int_t            fCurrentDetElem; //!< current DE
@@ -96,15 +104,13 @@ private:
 
     const AliMpVSegmentation* fSegmentation; //!< segmentation instance
     AliMpDDLStore*            fDDLStore;     //!< DDL Store
+    AliMpManuStore*           fManuStore;    //!< Manu Store
 
     Bool_t           fZoomMode;        //!< flag for zoom mode on canvas instead of click mode
 
     enum {kChamberCombo, kDECombo, kPlaneType, kDEName, kManuEntries, kLogMessage, kZoomMode};
 
-    AliMpDEVisu(const AliMpDEVisu& src);
-    AliMpDEVisu& operator=(const AliMpDEVisu& src);
-
-    ClassDef(AliMpDEVisu,1)
+    ClassDef(AliMpDEVisu,1) //GUI for drawing detection element segmentation
 };
 #endif