12 #ifndef ALI_MUON_GLOBAL_CRATE_CONFIG_H
13 #define ALI_MUON_GLOBAL_CRATE_CONFIG_H
25 Int_t
ReadData(
const TString& fileName =
"");
void SetEnableJtag(UChar_t en)
Set Jtag enable word.
void SetJtagVmeAddr(ULong_t addr)
Set Jtag board VME address.
UChar_t GetFirstDarcDisable() const
Get disable word for First Darc board.
void SetFirstDarcDisable(UChar_t en)
Set disable word for First Darc board.
void SetFirstDarcType(Int_t type)
Get type for First Darc board.
TString GetJtagCrateName(Int_t jtagLine, Int_t index) const
Get Jtag Crate names.
TString GetSecondDarcCrateName(Int_t index) const
Get Second Darc Crate names.
The class defines the configuration of global crate.
static const Char_t * fgkFetName
FET Board name.
UInt_t fJtagRdDelay
Read delay for JTag.
ULong_t fSecondDarcVmeAddr
Second Darc Board VME Address.
ULong_t GetSecondDarcVmeAddr() const
Get Second Darc board VME address.
void SetSecondDarcGlobalL0(UInt_t time)
set global L0 delay for Second Darc board
UInt_t GetJtagClockDiv() const
Get Jtag board Clock Divider.
UInt_t GetGlobalMask(Int_t index) const
Get mask for the global input.
void SetEnableFirstDarc(UChar_t en)
Set First Darc enable word.
Int_t GetSecondDarcType() const
Get type for Second Darc board.
UChar_t GetSecondDarcDisable() const
Get disable word for Second Darc board.
UInt_t GetJtagRxPhase() const
Get Jtag board Rx Phase.
const Char_t * GetFetName() const
Get Global Name identifier.
void SetFirstDarcVmeAddr(ULong_t addr)
Get First Darc board VME address.
ULong_t GetJtagVmeAddr() const
Get Jtag board VME address.
void SetJtagClockDiv(UInt_t clk)
Set Jtag board Clock Divider.
void SetSecondDarcConfig(UInt_t conf)
set configuration for Second Darc board
static const Int_t fgkFetNofRegisters
Number of registers for Fet.
UInt_t fSecondDarcGlobalL0
Global L0 delay for this board.
UChar_t fFirstDarcDisable
disable the readout of the 8 crates connected to this board
Int_t GetJtagNofLines() const
Get number of JTag lines.
UChar_t fEnableSecondDarc
Enable mask for Second Darc lines.
void SetSecondDarcType(Int_t type)
Set type for Second Darc board.
UInt_t GetGlobalCrateEnable() const
Get global crate enbale.
TString fSecondDarcCrateName[8]
Crate name for the Second Darc lines.
void SetFetRegister(Int_t index, UInt_t reg)
Set register for FET.
Bool_t GetFirstDarcDisable(Int_t iCrate) const
Get disable per regional crate for First Darc board.
virtual ~AliMUONGlobalCrateConfig()
Int_t GetFirstDarcType() const
Get type for First Darc board.
ULong_t fFirstDarcVmeAddr
First Darc Board VME Address.
UInt_t GetSecondDarcConfig() const
Get configuration for Second Darc board.
void SetFirstDarcL0Delay(UInt_t delay)
Set L0 Delay for First Darc board.
UInt_t GetJtagRdDelay() const
Get Jtag board Read out Delay.
void SetSecondDarcL1TimeOut(UInt_t time)
Set L1 Time Out for Second Darc board.
Bool_t GetSecondDarcDisable(Int_t iCrate) const
Get disable per regional crate for Second Darc board.
void SetSecondDarcL0Delay(UInt_t delay)
Set L0 Delay for Second Darc board.
ULong_t GetGlobalVmeAddr() const
Get Global board VME address.
UInt_t fFirstDarcL1TimeOut
L1 time out for this board.
static const Char_t * fgkFirstDarcName
First DARC board name.
Int_t GetDarcNofLines() const
Get number of Darc Crate lines.
ULong_t fJtagVmeAddr
JTag VME address.
Int_t GetFetNofRegisters() const
Get number of registers for FET.
void SetJtagRdDelay(UInt_t rd)
Set Jtag board Read out Delay.
void SetFirstDarcCrateName(Int_t index, TString name)
Set First Darc Crate names.
UInt_t fJtagClockDiv
Clock Divider number for JTag.
TString fFirstDarcCrateName[8]
Crate name for the First Darc lines.
static const Char_t * fgkSecondDarcName
Second DARC board name.
static const Char_t * fgkGlobalName
Global Board name.
UInt_t fFirstDarcConfig
Trigger configuration this board.
void SetFirstDarcGlobalL0(UInt_t time)
set global L0 delay for First Darc board
UChar_t GetEnableFirstDarc() const
Get First Darc enable word.
AliMUONGlobalCrateConfig()
UInt_t fJtagRxPhase
Rx phase number for JTag.
UInt_t GetSecondDarcL1TimeOut() const
Get L1 Time Out for Second Darc board.
ULong_t fFetVmeAddr
Fet Board VME Address.
UInt_t GetFirstDarcL1TimeOut() const
Get L1 Time Out for First Darc board.
UInt_t fGlobalRegisters[13]
Global registers.
void SetFirstDarcL1TimeOut(UInt_t time)
Set L1 Time Out for First Darc board.
void SetGlobalVmeAddr(ULong_t addr)
Set Global board VME address.
UInt_t GetFirstDarcL0Delay() const
Get L0 Delay for First Darc board.
Bool_t GetMasksOn() const
Indicates if global masks are active on global inputs.
ULong_t fGlobalVmeAddr
Global Board VME Address.
Int_t fFirstDarcType
Type of the first Darc Board.
void SetFetVmeAddr(ULong_t addr)
Set FET board VME address.
const Char_t * GetSecondDarcName() const
Get Second Darc Name identifier.
static const Int_t fgkJtagNofLines
Number of lines for Jtag.
ULong_t GetFirstDarcVmeAddr() const
Get First Darc board VME address.
UInt_t fFirstDarcL0Delay
L0 delay for this board.
static const Int_t fgkDarcNofLines
Number of lines for Darc Crate.
void SetFirstDarcConfig(UInt_t conf)
set configuration for First Darc board
void SetSecondDarcDisable(UChar_t en)
Set disable word for Second Darc board.
UInt_t fSecondDarcL0Delay
L0 delay for this board.
void SetSecondDarcCrateName(Int_t index, TString name)
Set Second Darc Crate names.
UInt_t GetFirstDarcConfig() const
Get configuration for First Darc board.
static const Int_t fgkGlobalNofRegisters
Number of registers for Global Board.
const Char_t * GetFirstDarcName() const
Get First Darc Name identifier.
void SetJtagCrateName(Int_t index, TString name)
Set Jtag Crate names.
UInt_t fFetRegisters[7]
Fet registers.
UInt_t fGlobalCrateEnable
Global Crate Enable.
UInt_t fFirstDarcGlobalL0
L0 global l0 delay this board.
const Char_t * GetJtagName() const
Get Jtag Name identifier.
void SetEnableSecondDarc(UChar_t en)
Set Second Darc enable word.
UChar_t fSecondDarcDisable
disable the readout of the 8 crates connected to this board
UChar_t GetEnableJtag() const
Get Jtag enable word.
UInt_t GetSecondDarcL0Delay() const
Get L0 Delay for Second Darc board.
UInt_t fSecondDarcL1TimeOut
L1 time out for this board.
Int_t GetGlobalNofRegisters() const
Get number of registers for Global.
TString GetFirstDarcCrateName(Int_t index) const
Get First Darc Crate names.
const Char_t * GetGlobalName() const
Get Global Name identifier.
UInt_t * GetFetRegister()
Set register word for FET.
UChar_t fEnableFirstDarc
Enable mask for First Darc lines.
TString fJtagCrateName[16]
Crate name for the Jtag lines.
void SetJtagRxPhase(UInt_t rx)
Set Jtag board Rx Phase.
void SetGlobalCrateEnable(UInt_t enable)
set global crate enbale
AliMUONGlobalCrateConfig & operator=(const AliMUONGlobalCrateConfig &rhs)
Not implemented.
static const Char_t * fgkJtagName
JTag Board name.
void SetSecondDarcVmeAddr(ULong_t addr)
Set Second Darc board VME address.
UChar_t GetEnableSecondDarc() const
Get Second Darc enable word.
UInt_t fSecondDarcConfig
Trigger configuration this board.
Int_t ReadData(const TString &fileName="")
void SetGlobalMask(Int_t index, UInt_t mask)
Set mask for the global input.
UInt_t GetFirstDarcGlobalL0() const
Get global L0 delay for First Darc board.
UChar_t fEnableJtag
Enable mask for JTag lines.
UInt_t * GetGlobalRegister()
Get register word for Global.
void SetGlobalRegister(Int_t index, UInt_t reg)
Set register for Global.
UInt_t GetSecondDarcGlobalL0() const
Get global L0 delay for Second Darc board.
ULong_t GetFetVmeAddr() const
Get FET board VME address.
Int_t fSecondDarcType
Type of the first Darc Board.