L1Trigger/CSCTriggerPrimitives/src/CSCAnodeLCTProcessor.cc
void CSCAnodeLCTProcessor::dumpDigis(const std::vector<int> wire[CSCConstants::NUM_LAYERS][CSCConstants::MAX_NUM_WIRES]) const {
  LogDebug("CSCAnodeLCTProcessor")
    << CSCDetId::chamberName(theEndcap, theStation, theRing, theChamber)
    << " nWiregroups " << numWireGroups;

  std::ostringstream strstrm;
  for (int i_wire = 0; i_wire < numWireGroups; i_wire++) {
    if (i_wire%10 == 0) {
      if (i_wire < 100) strstrm << i_wire/10;
      else              strstrm << (i_wire-100)/10;
    }
    else                strstrm << " ";
  }
  strstrm << "\n";
  for (int i_wire = 0; i_wire < numWireGroups; i_wire++) {
    strstrm << i_wire%10;
  }
  for (int i_layer = 0; i_layer < CSCConstants::NUM_LAYERS; i_layer++) {
    strstrm << "\n";
    for (int i_wire = 0; i_wire < numWireGroups; i_wire++) {
      if (!wire[i_layer][i_wire].empty()) {
        std::vector<int> bx_times = wire[i_layer][i_wire];
        strstrm << std::hex << bx_times[0] << std::dec;
      }
      else {
        strstrm << ".";
      }
    }
  }
  LogTrace("CSCAnodeLCTProcessor") << strstrm.str();
}
// Dump of digis on wire groups.
Dump of digis on wire groups.
Dump of digis on wire groups .
void CSCAnodeLCTProcessor::dumpDigis(const std::vector<int> wire[CSCConstants::NUM_LAYERS][CSCConstants::MAX_NUM_WIRES]) const {
  LogDebug("CSCAnodeLCTProcessor")
    << CSCDetId::chamberName(theEndcap, theStation, theRing, theChamber)
    << " nWiregroups " << numWireGroups;
  std::ostringstream strstrm;
  for (int i_wire = 0; i_wire < numWireGroups; i_wire++) {
    if (i_wire%10 == 0) {
      if (i_wire < 100) strstrm << i_wire/10;
      else              strstrm << (i_wire-100)/10;
    }
    else                strstrm << " ";
  }
  strstrm << "\n";
  for (int i_wire = 0; i_wire < numWireGroups; i_wire++) {
    strstrm << i_wire%10;
  }
  for (int i_layer = 0; i_layer < CSCConstants::NUM_LAYERS; i_layer++) {
    strstrm << "\n";
    for (int i_wire = 0; i_wire < numWireGroups; i_wire++) {
      if (!wire[i_layer][i_wire].empty()) {
        std::vector<int> bx_times = wire[i_layer][i_wire];
        strstrm << std::hex << bx_times[0] << std::dec;
      }
      else {
        strstrm << ".";
      }
    }
  }
  LogTrace("CSCAnodeLCTProcessor") << strstrm.str();
}
void CSCAnodeLCTProcessor :: dumpDigis ( const std :: vector < int > wire [ CSCConstants :: NUM_LAYERS ] [ CSCConstants :: MAX_NUM_WIRES ] ) const { LogDebug ( " " ) << CSCDetId :: chamberName ( theEndcap , theStation , theRing , theChamber ) << " " << numWireGroups ; std :: ostringstream strstrm ; for ( int i_wire = 0 ; i_wire < numWireGroups ; i_wire ++ ) { if ( i_wire % 10 == 0 ) { if ( i_wire < 100 ) strstrm << i_wire / 10 ; else strstrm << ( i_wire - 100 ) / 10 ; } else strstrm << " " ; } strstrm << " \n " ; for ( int i_wire = 0 ; i_wire < numWireGroups ; i_wire ++ ) { strstrm << i_wire % 10 ; } for ( int i_layer = 0 ; i_layer < CSCConstants :: NUM_LAYERS ; i_layer ++ ) { strstrm << " \n " ; for ( int i_wire = 0 ; i_wire < numWireGroups ; i_wire ++ ) { if ( ! wire [ i_layer ] [ i_wire ] . empty ( ) ) { std :: vector < int > bx_times = wire [ i_layer ] [ i_wire ] ; strstrm << std :: hex << bx_times [ 0 ] << std :: dec ; } else { strstrm << " " ; } } } LogTrace ( " " ) << strstrm . str ( ) ; }
Dump of digis on wire groups.
Dump of digis on wire groups .