#include <L1CaloBsDecoderUtil.h>
Utility methods for bytestream decoder classes for runs 1, 2 and 3. 
Definition at line 15 of file L1CaloBsDecoderUtil.h.
◆ L1CaloBsDecoderUtil()
  
  | 
        
          | L1CaloBsDecoderUtil::L1CaloBsDecoderUtil | ( |  | ) |  |  | private | 
 
 
◆ decodeRodInfo()
Definition at line 22 of file L1CaloBsDecoderUtil.cxx.
   26    int sourceId  = 
rod->rod_source_id() & 0xffffff;
 
   28    int bcNumber  = 
rod->rod_bc_id();
 
   30    int detEventType = 
rod->rod_detev_type();
 
   37    rdo.setLvl1Id( 
rod->rod_lvl1_id() );
 
   38    rdo.setSize( 
rod->rod_ndata() );
 
   44    rdo.setStatus1( 
stat );
 
   46    rdo.setStatus2( 
stat );
 
   49    bool hasModuleStatus = 
true;
 
   50    if ( (sourceId>>16) > 0x74 )
 
   51       hasModuleStatus = 
false;
 
   52    if ( (sourceId>>16) == 0x73 )
 
   53       hasModuleStatus = 
false;
 
   55    if ( hasModuleStatus )
 
   58       rod->rod_data( it_data );
 
   62          if ( ((*it_data)>>28) == 0
xd )
 
   64             int idat = (*it_data)&0xfff;
 
   66             int modStat = rdo.getModuleStatus( 
module );
 
   67             rdo.setModuleStatus( 
module, modStat | (idat&0xff) );
 
   69          if ( ((*it_data)>>28) == 0xf )
 
   71             int idat = (*it_data)&0x1ff;
 
   73             int modStat = rdo.getModuleStatus( 
module );
 
   74             rdo.setModuleStatus( 
module, modStat | (idat&0xff) );
 
 
 
 
◆ findRdo() [1/2]
template<typename Tar , typename Dat > 
  
  | 
        
          | Tar & L1CaloBsDecoderUtil::findRdo | ( | const Tar & | target, |  
          |  |  | Dat & | data |  
          |  | ) |  |  |  | static | 
 
 
◆ findRdo() [2/2]
template<typename Tar , typename Dat , typename Iter > 
  
  | 
        
          | Tar & L1CaloBsDecoderUtil::findRdo | ( | const Tar & | target, |  
          |  |  | Dat & | data, |  
          |  |  | Iter | begin, |  
          |  |  | Iter | end |  
          |  | ) |  |  |  | static | 
 
 
The documentation for this class was generated from the following files: