Classes | |
struct | Frame |
struct | FrameQuality |
Functions | |
const uint8_t | extractAPVaddress (const Frame &aFrame) |
const Frame | extractFrameInfo (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, bool aPrintDebug=false) |
void | fedIndex (uint32_t aFedIndex, uint16_t &aFedId, uint16_t &aFedChannel) |
void | fillFEDMajorities (const std::map< uint32_t, uint32_t > &channelValues, std::vector< uint32_t > &fedMajoritiesToFill) |
const std::pair< uint8_t, uint8_t > | findAPVAddresses (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold, const uint16_t aFirstBits) |
const std::pair< bool, bool > | findAPVErrorBits (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold, const uint16_t aFirstBits) |
const uint16_t | findHeaderBits (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold) |
std::pair< uint16_t, uint32_t > | findMajorityValue (std::vector< uint16_t > &values, const uint16_t aFedId=0) |
const uint16_t | findTrailerBits (const edm::DetSetVector< SiStripRawDigi >::detset &channelDigis, const uint16_t threshold) |
void | getMajorityHeader (const edm::DetSetVector< SiStripRawDigi > *aInputDigis, uint16_t &firstHeaderBit, bool printResult=true) |
const bool | isValid (const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos) |
std::string | print (const Frame &aFrame, std::string aErr) |
const uint16_t | range (const Frame &aFrame) |
const uint16_t | threshold (const Frame &aFrame) |
const uint8_t sistrip::SpyUtilities::extractAPVaddress | ( | const Frame & | aFrame | ) |
Definition at line 87 of file SiStripSpyUtilities.cc.
References sistrip::SpyUtilities::Frame::apvAddress, and sistrip::SpyUtilities::Frame::apvErrorBit.
const SpyUtilities::Frame sistrip::SpyUtilities::extractFrameInfo | ( | const edm::DetSetVector< SiStripRawDigi >::detset & | channelDigis, |
bool | aPrintDebug = false |
||
) |
Definition at line 11 of file SiStripSpyUtilities.cc.
References sistrip::SpyUtilities::Frame::apvAddress, sistrip::SpyUtilities::Frame::apvErrorBit, sistrip::SpyUtilities::Frame::baseline, edm::DetSet< T >::begin(), sistrip::SpyUtilities::Frame::detId, edm::DetSet< T >::detId(), sistrip::SpyUtilities::Frame::digitalHigh, sistrip::SpyUtilities::Frame::digitalLow, edm::DetSet< T >::empty(), edm::DetSet< T >::end(), findAPVAddresses(), findAPVErrorBits(), findHeaderBits(), findTrailerBits(), sistrip::SpyUtilities::Frame::firstHeaderBit, sistrip::SpyUtilities::Frame::firstTrailerBit, edm::isDebugEnabled(), LogDebug, SiStripPI::max, SiStripPI::min, edm::DetSet< T >::size(), remoteMonitoring_LASER_era2018_cfg::threshold, and heppy_batch::val.
Referenced by SiStripSpyMonitorModule::analyze(), sistrip::SpyDigiConverter::extractPayloadDigis(), and getMajorityHeader().
void sistrip::SpyUtilities::fedIndex | ( | uint32_t | aFedIndex, |
uint16_t & | aFedId, | ||
uint16_t & | aFedChannel | ||
) |
Definition at line 300 of file SiStripSpyUtilities.cc.
References sistrip::FED_ID_MAX, sistrip::FEDCH_PER_FED, and sistrip::invalid_.
Referenced by sistrip::SpyEventMatcher::mergeMatchingData(), sistrip::SpyDigiConverter::mergeModuleChannels(), Phase2Tracker::Phase2TrackerCommissioningDigiProducer::produce(), Phase2Tracker::Phase2TrackerDigiProducer::produce(), and sistrip::FEDEmulatorModule::produce().
void sistrip::SpyUtilities::fillFEDMajorities | ( | const std::map< uint32_t, uint32_t > & | channelValues, |
std::vector< uint32_t > & | fedMajoritiesToFill | ||
) |
Definition at line 341 of file SiStripSpyUtilities.cc.
References sistrip::FED_ID_MAX, sistrip::FED_ID_MIN, sistrip::FEDCH_PER_FED, and findMajorityValue().
Referenced by sistrip::SpyEventMatcher::getCounters().
const std::pair< uint8_t, uint8_t > sistrip::SpyUtilities::findAPVAddresses | ( | const edm::DetSetVector< SiStripRawDigi >::detset & | channelDigis, |
const uint16_t | threshold, | ||
const uint16_t | aFirstBits | ||
) |
Definition at line 250 of file SiStripSpyUtilities.cc.
References edm::DetSet< T >::begin(), submitPVResolutionJobs::count, edm::DetSet< T >::end(), mps_fire::i, sistrip::SPY_SAMPLES_PER_CHANNEL, and remoteMonitoring_LASER_era2018_cfg::threshold.
Referenced by extractFrameInfo().
const std::pair< bool, bool > sistrip::SpyUtilities::findAPVErrorBits | ( | const edm::DetSetVector< SiStripRawDigi >::detset & | channelDigis, |
const uint16_t | threshold, | ||
const uint16_t | aFirstBits | ||
) |
Definition at line 216 of file SiStripSpyUtilities.cc.
References edm::DetSet< T >::begin(), submitPVResolutionJobs::count, edm::DetSet< T >::end(), if(), sistrip::SPY_SAMPLES_PER_CHANNEL, and remoteMonitoring_LASER_era2018_cfg::threshold.
Referenced by extractFrameInfo().
const uint16_t sistrip::SpyUtilities::findHeaderBits | ( | const edm::DetSetVector< SiStripRawDigi >::detset & | channelDigis, |
const uint16_t | threshold | ||
) |
Definition at line 147 of file SiStripSpyUtilities.cc.
References edm::DetSet< T >::begin(), submitPVResolutionJobs::count, edm::DetSet< T >::end(), sistrip::SPY_SAMPLES_PER_CHANNEL, and remoteMonitoring_LASER_era2018_cfg::threshold.
Referenced by extractFrameInfo().
std::pair< uint16_t, uint32_t > sistrip::SpyUtilities::findMajorityValue | ( | std::vector< uint16_t > & | values, |
const uint16_t | aFedId = 0 |
||
) |
Definition at line 311 of file SiStripSpyUtilities.cc.
References submitPVResolutionJobs::count, jetsAK4_CHS_cff::sort, and contentValuesCheck::values.
Referenced by fillFEDMajorities(), getMajorityHeader(), and sistrip::SpyDigiConverter::processFED().
const uint16_t sistrip::SpyUtilities::findTrailerBits | ( | const edm::DetSetVector< SiStripRawDigi >::detset & | channelDigis, |
const uint16_t | threshold | ||
) |
Definition at line 178 of file SiStripSpyUtilities.cc.
References edm::DetSet< T >::begin(), submitPVResolutionJobs::count, edm::DetSet< T >::end(), sistrip::SPY_SAMPLES_PER_CHANNEL, sistrip::STRIPS_PER_FEDCH, and remoteMonitoring_LASER_era2018_cfg::threshold.
Referenced by extractFrameInfo().
void sistrip::SpyUtilities::getMajorityHeader | ( | const edm::DetSetVector< SiStripRawDigi > * | aInputDigis, |
uint16_t & | firstHeaderBit, | ||
bool | printResult = true |
||
) |
Definition at line 97 of file SiStripSpyUtilities.cc.
References edm::DetSetVector< T >::begin(), edm::DetSetVector< T >::end(), extractFrameInfo(), findMajorityValue(), sistrip::SpyUtilities::Frame::firstHeaderBit, cmsCodeRulesChecker::printResult, edm::DetSetVector< T >::size(), and sistrip::STRIPS_PER_FEDCH.
Referenced by SiStripSpyMonitorModule::analyze(), and sistrip::SpyDigiConverterModule::produce().
const bool sistrip::SpyUtilities::isValid | ( | const Frame & | aFrame, |
const FrameQuality & | aQuality, | ||
const uint16_t | aExpectedPos | ||
) |
Definition at line 124 of file SiStripSpyUtilities.cc.
References sistrip::SpyUtilities::Frame::apvErrorBit, sistrip::SpyUtilities::Frame::digitalHigh, sistrip::SpyUtilities::Frame::digitalLow, sistrip::SpyUtilities::Frame::firstHeaderBit, sistrip::SpyUtilities::Frame::firstTrailerBit, sistrip::SpyUtilities::FrameQuality::maxDigiRange, sistrip::SpyUtilities::FrameQuality::maxTickHeight, sistrip::SpyUtilities::FrameQuality::maxZeroLight, sistrip::SpyUtilities::FrameQuality::minTickHeight, sistrip::SpyUtilities::FrameQuality::minZeroLight, range(), and sistrip::STRIPS_PER_FEDCH.
Referenced by CosmicTrajectoryBuilder::AddHit(), MillePedeAlignmentAlgorithm::addLasBeam(), QcdPhotonsDQM::analyze(), SiPixelTrackResidualSource::analyze(), EnergyScaleAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), HitEff::analyze(), PrimaryVertexValidation::analyze(), IsolatedTracksNxN::analyze(), CSCAnodeLCTProcessor::bestTrackSelector(), ctfseeding::HitExtractorSTRP::cleanedOfClusters(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::computeDiff(), convert_boolean(), SignedImpactParameter3D::distanceWithJetAxis(), LMFUnique::dump(), ProvenanceDumper::dumpParameterSetForID_(), TwoBodyDecayEstimator::estimate(), sistrip::SpyDigiConverter::extractPayloadDigis(), PropagateToMuon::extrapolate(), LMFDat::fetch(), GlobalRecHitsProducer::fillHCal(), NuclearInteractionFinder::fillSeeds(), edm::WrapperBase::fillView(), CSCDigiValidator::filter(), KinematicParticleVertexFitter::fit(), CSCAnodeLCTProcessor::getALCTs(), QuickTrackAssociatorByHitsImpl::getAllSimTrackIdentifiers(), CSCCathodeLCTProcessor::getCLCTs(), LCTContainer::getTimeMatched(), NuclearTrackCorrector::getTrackFromTrajectory(), ctfseeding::HitExtractorPIX::hits(), CRackTrajectoryBuilder::innerState(), edm::PtrVectorBase::isAvailable(), CSCAnodeLCTProcessor::lctSearch(), EcalSensitiveDetectorBuilder::make(), HGCSensitiveDetectorBuilder::make(), CSCGEMMotherboard::matchALCTCLCTGEM(), CSCMotherboard::matchShowers(), Trajectory::ndof(), fwlite::Run::operator bool(), fwlite::LuminosityBlock::operator bool(), fwlite::Event::operator bool(), TransientVertex::operator reco::Vertex(), TransientVertex::operator reco::VertexCompositePtrCandidate(), CachingVertex< 5 >::operator TransientVertex(), TSGFromPropagation::isInvalid::operator()(), FastTSGFromPropagation::isInvalid::operator()(), CSCALCTPreTriggerDigi::operator==(), CSCALCTPreTriggerDigi::print(), gen.LHEAnalyzer.LHEAnalyzer::process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer::process(), RecHitProcessor::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), cscdqm::EventProcessor::processCSC(), RecHitProcessor::processLook(), LowPtGsfElectronSCProducer::produce(), TrackListMerger::produce(), L1Comparator::produce(), TauSpinnerCMS::produce(), HLTRechitInRegionsProducer< T1 >::produce(), CSCDCCUnpacker::produce(), CSCMotherboard::readoutShower(), CSCAnodeLCTProcessor::readoutShower(), CSCCathodeLCTProcessor::readoutShower(), reco::Conversion::refittedPair4Momentum(), reco::Conversion::refittedPairMomentum(), CSCCathodeLCTProcessor::run(), CRackTrajectoryBuilder::run(), CSCMotherboard::selectLCTs(), DynamicTruncation::testCSCstation(), DynamicTruncation::testDTstation(), TwoBodyDecayTrajectoryFactory::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), and vertexAtState().
std::string sistrip::SpyUtilities::print | ( | const Frame & | aFrame, |
std::string | aErr | ||
) |
Definition at line 283 of file SiStripSpyUtilities.cc.
References sistrip::SpyUtilities::Frame::apvAddress, sistrip::SpyUtilities::Frame::apvErrorBit, sistrip::SpyUtilities::Frame::baseline, sistrip::SpyUtilities::Frame::detId, sistrip::SpyUtilities::Frame::digitalHigh, sistrip::SpyUtilities::Frame::digitalLow, sistrip::SpyUtilities::Frame::firstHeaderBit, and sistrip::SpyUtilities::Frame::firstTrailerBit.
const uint16_t sistrip::SpyUtilities::range | ( | const Frame & | aFrame | ) |
Definition at line 76 of file SiStripSpyUtilities.cc.
References sistrip::SpyUtilities::Frame::digitalHigh, and sistrip::SpyUtilities::Frame::digitalLow.
Referenced by SiStripSpyMonitorModule::analyze(), SPYHistograms::fillDetailedHistograms(), and isValid().
const uint16_t sistrip::SpyUtilities::threshold | ( | const Frame & | aFrame | ) |
Definition at line 83 of file SiStripSpyUtilities.cc.
References FastTimerService_cff::range.
Referenced by SiStripSpyMonitorModule::analyze().