Namespaces | |
namespace | dqm |
namespace | evt |
namespace | evtn |
namespace | fedinterface |
namespace | fuep |
namespace | funcs |
namespace | internal |
namespace | utils |
Classes | |
class | BU |
class | BUEvent |
class | BUProxy |
class | CPUStat |
class | Css |
class | CurlPoster |
class | EPStateMachine |
class | EvffedFillerEP |
class | EvffedFillerRB |
class | EvFFEDSelector |
class | EvFRecordInserter |
class | EvFRecordUnpacker |
class | Exception |
class | ExceptionGenerator |
class | FileDescriptorHandler |
struct | filter |
class | FsmFailedEvent |
class | FUEventProcessor |
class | FUResource |
class | FUResourceBroker |
class | FUResourceTable |
class | FUShmBuffer |
class | FUShmClient |
class | FUShmDqmCell |
class | FUShmRawCell |
class | FUShmRecoCell |
class | FUShmServer |
class | FWEPWrapper |
class | iDie |
struct | lsTriplet |
class | MasterQueue |
class | MicroStateService |
struct | ModuleInPathsSummaryStatic |
class | ModuleWeb |
class | ModuleWebRegistry |
class | MsgBuf |
class | ParameterSetRetriever |
struct | PathSummaryStatic |
struct | prg |
class | RateStat |
class | RunBase |
class | ServiceWeb |
class | ServiceWebRegistry |
class | ShmOutputModuleRegistry |
class | SlaveQueue |
class | SMProxy |
class | SquidNet |
class | StateMachine |
class | Stepper |
class | SubProcess |
class | TimeProfilerService |
struct | TriggerReportStatic |
class | Vulture |
struct | vulture_start_message |
class | WebGUI |
Typedefs | |
typedef std::map< std::string, internal::fu > | fmap |
typedef std::vector< FUResource * > | FUResourceVec_t |
typedef fmap::iterator | ifmap |
typedef toolbox::mem::Reference | MemRef_t |
typedef unsigned char | UChar_t |
typedef unsigned int | UInt_t |
typedef std::vector< UInt_t > | UIntVec_t |
typedef unsigned short | UShort_t |
Functions | |
unsigned short | compute_crc (unsigned char *buffer, unsigned int bufSize) |
unsigned short | compute_crc_64bit (unsigned short crc, unsigned char *p) |
unsigned short | compute_crc_8bit (unsigned short crc, unsigned char data) |
std::string | dumpFrame (unsigned char *data, unsigned int len) |
static double | getTime () |
static size_t | write_data (void *ptr, size_t size, size_t nmemb, void *pointer) |
Variables | |
const unsigned short | crc_table [256] |
static const size_t | max_endpaths = 30 |
static const size_t | max_label = 30 |
static const size_t | max_modules = 50 |
static const size_t | max_paths = 500 |
static const int | VULTURE_START_MESSAGE_URL_SIZE = 128 |
typedef std::map<std::string,internal::fu> evf::fmap |
typedef std::vector<FUResource*> evf::FUResourceVec_t |
Definition at line 136 of file FUResource.h.
typedef fmap::iterator evf::ifmap |
typedef toolbox::mem::Reference evf::MemRef_t |
typedef unsigned char evf::UChar_t |
typedef unsigned int evf::UInt_t |
typedef std::vector<UInt_t> evf::UIntVec_t |
typedef unsigned short evf::UShort_t |
unsigned short evf::compute_crc | ( | unsigned char * | buffer, |
unsigned int | bufSize | ||
) | [inline] |
Definition at line 67 of file CRC16.h.
References compute_crc_64bit(), and i.
Referenced by CSCDigiToRaw::createFedBuffers(), ESDataFormatterV4::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), evf::FUResource::findFEDs(), CastorCtdcPacker::pack(), HcalPacker::pack(), CastorPacker::pack(), L1GTDigiToRaw::packTrailer(), L1GTEvmDigiToRaw::packTrailer(), CSCTFPacker::produce(), GctDigiToRaw::produce(), DTDigiToRawModule::produce(), evf::EvffedFillerRB::putTrailer(), and evf::BUEvent::writeFedTrailer().
{ assert(0==bufSize%8); unsigned short crc(0xffff); bufSize/=8; for (unsigned int i=0;i<bufSize;i++) crc=evf::compute_crc_64bit(crc,&buffer[i*8]); return crc; }
unsigned short evf::compute_crc_64bit | ( | unsigned short | crc, |
unsigned char * | p | ||
) | [inline] |
Definition at line 87 of file CRC16.h.
References compute_crc_8bit(), i, and query::result.
Referenced by compute_crc().
unsigned short evf::compute_crc_8bit | ( | unsigned short | crc, |
unsigned char | data | ||
) | [inline] |
Definition at line 79 of file CRC16.h.
References crc_table.
Referenced by sistrip::calculateFEDBufferCRC(), and compute_crc_64bit().
{ return (evf::crc_table[((crc >> 8) ^ data) & 0xFF] ^ (crc << 8)); }
string evf::dumpFrame | ( | unsigned char * | data, |
unsigned int | len | ||
) |
Definition at line 9 of file DebugUtils.cc.
References trackerHits::c, i, dbtoconf::out, and pos.
{ ostringstream out; char left[40]; char right[40]; // LOG4CPLUS_ERROR(adapter_->getApplicationLogger(),toolbox::toString("Byte 0 1 2 3 4 5 6 7\n")); out << "Byte: 0 1 2 3 4 5 6 7\n"; int c = 0; int pos = 0; for (unsigned int i = 0; i < (len/8); i++) { int rpos = 0; c += 7; for (pos = 0; pos < 8*3; pos += 3) { sprintf (&left[pos],"%2.2x ", ((unsigned char*)data)[c]); sprintf (&right[rpos],"%1c", ((data[c] > 32) && (data[c] < 127)) ? data[c]: '.' ); rpos += 1; c--; } c += 9; out << setw(4) << setfill('0') << c-8 << ": " << left << " || " << right << endl; } return out.str(); }
static double evf::getTime | ( | ) | [static] |
Definition at line 6 of file TimeProfilerService.cc.
References Exception.
Referenced by evf::TimeProfilerService::postModule(), and evf::TimeProfilerService::preModule().
{ struct timeval t; if(gettimeofday(&t,0)<0) throw cms::Exception("SysCallFailed","Failed call to gettimeofday"); return (double)t.tv_sec + (double(t.tv_usec) * 1E-6); }
static size_t evf::write_data | ( | void * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
void * | pointer | ||
) | [static] |
Definition at line 12 of file CurlUtils.h.
References convertSQLitetoXML_cfg::output.
Referenced by evf::CurlPoster::check(), evf::SquidNet::check(), and evf::ParameterSetRetriever::ParameterSetRetriever().
const unsigned short evf::crc_table[256] |
Definition at line 18 of file CRC16.h.
Referenced by compute_crc_8bit().
const size_t evf::max_endpaths = 30 [static] |
Definition at line 9 of file TriggerReportDef.h.
Referenced by evf::fuep::TriggerReportHelpers::packTriggerReport(), and evf::funcs::reset().
const size_t evf::max_label = 30 [static] |
Definition at line 10 of file TriggerReportDef.h.
const size_t evf::max_modules = 50 [static] |
Definition at line 11 of file TriggerReportDef.h.
const size_t evf::max_paths = 500 [static] |
Definition at line 8 of file TriggerReportDef.h.
Referenced by evf::fuep::TriggerReportHelpers::packTriggerReport(), and evf::funcs::reset().
const int evf::VULTURE_START_MESSAGE_URL_SIZE = 128 [static] |