#include <LUCID_RodEncoder.h>
Definition at line 19 of file LUCID_RodEncoder.h.
 
◆ VDIGIT
◆ LUCID_RodEncoder()
      
        
          | LUCID_RodEncoder::LUCID_RodEncoder | ( |  | ) |  | 
      
 
 
◆ ~LUCID_RodEncoder()
      
        
          | LUCID_RodEncoder::~LUCID_RodEncoder | ( |  | ) |  | 
      
 
 
◆ addDigit()
◆ encode()
      
        
          | void LUCID_RodEncoder::encode | ( | std::vector< uint32_t > & | data_block, | 
        
          |  |  | LUCID_RodEncoder::Cache & | cache, | 
        
          |  |  | MsgStream & | log | 
        
          |  | ) |  | const | 
      
 
Definition at line 12 of file LUCID_RodEncoder.cxx.
   30   for (; digit_it != digit_it_end; ++digit_it) {
 
   32     unsigned short tubeID = (*digit_it)->getTubeID();
 
   33     bool isHit = (*digit_it)->isHit();
 
   36       data_word0 |= (isHit << (tubeID - 0));
 
   38     } 
else if (tubeID < 20) {
 
   39       data_word2 |= (isHit << (tubeID - 16));
 
   41     } 
else if (tubeID < 36) {
 
   42       data_word1 |= (isHit << (tubeID - 20));
 
   44     } 
else if (tubeID < 40) {
 
   45       data_word3 |= (isHit << (tubeID - 36));
 
   48       log << MSG::ERROR << 
" Unknown tubeID: " << tubeID << 
endmsg;
 
   57   data_block.push_back(data_word0);
 
   58   data_block.push_back(data_word1);
 
   59   data_block.push_back(data_word2);
 
   60   data_block.push_back(data_word3);
 
 
 
 
◆ getDigits()
The documentation for this class was generated from the following files: