![]() |
Project
|
Handler providing the correct mapping for the given DDL. More...
#include <Mapper.h>
Classes | |
| class | DDLInvalid |
| Error handling for invalid DDL IDs (not in range for EMCAL) More... | |
Public Member Functions | |
| MappingHandler () | |
| Constructor. | |
| ~MappingHandler ()=default | |
| Destructor. | |
| Mapper & | getMappingForDDL (unsigned int ddl) |
| Get Mapping for given DDL. | |
| int | getFEEForChannelInDDL (unsigned int dll, unsigned int channelFEC, unsigned int branch) |
| Get FEC index for channel based on DDL and information in the channel header. | |
Handler providing the correct mapping for the given DDL.
EMCAL channel mapping consists of 4 mappings, organized in
| MappingHandler::MappingHandler | ( | ) |
Constructor.
Definition at line 101 of file Mapper.cxx.
|
default |
Destructor.
| int MappingHandler::getFEEForChannelInDDL | ( | unsigned int | dll, |
| unsigned int | channelFEC, | ||
| unsigned int | branch | ||
| ) |
Get FEC index for channel based on DDL and information in the channel header.
| ddl | Absolute DDL index |
| channelFEC | FEC index in channel header |
| branch | Branch index (0 or 1) in DDL |
Definition at line 128 of file Mapper.cxx.
Get Mapping for given DDL.
| ddl | ID of the DDL for which to get the mapping |
| DDLInvalid | if DDL is invalid for EMCAL |
Definition at line 112 of file Mapper.cxx.