Skip to content
Snippets Groups Projects

Add SciFi hardware ID conversion from FTChannelID

Merged Lukas Witola requested to merge luwitola_ftchannelid into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -125,7 +125,7 @@ namespace LHCb::Detector {
shift<Mask::module>( module ) | shift<Mask::channelInModule>( channelInModule )} {}
// Explicit constructor from the hardware IDs
constexpr FTChannelID( StationID station, LayerID layer, QuartID quarter, ModuleID module, unsigned int halfRob,
constexpr FTChannelID( StationID station, LayerID layer, QuarterID quarter, ModuleID module, unsigned int halfRob,
unsigned int dataLink, unsigned int channel )
: FTChannelID{shift<Mask::station>( station ) | shift<Mask::layer>( layer ) | shift<Mask::quarter>( quarter ) |
shift<Mask::module>( module ) | shift<Mask::mat>( 2 * half + ( dataLink / 4 ) ) |
Loading