ROOT logo
AliRoot » MUON » AliMUONTriggerGUI

class AliMUONTriggerGUI: public TObject

 \class AliMUONTriggerGUI
 Graphical User Interface utility class for the MUON trigger detector
 It creates, after initialisation with a data file, a sensitive map
 of the trigger boards
 \author Bogdan Vulpescu, LPC Clermont-Ferrand

Function Members (Methods)

public:
AliMUONTriggerGUI(Int_t runNumber = 0)
virtual~AliMUONTriggerGUI()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidClearDigitStore()
voidClearTriggerStore()
virtual TObject*TObject::Clone(const char* newname = "") const
voidCloseCircuit() const
voidCloseControl() const
voidCloseError() const
voidCloseFETRegOff() const
voidCloseFETRegOn() const
voidCloseRunInput() const
voidCloseWindow()
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
voidCreateDigitStore()
voidCreateTriggerStore()
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
voidDoCircuitCancel()
voidDoCircuitOpen()
voidDoControlClose()
voidDoErrorGUI(const Char_t* wt)
voidDoErrorOK()
voidDoFETRegOffCancel()
voidDoFETRegOffRun()
voidDoFETRegOnCancel()
voidDoFETRegOnRun()
voidDoFETRegRun(Int_t onoff)
voidDoNextEvent()
voidDoPreviousEvent()
voidDoRunCancel()
voidDoRunGalApply()
voidDoRunRawApply()
voidDoSkipToEvent()
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
voidFET(Int_t onoff)
voidFETboard(Int_t ib, Int_t amp)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
voidHandleMenu(Int_t id)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidOpenBoard(Int_t id)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidPrintDigitStore() const
voidPrintTriggerStore() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
voidWriteTriggerRawData()
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
AliMUONTriggerGUI(const AliMUONTriggerGUI& board)
TObjArray*Boards()
AliMUONTriggerGUIboard*GetBoard(Int_t id) const
virtual voidInit()
virtual voidInitBoards()
AliMUONTriggerGUI&operator=(const AliMUONTriggerGUI& board)
voidSetStripBoxes(AliMUONTriggerGUIboard* board)

Data Members

public:
enum { kNBoards
kNMT
};
enum EMenuIdentifiers { kMFILEEXIT
kMFILERUN
kMFILECNTRL
kMMAPDIGITS
kMRESETDIGITS
kMCIRCUITOPEN
kMFETON
kMFETOFF
kMFETREGON
kMFETREGOFF
kMDSTORE
kMTSTORE
kMDSTORECL
kMTSTORECL
kMDSTOREP
kMTSTOREP
kMTRAWDATA
};
enum { kGood
kWithProblems
kNotWorking
kUnknown
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
TObjArray*fBoards/< The array of trigger boards
Bool_tfBoardsInit/< Control the InitBoards only once
AliCDBManager*fCDBManager/< Calibration DB manager
AliMUONCalibrationData*fCalibrationData/< Calibration data for MUON
Int_tfChamber/< Current MT chamber
TGTransientFrame*fCircuit/< Circuit window
TGTransientFrame*fControl/< Run control window
Bool_tfControlOn/< If the control frame is open
AliMUONTriggerCrateStore*fCrateManager/< trigger boards manager
Int_tfCurrentRawEvent/< Current event for raw data input
AliMUONTriggerGUIdimap*fDiMap/< Digits map
AliMUONDigitStoreV2R*fDigitStore/< GUI digit store (DSET)
TGTransientFrame*fError/< Error window
TString*fEvString/< Event number string
Int_tfEvent/< Current event number
Int_tfEventsPerRun/< Number of events per file (run)
TGTransientFrame*fFETRegOff/< FET OFF for a regional card
TGTransientFrame*fFETRegOn/< FET ON for a regional card
TString*fFileName/< Full galice file name
TGImageMap*fImageMap/< The image map of the main frame
AliLoader*fLoader/< The MUON loader
AliMUONMCDataInterface*fMCDataInterface/< MC data interface
TGMainFrame*fMain/< The main frame
TString*fPath/< Path string to galice
Bool_tfRUNRAW/< True if run with raw data (root)
AliMUONDigitStoreV1*fRawDigitStore/< Digit store from raw data
AliRawReader*fRawReader/< Reader for raw data input
AliMUONTriggerStoreV1*fRawTriggerStore/< Trigger store from raw data
TGTransientFrame*fRunInput/< Run input window
AliRunLoader*fRunLoader/< The run loader
TGTextEntry*fSkipToEventTxt/< Control field shows current event number
Bool_tfTStoreOn/< True if DSET trigger store has data
AliMUONTriggerElectronics*fTriggerProcessor/< The GUI trigger processor
AliMUONTriggerStoreV1*fTriggerStore/< Trigger store with GUI digit store
TGTextBuffer*fTxtBuffer1/< Path to the data (galice.root)
TGTextBuffer*fTxtBuffer2/< Current event number
TGTextBuffer*fTxtCircuit/< Circuit to open
TGTextBuffer*fTxtFETRegOff/< Regional crate to FET OFF
TGTextBuffer*fTxtFETRegOn/< Regional crate to FET ON

Class Charts

Inheritance Chart:
TObject
AliMUONTriggerGUI

Function documentation

AliMUONTriggerGUI(Int_t runNumber = 0)
 main GUI frame of the trigger monitor
void HandleMenu(Int_t id)
 handles entry numbers in the available menus (EMenuIdentifiers)
void CloseRunInput() const
 close the run input frame
void CloseError() const
 close the error frame
void CloseControl() const
 close the event control frame
void CloseCircuit() const
 close the circuit frame
void CloseFETRegOn() const
 close the FET regional on frame
void CloseFETRegOff() const
 close the FET regional off frame
void CloseWindow()
 close the main frame and exit aplication
void DoRunGalApply()
 apply changes in the run control frame for galice input
void DoRunRawApply()
 apply changes in the run control frame for raw date input
void DoRunCancel()
 cancel the changes in the run control frame
void DoErrorGUI(const Char_t* wt)
 show an error message in a new frame
void DoNextEvent()
 load next event from the file
void DoPreviousEvent()
 load previous event from the input file
void DoSkipToEvent()
 skip to event -input- from the input file
void DoErrorOK()
 close the error frame
void DoControlClose()
 close the event control frame
void DoCircuitCancel()
 close the circuit frame
void DoFETRegOnCancel()
 close the FET regional on window
void DoFETRegOffCancel()
 close the FET regional off window
void DoFETRegRun(Int_t onoff)
 FET ON/OFF for the regional crate
void DoFETRegOnRun()
 FET ON for the regional crate
void DoFETRegOffRun()
 FET ON for the regional crate
void DoCircuitOpen()
 open a circuit
AliMUONTriggerGUIboard* GetBoard(Int_t id) const
 return board with "id"
void OpenBoard(Int_t id)
 open board with "id" in a new frame
void Init()
 initialize the main GUI frame
void InitBoards()
 create board objects and define the sensitive regions in the image map
void SetStripBoxes(AliMUONTriggerGUIboard* board)
 set coordinates of strip boxes
void CreateDigitStore()
 create memory resident digits store with set strips
void PrintDigitStore() const
 Print the digits created in the GUI
void CreateTriggerStore()
 Process the DSET digit store and fill the trigger store
void PrintTriggerStore() const
 Print the trigger output for DSET digits store
void WriteTriggerRawData()
 Write raw data (DATE and ROOT) for the trigger store from
 the DSET digit store
void FETboard(Int_t ib, Int_t amp)
 Front End test set all strips for board with index "ib"
 AliMUONTriggerGUIbdmap::DoDigits()
void FET(Int_t onoff)
 Front End test set all strips for all boards
 AliMUONTriggerGUIbdmap::DoDigits()
void ClearDigitStore()
 Clear the DSET digit store
void ClearTriggerStore()
 Clear the trigger store from the DSET digit store
AliMUONTriggerGUI(Int_t runNumber = 0)
virtual ~AliMUONTriggerGUI()
 main gui destructor
AliMUONTriggerGUI& operator=(const AliMUONTriggerGUI& board)
TObjArray * Boards()
 Access the array of trigger boards