1 #ifndef ALIMUONTRIGGERIO_H
2 #define ALIMUONTRIGGERIO_H
46 const char* regionalFile,
47 const char* globalFile,
52 Bool_t
ReadTrigScalers(
const char* scfile, TClonesArray& scalers)
const;
54 Bool_t
WriteTrigScalers(
const TClonesArray& scalers,
const char* scfile)
const;
59 const char* lutFileToWrite);
62 const char* regionalFile,
63 const char* globalFile,
87 Int_t
LocalBoardId(Int_t ddlId, Int_t crateId, Int_t localId)
const;
92 Bool_t
DeCompAddress(UChar_t &ypos, UChar_t &ytri, UChar_t &xdev, UChar_t &xpos,
93 UShort_t address)
const;
96 Int_t icirc, UChar_t istripX, UChar_t idev,
97 Int_t lutLpt[16][2], Int_t lutHpt[16][2]) ;
Bool_t ReadLUT(const char *lutFileToRead, AliMUONTriggerLut &lut)
The class defines the configuration of global crate.
AliMpRegionalTrigger fRegionalTrigger
! Regional trigger
The class defines the properties of trigger crate.
void ReadLocalLUT(AliMUONTriggerLut &lut, Int_t localBoardId, FILE *flut)
Int_t ReadRegionalConfig(const char *regionalFile, AliMUONRegionalTriggerConfig *regionalConfig)
Bool_t WriteLUT(const AliMUONTriggerLut &lut, const char *lutFileToWrite)
Bool_t WriteRegionalConfig(const char *regionalFile, AliMUONRegionalTriggerConfig *regionalConfig) const
Class that manages the properties of the local board.
Bool_t WriteTrigScalers(const TClonesArray &scalers, const char *scfile) const
void FillLut(AliMUONTriggerLut &lut, Int_t icirc, UChar_t istripX, UChar_t idev, Int_t lutLpt[16][2], Int_t lutHpt[16][2])
The class defined electronics properties of DDL.
Bool_t ReadTrigScalers(const char *scfile, TClonesArray &scalers) const
Handles read/write of masks and LUT to/from online files.
Int_t ReadGlobalConfig(const char *globalFile, AliMUONGlobalCrateConfig *globalConfig) const
Int_t NofLocalBoards() const
Return number of local boards.
Int_t GetNofLocalBoards() const
Bool_t WriteLocalMasks(const char *localFile, const AliMUONVStore &localMasks) const
Int_t ReadLocalMasks(const char *localFile, AliMUONVStore &localMasks) const
The class defines the properties of regional trigger crate.
Int_t LocalBoardId(Int_t index) const
AliMUONRegionalTriggerConfig * regionalConfig
virtual ~AliMUONTriggerIO()
static const UInt_t fgkLocalLutSize
length of the lut for one local board
Bool_t WriteConfig(const char *localFile, const char *regionalFile, const char *globalFile, const AliMUONVStore *localMasks, AliMUONRegionalTriggerConfig *regionalConfig, AliMUONGlobalCrateConfig *globalConfig) const
Base class for MUON data stores.
void WriteLocalLUT(const AliMUONTriggerLut &lut, Int_t localBoardId, FILE *flut)
MUON trigger look up table class.
Bool_t ReadConfig(const char *localFile, const char *regionalFile, const char *globalFile, AliMUONVStore *localMasks, AliMUONRegionalTriggerConfig *regionalConfig, AliMUONGlobalCrateConfig *globalConfig)
The class defines the properties of regional trigger crate.
Helper class making Root persistent TExMap.
Bool_t WriteGlobalConfig(const char *globalFile, AliMUONGlobalCrateConfig *globalConfig) const
AliMUONGlobalCrateConfig * globalConfig
Bool_t DeCompAddress(UChar_t &ypos, UChar_t &ytri, UChar_t &xdev, UChar_t &xpos, UShort_t address) const