CMS 3D CMS Logo

Classes | Namespaces | Functions
SiStripSpyUtilities.h File Reference
#include <string>
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h"

Go to the source code of this file.

Classes

struct  sistrip::SpyUtilities::Frame
 
struct  sistrip::SpyUtilities::FrameQuality
 

Namespaces

 sistrip
 sistrip classes
 
 sistrip::SpyUtilities
 

Functions

const uint8_t sistrip::SpyUtilities::extractAPVaddress (const Frame &aFrame)
 
const Frame sistrip::SpyUtilities::extractFrameInfo (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, bool aPrintDebug=false)
 
void sistrip::SpyUtilities::fedIndex (uint32_t aFedIndex, uint16_t &aFedId, uint16_t &aFedChannel)
 
void sistrip::SpyUtilities::fillFEDMajorities (const std::map< uint32_t, uint32_t > &channelValues, std::vector< uint32_t > &fedMajoritiesToFill)
 
const std::pair< uint8_t, uint8_t > sistrip::SpyUtilities::findAPVAddresses (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold, const uint16_t aFirstBits)
 
const std::pair< bool, bool > sistrip::SpyUtilities::findAPVErrorBits (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold, const uint16_t aFirstBits)
 
const uint16_t sistrip::SpyUtilities::findHeaderBits (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold)
 
std::pair< uint16_t, uint32_t > sistrip::SpyUtilities::findMajorityValue (std::vector< uint16_t > &values, const uint16_t aFedId=0)
 
const uint16_t sistrip::SpyUtilities::findTrailerBits (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold)
 
void sistrip::SpyUtilities::getMajorityHeader (const edm::DetSetVector< SiStripRawDigi > *aInputDigis, uint16_t &firstHeaderBit, bool printResult=true)
 
const bool sistrip::SpyUtilities::isValid (const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
 
std::string sistrip::SpyUtilities::print (const Frame &aFrame, std::string aErr)
 
const uint16_t sistrip::SpyUtilities::range (const Frame &aFrame)
 
const uint16_t sistrip::SpyUtilities::threshold (const Frame &aFrame)