CMS 3D CMS Logo

Enumerations | Functions | Variables

evf::evtn Namespace Reference

Enumerations

enum  EvmRecordScheme { BST32_3BX = 34 * SLINK_WORD_SIZE, BST32_5BX = 48 * SLINK_WORD_SIZE, BST52_3BX = 37 * SLINK_WORD_SIZE, BST52_5BX = 51 * SLINK_WORD_SIZE }

Functions

bool daq_board_sense (const unsigned char *p)
bool evm_board_sense (const unsigned char *p, size_t size)
void evm_board_setformat (size_t size)
unsigned int get (const unsigned char *, bool)
unsigned int getevtyp (const unsigned char *)
unsigned int getfdlbx (const unsigned char *)
unsigned int getfdlpsc (const unsigned char *)
unsigned long long getfdlta1 (const unsigned char *)
unsigned long long getfdlta2 (const unsigned char *)
unsigned long long getfdlttr (const unsigned char *)
unsigned int getgpshigh (const unsigned char *)
unsigned int getgpslow (const unsigned char *)
unsigned int getlbn (const unsigned char *)
unsigned int getorbit (const unsigned char *)
bool gtpe_board_sense (const unsigned char *p)
unsigned int gtpe_get (const unsigned char *)
unsigned int gtpe_getbx (const unsigned char *)
unsigned int gtpe_getlbn (const unsigned char *)
unsigned int gtpe_getorbit (const unsigned char *)
unsigned int offset (bool)

Variables

const unsigned int DAQ_BOARDID_MASK = 0xffff0000
const unsigned int DAQ_BOARDID_OFFSET = 1
const unsigned int DAQ_BOARDID_SHIFT = 24
const unsigned int DAQ_BOARDID_VALUE = 0x11
const unsigned int DAQ_TOTTRG_OFFSET = 2
const unsigned int EVM_BOARDID_MASK = 0xffff0000
const unsigned int EVM_BOARDID_OFFSET = 1
const unsigned int EVM_BOARDID_SHIFT = 24
const unsigned int EVM_BOARDID_VALUE = 0x11
const unsigned int EVM_FDL_ALGOB1_OFFSET = 4
const unsigned int EVM_FDL_ALGOB2_OFFSET = 6
const unsigned int EVM_FDL_BCNRIN_OFFSET = 1
const unsigned int EVM_FDL_BLOCK = 7
const unsigned int EVM_FDL_PSCVSN_OFFSET = 11
const unsigned int EVM_FDL_TECTRG_OFFSET = 2
const unsigned int EVM_GTFE_BLOCK_V0000 = 6
const unsigned int EVM_GTFE_BLOCK_V0011 = 9
const unsigned int EVM_GTFE_BSTGPS_OFFSET = 4
const unsigned int EVM_TCS_BCNRIN_MASK = 0x00000fff
const unsigned int EVM_TCS_BLOCK = 5
const unsigned int EVM_TCS_EVNTYP_MASK = 0x00f00000
const unsigned int EVM_TCS_EVNTYP_SHIFT = 20
const unsigned int EVM_TCS_LSBLNR_MASK = 0x0000ffff
const unsigned int EVM_TCS_LSBLNR_OFFSET = 0
const unsigned int EVM_TCS_ORBTNR_OFFSET = 6
const unsigned int EVM_TCS_TRIGNR_OFFSET = 5
const unsigned int FED_HEADER_SIZE = SLINK_WORD_SIZE
const unsigned int FED_TRAILER_SIZE = SLINK_WORD_SIZE
const unsigned int GTPE_BCNRIN_MASK = 0x00000fff
const unsigned int GTPE_BCNRIN_OFFSET = 3
const unsigned int GTPE_BOARDID_MASK = 0x000000ff
const unsigned int GTPE_BOARDID_OFFSET = 16
const unsigned int GTPE_BOARDID_SHIFT = 0
const unsigned int GTPE_BOARDID_VALUE = 0x1
const unsigned int GTPE_ORBTNR_OFFSET = 18
const unsigned int GTPE_TRIGNR_OFFSET = 14
const unsigned int SLINK_HALFWORD_SIZE = 4
const unsigned int SLINK_WORD_SIZE = 8

Enumeration Type Documentation

Enumerator:
BST32_3BX 
BST32_5BX 
BST52_3BX 
BST52_5BX 

Definition at line 19 of file GlobalEventNumber.h.


Function Documentation

bool evf::evtn::daq_board_sense ( const unsigned char *  p) [inline]

Definition at line 63 of file GlobalEventNumber.h.

References DAQ_BOARDID_OFFSET, DAQ_BOARDID_SHIFT, DAQ_BOARDID_VALUE, and SLINK_WORD_SIZE.

Referenced by evf::ResourceChecker::findFEDs().

        {
          return (*(unsigned int*)(p + sizeof(fedh_t) + DAQ_BOARDID_OFFSET * SLINK_WORD_SIZE / 2) >> DAQ_BOARDID_SHIFT) == DAQ_BOARDID_VALUE;
        }
bool evf::evtn::evm_board_sense ( const unsigned char *  p,
size_t  size 
)

Definition at line 7 of file GlobalEventNumber.cc.

References BST32_3BX, BST32_5BX, BST52_3BX, BST52_5BX, EVM_BOARDID_OFFSET, EVM_BOARDID_SHIFT, EVM_BOARDID_VALUE, EVM_GTFE_BLOCK_V0000, EVM_GTFE_BLOCK_V0011, and SLINK_WORD_SIZE.

Referenced by test::GlobalNumbersAnalysis::analyze(), evf::BU::createMsgChain(), and evf::ResourceChecker::findFEDs().

    {
      switch(size){
      case BST32_3BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
        EVM_FDL_NOBX = 3;
        break;
      case BST32_5BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
        EVM_FDL_NOBX = 5;
        break;
      case BST52_3BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
        EVM_FDL_NOBX = 3;
        break;
      case BST52_5BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
        EVM_FDL_NOBX = 5;
        break;
      default:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
        EVM_FDL_NOBX = 3;           
      }
      return (*(const unsigned int*)(p + sizeof(fedh_t) + EVM_BOARDID_OFFSET * SLINK_WORD_SIZE / 2) >> EVM_BOARDID_SHIFT) == EVM_BOARDID_VALUE;
    }
void evf::evtn::evm_board_setformat ( size_t  size)

Definition at line 34 of file GlobalEventNumber.cc.

References BST32_3BX, BST32_5BX, BST52_3BX, BST52_5BX, EVM_GTFE_BLOCK_V0000, and EVM_GTFE_BLOCK_V0011.

Referenced by BxNumberFilter::filter(), and ErrorStreamSource::setRunAndEventInfo().

    {
      switch(size){
      case BST32_3BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
        EVM_FDL_NOBX = 3;
        break;
      case BST32_5BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
        EVM_FDL_NOBX = 5;
        break;
      case BST52_3BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
        EVM_FDL_NOBX = 3;
        break;
      case BST52_5BX:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
        EVM_FDL_NOBX = 5;
        break;
      default:
        EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
        EVM_FDL_NOBX = 3;           
      }
    }
unsigned int evf::evtn::get ( const unsigned char *  p,
bool  evm 
)

Definition at line 67 of file GlobalEventNumber.cc.

References offset(), and AlCaHLTBitMon_ParallelJobs::p.

Referenced by evf::ResourceChecker::findFEDs().

    {
      return *(const unsigned int*)( p+offset(evm) );
    }
unsigned int evf::evtn::getevtyp ( const unsigned char *  p)

Definition at line 96 of file GlobalEventNumber.cc.

References EVM_TCS_EVNTYP_MASK, EVM_TCS_EVNTYP_SHIFT, EVM_TCS_LSBLNR_OFFSET, and SLINK_WORD_SIZE.

    { 
      return (((*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK*2 + EVM_TCS_LSBLNR_OFFSET) * SLINK_WORD_SIZE / 2)) 
              & EVM_TCS_EVNTYP_MASK) >> EVM_TCS_EVNTYP_SHIFT);
    }
unsigned int evf::evtn::getfdlbx ( const unsigned char *  p)
unsigned int evf::evtn::getfdlpsc ( const unsigned char *  p)

Definition at line 115 of file GlobalEventNumber.cc.

References EVM_FDL_BLOCK, EVM_FDL_PSCVSN_OFFSET, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

Referenced by test::GlobalNumbersAnalysis::analyze().

    { 
      return (*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK 
                                                    + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
                                EVM_FDL_PSCVSN_OFFSET * SLINK_HALFWORD_SIZE));
    }
unsigned long long evf::evtn::getfdlta1 ( const unsigned char *  p)

Definition at line 127 of file GlobalEventNumber.cc.

References EVM_FDL_ALGOB1_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

    {
       return (*(const unsigned long long*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK 
                                                           + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
                                EVM_FDL_ALGOB1_OFFSET * SLINK_HALFWORD_SIZE));
    }
unsigned long long evf::evtn::getfdlta2 ( const unsigned char *  p)

Definition at line 133 of file GlobalEventNumber.cc.

References EVM_FDL_ALGOB2_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

    {
       return (*(const unsigned long long*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK 
                                                           + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
                                EVM_FDL_ALGOB2_OFFSET * SLINK_HALFWORD_SIZE));
    }
unsigned long long evf::evtn::getfdlttr ( const unsigned char *  p)

Definition at line 121 of file GlobalEventNumber.cc.

References EVM_FDL_BLOCK, EVM_FDL_TECTRG_OFFSET, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

    {
       return (*(const unsigned long long*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK 
                                                           + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
                                EVM_FDL_TECTRG_OFFSET * SLINK_HALFWORD_SIZE));
    }
unsigned int evf::evtn::getgpshigh ( const unsigned char *  p)
unsigned int evf::evtn::getgpslow ( const unsigned char *  p)
unsigned int evf::evtn::getlbn ( const unsigned char *  p)
unsigned int evf::evtn::getorbit ( const unsigned char *  p)

Definition at line 92 of file GlobalEventNumber.cc.

References EVM_TCS_ORBTNR_OFFSET, and SLINK_WORD_SIZE.

Referenced by test::GlobalNumbersAnalysis::analyze(), and BxNumberFilter::filter().

    { 
      return (*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK*2 + EVM_TCS_ORBTNR_OFFSET) * SLINK_WORD_SIZE / 2));
    }
bool evf::evtn::gtpe_board_sense ( const unsigned char *  p) [inline]
unsigned int evf::evtn::gtpe_get ( const unsigned char *  p)

Definition at line 71 of file GlobalEventNumber.cc.

References GTPE_TRIGNR_OFFSET, and SLINK_HALFWORD_SIZE.

Referenced by test::GlobalNumbersAnalysis::analyze(), and evf::ResourceChecker::findFEDs().

    {
      return *(const unsigned int*)( p + GTPE_TRIGNR_OFFSET*SLINK_HALFWORD_SIZE );
    }
unsigned int evf::evtn::gtpe_getbx ( const unsigned char *  p)

Definition at line 111 of file GlobalEventNumber.cc.

References GTPE_BCNRIN_MASK, GTPE_BCNRIN_OFFSET, and SLINK_HALFWORD_SIZE.

Referenced by test::GlobalNumbersAnalysis::analyze().

    { 
      return (*(const unsigned int*)( p + GTPE_BCNRIN_OFFSET * SLINK_HALFWORD_SIZE)) &  GTPE_BCNRIN_MASK;
    }
unsigned int evf::evtn::gtpe_getlbn ( const unsigned char *  p)

Definition at line 80 of file GlobalEventNumber.cc.

References gtpe_getorbit().

Referenced by test::GlobalNumbersAnalysis::analyze().

    { 
      return gtpe_getorbit(p)/0x00100000;
    }
unsigned int evf::evtn::gtpe_getorbit ( const unsigned char *  p)

Definition at line 101 of file GlobalEventNumber.cc.

References GTPE_ORBTNR_OFFSET, and SLINK_HALFWORD_SIZE.

Referenced by test::GlobalNumbersAnalysis::analyze(), and gtpe_getlbn().

    { 
      return (*(const unsigned int*)( p + GTPE_ORBTNR_OFFSET * SLINK_HALFWORD_SIZE));
    }
unsigned int evf::evtn::offset ( bool  evm)

Definition at line 60 of file GlobalEventNumber.cc.

References DAQ_TOTTRG_OFFSET, EVM_TCS_TRIGNR_OFFSET, and SLINK_WORD_SIZE.

Referenced by FWItemAccessorFactory::accessorFor(), FBaseSimEvent::addParticles(), ora::DataElement::address(), DCCEETCCBlock::addTriggerPrimitivesToCollection(), CaloTowerGeometry::alignmentTransformIndexLocal(), L1TBPTX::analyze(), DTTTrigCalibration::analyze(), DTTPAnalyzer::analyze(), PhysicsTools::SourceVariableSet::append(), RPCDaqInfo::beginJob(), ecaldqm::LaserClient::beginRun(), RPCOccupancyTest::beginRun(), RPCBxTest::beginRun(), RPCMultiplicityTest::beginRun(), RPCDataCertification::beginRun(), RPCDeadChannelTest::beginRun(), RPCClusterSizeTest::beginRun(), RPCNoisyStripTest::beginRun(), RPCDCSSummary::beginRun(), MagGeoBuilderFromDDD::bLayer::bLayer(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV35::blockToGctInternEmCand(), GctFormatTranslateV38::blockToGctInternEmCand(), ecaldqm::LaserTask::bookMEs(), ecaldqm::PedestalTask::bookMEs(), ecaldqm::LaserClient::bookMEs(), ecaldqm::TestPulseTask::bookMEs(), ecaldqm::LedTask::bookMEs(), ora::STLContainerWriter::build(), ora::CArrayWriter::build(), ora::STLContainerReader::build(), ora::QueryableVectorUpdater::build(), ora::QueryableVectorWriter::build(), MagGeoBuilderFromDDD::build(), ora::CArrayReader::build(), FWRPCDigiProxyBuilder::build(), FWGEMDigiProxyBuilder::build(), DDG4Builder::BuildGeometry(), L1GctJetFinderBase::calcHfSums(), stor::detail::ChainData::calculateAdler32(), pftools::Exercises3::calibrateCalibratables(), fireworks::Context::caloR1(), fireworks::Context::caloR2(), fireworks::Context::caloZ1(), fireworks::Context::caloZ2(), ConfigurationDBHandler::characters(), lhef::LHEReader::XMLHandler::characters(), FWItemAccessorFactory::classAccessedAsCollection(), CaloSD::cleanHitCollection(), TMarkov::computeChain(), TFParams::computePulseWidth(), PlaneBuilderForGluedDet::computeRectBounds(), EcalUncalibRecHitRatioMethodAlgo< C >::computeTime(), MuonHOAcceptance::convertRegions(), L1JPTOffsetCorrector::correction(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), EcalShowerContainmentCorrections::correctionXY(), RPCStripsRing::createRefConnections(), EcalElectronicsMapping::DCCid(), TEcnaParHistos::DeeNameOffsetX(), TEcnaParHistos::DeeNumberOffsetX(), TEcnaParHistos::DeeOffsetX(), PhysicsTools::VarProcessor::deriv(), DTDigiSyncTOFCorr::digitizerOffset(), edm::TrieNode< T >::display(), L1GctJetFinderBase::doEtSums(), edm::PoolOutputModule::doOpenFile(), EvolutionECAL::DoseLongitudinalProfile(), SiStripRecHitMatcher::doubleMatch(), PrintGeomInfoAction::dumpPV(), PrintGeomMatInfo::dumpPV(), EventWithHistoryProducerFromL1ABC::endRun(), APVCyclePhaseProducerFromL1ABC::endRun(), ESDataFrame::ESDataFrame(), PhysicsTools::VarProcessor::eval(), PhysicsTools::MVAComputer::evalInternal(), DDHCalXtalAlgo::execute(), EcalClusterEnergyCorrection::fBrem(), HiEgammaSCEnergyCorrectionAlgo::fBrem(), HiEgammaSCEnergyCorrectionAlgo::fEta(), EcalClusterEnergyCorrection::fEtEta(), HiEgammaSCEnergyCorrectionAlgo::fEtEta(), ecaldqm::MESetTrend::fill(), ecaldqm::MESetEcal::fill(), ecaldqm::MESetDet0D::fill(), edm::IndexIntoFile::fillEventNumbersOrEntries(), GenParticleProducer::fillIndices(), LASPeakFinder::FindPeakIn(), CSCMotherboard::findQuality(), reco::GhostTrackFitter::fit(), TkLasBeamFitter::fitBeam(), ESDigitizerTraits::fix(), EcalSelectiveReadoutSuppressor::frame2Energy(), EcalSelectiveReadoutValidation::frame2EnergyForTp(), edm::Guid::fromString(), MuonDDDNumbering::geoHistoryToBaseNumber(), get(), HcalHistogramDigi::getArray(), edm::TypeWithDict::getBaseClassOffset(), EcalDQMBinningService::getBinMapEEMEM_(), pos::PixelGlobalDelay25::getDelay(), TkLasBeamFitter::getLasBeams(), MatacqProducer::getMatacqEvent(), LASProfileJudge::GetNegativity(), HcalDbOnline::getObject(), CaloTPGTranscoderULUT::getOutputLUTId(), CastorPedestalWidth::getSigma(), HcalPedestalWidth::getSigma(), HcalDTCHeader::getSlotData(), CastorCTDCHeader::getSpigotData(), HcalDCCHeader::getSpigotData(), pos::PixelGlobalDelay25::getTTCrxDelay(), EcalClusterEnergyUncertainty::getValue(), EcalClusterCrackCorrection::getValue(), CastorPedestalWidth::getWidth(), HcalPedestalWidth::getWidth(), gen::Herwig6Instance::give(), EcalDQMBinningService::idFromName(), ecaldqm::LaserClient::initialize(), DDHCalXtalAlgo::initialize(), StMeasurementDetSet::isMasked(), LASProfileJudge::IsNegativePeaksInProfile(), LASProfileJudge::IsOverdrive(), LASProfileJudge::IsPeaksInProfile(), LASProfileJudge::IsSignalIn(), LASProfileJudge::JudgeProfile(), ZSEnergy_impl::keepMe(), L1TBPTX::L1TBPTX(), ecaldqm::LaserClient::LaserClient(), ecaldqm::LaserTask::LaserTask(), ecaldqm::LedTask::LedTask(), fireworks::localSiStrip(), sistrip::RawToDigiUnpacker::locateStartOfFedBuffer(), LookInStream_SeekTo(), LookToRead_Skip(), LzmaDec_DecodeReal(), LzmaDec_TryDummy(), CastorDbHardcode::makeQIECoder(), CSCHitFromStripOnly::makeStripData(), evf::FUShmRawCell::markFed(), evf::FUShmRawCell::markSuperFrag(), L1GtVhdlWriterBitManager::mirror(), evf::FUShmBuffer::nextIndex(), ora::DataElement::offset(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncT0Only::offset(), DTTTrigSyncFromDB::offset(), CaloSamples::offsetTime(), CSCAnalogSignal::operator+=(), MomentumDependentPedeLabeler::parameterLabel(), RunRangeDependentPedeLabeler::parameterLabel(), pos::PixelROCName::parsename(), ecaldqm::PedestalTask::PedestalTask(), L1MuDTAssignmentUnit::phiDiff(), DTTrigGeom::phiSLOffset(), MuonErrorMatrix::Pindex(), pos::PixelFEDTestDAC::PixelFEDTestDAC(), edm::TypeWithDict::pointerToBaseType(), XrdFile::position(), evf::FUShmBuffer::postIndex(), XrdFile::prefetch(), File::prefetch(), CSCChamberTimeCorrectionsValues::prefill(), EMShower::prepareSteps(), HcalDigiMonitor::process_Digi(), HcalBeamMonitor::processEvent(), cms::SimpleTrackListMerger::produce(), GenParticleProducer::produce(), HcalTTPDigiProducer::produce(), ecaldqm::LaserClient::producePlots(), ESDigiCollection::push_back(), MagneticFieldGrid::putCoordGetInd(), MagneticFieldGrid::putIndGetCoord(), reco::castor::QieShape::QieShape(), QieShape::QieShape(), XrdFile::readv(), Storage::readv(), XrdFile::readv_unpack(), EcalTBH2TDCRecInfoAlgo::reconstruct(), EcalTBTDCRecInfoAlgo::reconstruct(), L1MuDTEUX::run(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnPnDigis(), ecaldqm::TestPulseTask::runOnPnDigis(), ecaldqm::LedTask::runOnPnDigis(), ecaldqm::PedestalTask::runOnPnDigis(), ecaldqm::LedTask::runOnUncalibRecHits(), ecaldqm::TestPulseTask::runOnUncalibRecHits(), ecaldqm::LaserTask::runOnUncalibRecHits(), StMeasurementDetSet::set128StripStatus(), BaseCrystal::setCorners(), HcalCalibDataFrame::setFiberIdleOffset(), HFDataFrame::setFiberIdleOffset(), HBHEDataFrame::setFiberIdleOffset(), ZDCDataFrame::setFiberIdleOffset(), HODataFrame::setFiberIdleOffset(), CastorDataFrame::setFiberIdleOffset(), reco::HitPattern::setHitPattern(), ecaldqm::LaserClient::setMEData(), ecaldqm::LaserTask::setMEData(), ecaldqm::LedTask::setMEData(), pftools::Erl_mlp::setOffsetAndSlope(), CastorPedestalWidth::setSigma(), HcalPedestalWidth::setSigma(), CSCAnalogSignal::setTimeOffset(), evf::FUShmBuffer::shmKey(), SimHitShifter::SimHitShifter(), CSCStripHitSim::simulate(), evf::FUShmBuffer::size(), edm::ProducerSourceBase::skip(), edm::InputSource::skipEvents(), EcalDQMBinningService::smOffsetBins(), FastLinearCMNSubtractor::subtract_(), IteratedMedianCMNSubtractor::subtract_(), MedianCMNSubtractor::subtract_(), PercentileCMNSubtractor::subtract_(), cond::PayLoadInspector< DataT >::summary(), TStorageFactoryFile::SysSeek(), ecaldqm::TestPulseTask::TestPulseTask(), BeamMonitor::testScroll(), L1MuGMTMIAUPhiPro2LUT::TheLookupFunction(), global_linear_1::translation(), global_simpleAngular_0::translation(), global_simpleAngular_1::translation(), global_simpleAngular_2::translation(), global_linear_0::translation(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), MuonIdTruthInfo::truthMatchMuon(), CastorCORData::unpackHistogram(), HcalHTRData::unpackHistogram(), HcaluLUTTPGCoder::update(), LatencyHistosUsingDb::update(), ValidateGeometry::validateCaloGeometry(), ValidateGeometry::validateRPCGeometry(), GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock(), GctFormatTranslateMCLegacy::writeGctOutEmAndEnergyBlock(), GctFormatTranslateMCLegacy::writeGctOutJetBlock(), and Storage::writev().

    {
      if(evm)
        return sizeof(fedh_t) + (EVM_GTFE_BLOCK*2 + EVM_TCS_TRIGNR_OFFSET) * SLINK_WORD_SIZE / 2;
      else
        return sizeof(fedh_t) + DAQ_TOTTRG_OFFSET * SLINK_WORD_SIZE / 2;
    }

Variable Documentation

const unsigned int evf::evtn::DAQ_BOARDID_MASK = 0xffff0000

Definition at line 15 of file GlobalEventNumber.h.

const unsigned int evf::evtn::DAQ_BOARDID_OFFSET = 1

Definition at line 14 of file GlobalEventNumber.h.

Referenced by daq_board_sense().

const unsigned int evf::evtn::DAQ_BOARDID_SHIFT = 24

Definition at line 16 of file GlobalEventNumber.h.

Referenced by daq_board_sense().

const unsigned int evf::evtn::DAQ_BOARDID_VALUE = 0x11

Definition at line 17 of file GlobalEventNumber.h.

Referenced by daq_board_sense().

const unsigned int evf::evtn::DAQ_TOTTRG_OFFSET = 2

Definition at line 13 of file GlobalEventNumber.h.

Referenced by offset().

const unsigned int evf::evtn::EVM_BOARDID_MASK = 0xffff0000

Definition at line 27 of file GlobalEventNumber.h.

const unsigned int evf::evtn::EVM_BOARDID_OFFSET = 1

Definition at line 26 of file GlobalEventNumber.h.

Referenced by evm_board_sense().

const unsigned int evf::evtn::EVM_BOARDID_SHIFT = 24

Definition at line 28 of file GlobalEventNumber.h.

Referenced by evm_board_sense().

const unsigned int evf::evtn::EVM_BOARDID_VALUE = 0x11

Definition at line 29 of file GlobalEventNumber.h.

Referenced by evm_board_sense().

const unsigned int evf::evtn::EVM_FDL_ALGOB1_OFFSET = 4

Definition at line 47 of file GlobalEventNumber.h.

Referenced by getfdlta1().

const unsigned int evf::evtn::EVM_FDL_ALGOB2_OFFSET = 6

Definition at line 48 of file GlobalEventNumber.h.

Referenced by getfdlta2().

const unsigned int evf::evtn::EVM_FDL_BCNRIN_OFFSET = 1

Definition at line 45 of file GlobalEventNumber.h.

Referenced by getfdlbx().

const unsigned int evf::evtn::EVM_FDL_BLOCK = 7

Definition at line 44 of file GlobalEventNumber.h.

Referenced by getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), and getfdlttr().

const unsigned int evf::evtn::EVM_FDL_PSCVSN_OFFSET = 11

Definition at line 49 of file GlobalEventNumber.h.

Referenced by getfdlpsc().

const unsigned int evf::evtn::EVM_FDL_TECTRG_OFFSET = 2

Definition at line 46 of file GlobalEventNumber.h.

Referenced by getfdlttr().

const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0000 = 6

Definition at line 31 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and evm_board_setformat().

const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0011 = 9

Definition at line 32 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and evm_board_setformat().

const unsigned int evf::evtn::EVM_GTFE_BSTGPS_OFFSET = 4

Definition at line 33 of file GlobalEventNumber.h.

Referenced by getgpshigh(), and getgpslow().

const unsigned int evf::evtn::EVM_TCS_BCNRIN_MASK = 0x00000fff

Definition at line 42 of file GlobalEventNumber.h.

Referenced by getfdlbx().

const unsigned int evf::evtn::EVM_TCS_BLOCK = 5

Definition at line 35 of file GlobalEventNumber.h.

Referenced by getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), and getfdlttr().

const unsigned int evf::evtn::EVM_TCS_EVNTYP_MASK = 0x00f00000

Definition at line 40 of file GlobalEventNumber.h.

Referenced by getevtyp().

const unsigned int evf::evtn::EVM_TCS_EVNTYP_SHIFT = 20

Definition at line 41 of file GlobalEventNumber.h.

Referenced by getevtyp().

const unsigned int evf::evtn::EVM_TCS_LSBLNR_MASK = 0x0000ffff

Definition at line 39 of file GlobalEventNumber.h.

Referenced by getlbn().

const unsigned int evf::evtn::EVM_TCS_LSBLNR_OFFSET = 0

Definition at line 37 of file GlobalEventNumber.h.

Referenced by evf::BU::createMsgChain(), getevtyp(), and getlbn().

const unsigned int evf::evtn::EVM_TCS_ORBTNR_OFFSET = 6

Definition at line 38 of file GlobalEventNumber.h.

Referenced by getorbit().

const unsigned int evf::evtn::EVM_TCS_TRIGNR_OFFSET = 5

Definition at line 36 of file GlobalEventNumber.h.

Referenced by offset().

Definition at line 8 of file FEDConstants.h.

Definition at line 9 of file FEDConstants.h.

Referenced by evf::EvffedFillerRB::putTrailer().

const unsigned int evf::evtn::GTPE_BCNRIN_MASK = 0x00000fff

Definition at line 60 of file GlobalEventNumber.h.

Referenced by gtpe_getbx().

const unsigned int evf::evtn::GTPE_BCNRIN_OFFSET = 3

Definition at line 59 of file GlobalEventNumber.h.

Referenced by gtpe_getbx().

const unsigned int evf::evtn::GTPE_BOARDID_MASK = 0x000000ff

Definition at line 54 of file GlobalEventNumber.h.

const unsigned int evf::evtn::GTPE_BOARDID_OFFSET = 16

Definition at line 53 of file GlobalEventNumber.h.

Referenced by gtpe_board_sense().

const unsigned int evf::evtn::GTPE_BOARDID_SHIFT = 0

Definition at line 55 of file GlobalEventNumber.h.

Referenced by gtpe_board_sense().

const unsigned int evf::evtn::GTPE_BOARDID_VALUE = 0x1

Definition at line 56 of file GlobalEventNumber.h.

const unsigned int evf::evtn::GTPE_ORBTNR_OFFSET = 18

Definition at line 58 of file GlobalEventNumber.h.

Referenced by evf::BU::createMsgChain(), and gtpe_getorbit().

const unsigned int evf::evtn::GTPE_TRIGNR_OFFSET = 14

Definition at line 57 of file GlobalEventNumber.h.

Referenced by gtpe_get().

const unsigned int evf::evtn::SLINK_HALFWORD_SIZE = 4
const unsigned int evf::evtn::SLINK_WORD_SIZE = 8