AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerGUIdimap Class Reference

Trigger GUI utility class: digits maps of the trigger chambers. More...

#include <AliMUONTriggerGUIdimap.h>

Inheritance diagram for AliMUONTriggerGUIdimap:

Public Member Functions

 AliMUONTriggerGUIdimap (TObjArray *boards, const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h)
 
virtual ~AliMUONTriggerGUIdimap ()
 
void SetLoader (AliLoader *const loader)
 set the current muon loader More...
 
void SetMCDataInterface (AliMUONMCDataInterface *const mc)
 set the MC data interface More...
 
void SetRawDigitStore (AliMUONDigitStoreV1 *const ds)
 set the digit store from raw data More...
 
Bool_t IsOn () const
 return info if the map is open More...
 
void DoClose ()
 
void DoUpdate ()
 
void DoTab (Int_t id) const
 
void DoReset ()
 
void CloseWindow ()
 
void DrawMaps (Int_t chamber)
 
void SelectBoard (Int_t ib)
 
void DrawAllMaps ()
 

Private Types

enum  { kNBoards = 234 }
 
enum  { kGood = 0x0001, kWithProblems = 0x0002, kNotWorking = 0x0004, kUnknown = 0x0008 }
 
enum  {
  kNSide = 2, kNCol = 7, kNLine = 9, kNMT = 4,
  kNBoardType = 3
}
 

Private Member Functions

 AliMUONTriggerGUIdimap (const AliMUONTriggerGUIdimap &dimap)
 Not implemented. More...
 
AliMUONTriggerGUIdimapoperator= (const AliMUONTriggerGUIdimap &dimap)
 Not implemented. More...
 

Private Attributes

TGTransientFrame * fMain
 Main frame. More...
 
AliLoader * fLoader
 The MUON loader. More...
 
AliMUONMCDataInterfacefMCDataInterface
 MC data interface. More...
 
AliMUONDigitStoreV1fRawDigitStore
 Raw data digit store. More...
 
TRootEmbeddedCanvas * fEc [kNMT]
 Canvases for drawing the digits. More...
 
TPave * fPaveBoard [kNMT][kNBoards]
 Drawing of the board. More...
 
TObjArrayfBoards
 Array of boards. More...
 
Bool_t fIsOn
 True if the map is open. More...
 

Detailed Description

Trigger GUI utility class: digits maps of the trigger chambers.

The digit maps of the four trigger chambers, all boards

Author
Bogdan Vulpescu, LPC Clermont-Ferrand

Definition at line 25 of file AliMUONTriggerGUIdimap.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
kNBoards 

Definition at line 61 of file AliMUONTriggerGUIdimap.h.

anonymous enum
private
Enumerator
kGood 
kWithProblems 
kNotWorking 
kUnknown 

Definition at line 62 of file AliMUONTriggerGUIdimap.h.

anonymous enum
private
Enumerator
kNSide 
kNCol 
kNLine 
kNMT 
kNBoardType 

Definition at line 63 of file AliMUONTriggerGUIdimap.h.

Constructor & Destructor Documentation

AliMUONTriggerGUIdimap::AliMUONTriggerGUIdimap ( TObjArray boards,
const TGWindow *  p,
const TGWindow *  main,
UInt_t  w,
UInt_t  h 
)

frame constructor

Definition at line 57 of file AliMUONTriggerGUIdimap.cxx.

AliMUONTriggerGUIdimap::~AliMUONTriggerGUIdimap ( )
virtual

destructor

Definition at line 205 of file AliMUONTriggerGUIdimap.cxx.

AliMUONTriggerGUIdimap::AliMUONTriggerGUIdimap ( const AliMUONTriggerGUIdimap dimap)
private

Not implemented.

Member Function Documentation

void AliMUONTriggerGUIdimap::CloseWindow ( )

called when window is closed via the window manager.

Definition at line 614 of file AliMUONTriggerGUIdimap.cxx.

Referenced by DoClose().

void AliMUONTriggerGUIdimap::DoClose ( )

close the main frame

Definition at line 539 of file AliMUONTriggerGUIdimap.cxx.

void AliMUONTriggerGUIdimap::DoReset ( )

draw unselected boards

Definition at line 573 of file AliMUONTriggerGUIdimap.cxx.

void AliMUONTriggerGUIdimap::DoTab ( Int_t  id) const

some action when chamber tab is selected...

Definition at line 519 of file AliMUONTriggerGUIdimap.cxx.

void AliMUONTriggerGUIdimap::DoUpdate ( )

update maps for another run/event

Definition at line 549 of file AliMUONTriggerGUIdimap.cxx.

void AliMUONTriggerGUIdimap::DrawAllMaps ( )

draw maps

Definition at line 220 of file AliMUONTriggerGUIdimap.cxx.

Referenced by AliMUONTriggerGUI::HandleMenu().

void AliMUONTriggerGUIdimap::DrawMaps ( Int_t  chamber)

draw the digits map for chamber-

Definition at line 239 of file AliMUONTriggerGUIdimap.cxx.

Referenced by DoUpdate(), and DrawAllMaps().

Bool_t AliMUONTriggerGUIdimap::IsOn ( ) const
inline
AliMUONTriggerGUIdimap& AliMUONTriggerGUIdimap::operator= ( const AliMUONTriggerGUIdimap dimap)
private

Not implemented.

void AliMUONTriggerGUIdimap::SelectBoard ( Int_t  ib)

highlight on the map the open board

Definition at line 594 of file AliMUONTriggerGUIdimap.cxx.

Referenced by AliMUONTriggerGUI::DoCircuitOpen(), DoUpdate(), and AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIdimap::SetLoader ( AliLoader *const  loader)
inline

set the current muon loader

Definition at line 36 of file AliMUONTriggerGUIdimap.h.

Referenced by AliMUONTriggerGUI::DoRunGalApply(), and AliMUONTriggerGUI::HandleMenu().

void AliMUONTriggerGUIdimap::SetMCDataInterface ( AliMUONMCDataInterface *const  mc)
inline

set the MC data interface

Definition at line 38 of file AliMUONTriggerGUIdimap.h.

Referenced by AliMUONTriggerGUI::DoRunGalApply(), and AliMUONTriggerGUI::HandleMenu().

void AliMUONTriggerGUIdimap::SetRawDigitStore ( AliMUONDigitStoreV1 *const  ds)
inline

set the digit store from raw data

Definition at line 40 of file AliMUONTriggerGUIdimap.h.

Referenced by AliMUONTriggerGUI::DoRunRawApply(), and AliMUONTriggerGUI::HandleMenu().

Member Data Documentation

TObjArray* AliMUONTriggerGUIdimap::fBoards
private

Array of boards.

Definition at line 74 of file AliMUONTriggerGUIdimap.h.

Referenced by DoUpdate(), and DrawMaps().

TRootEmbeddedCanvas* AliMUONTriggerGUIdimap::fEc[kNMT]
private

Canvases for drawing the digits.

Definition at line 71 of file AliMUONTriggerGUIdimap.h.

Referenced by DoReset(), DrawMaps(), and SelectBoard().

Bool_t AliMUONTriggerGUIdimap::fIsOn
private

True if the map is open.

Definition at line 76 of file AliMUONTriggerGUIdimap.h.

Referenced by DoClose(), and IsOn().

AliLoader* AliMUONTriggerGUIdimap::fLoader
private

The MUON loader.

Definition at line 67 of file AliMUONTriggerGUIdimap.h.

Referenced by DrawAllMaps(), DrawMaps(), and SetLoader().

TGTransientFrame* AliMUONTriggerGUIdimap::fMain
private

Main frame.

Definition at line 65 of file AliMUONTriggerGUIdimap.h.

Referenced by CloseWindow(), and ~AliMUONTriggerGUIdimap().

AliMUONMCDataInterface* AliMUONTriggerGUIdimap::fMCDataInterface
private

MC data interface.

Definition at line 68 of file AliMUONTriggerGUIdimap.h.

Referenced by DrawAllMaps(), DrawMaps(), and SetMCDataInterface().

TPave* AliMUONTriggerGUIdimap::fPaveBoard[kNMT][kNBoards]
private

Drawing of the board.

Definition at line 73 of file AliMUONTriggerGUIdimap.h.

Referenced by DoReset(), DoUpdate(), DrawMaps(), SelectBoard(), and ~AliMUONTriggerGUIdimap().

AliMUONDigitStoreV1* AliMUONTriggerGUIdimap::fRawDigitStore
private

Raw data digit store.

Definition at line 69 of file AliMUONTriggerGUIdimap.h.

Referenced by DrawMaps(), and SetRawDigitStore().


The documentation for this class was generated from the following files: