CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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().

64  {
65  return (*(unsigned int*)(p + sizeof(fedh_t) + DAQ_BOARDID_OFFSET * SLINK_WORD_SIZE / 2) >> DAQ_BOARDID_SHIFT) == DAQ_BOARDID_VALUE;
66  }
const unsigned int DAQ_BOARDID_SHIFT
const unsigned int DAQ_BOARDID_OFFSET
#define SLINK_WORD_SIZE
const unsigned int 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(), evf::ResourceChecker::findFEDs(), and edm::DaqSource::getNextItemType().

8  {
9  switch(size){
10  case BST32_3BX:
11  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
12  EVM_FDL_NOBX = 3;
13  break;
14  case BST32_5BX:
15  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
16  EVM_FDL_NOBX = 5;
17  break;
18  case BST52_3BX:
19  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
20  EVM_FDL_NOBX = 3;
21  break;
22  case BST52_5BX:
23  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
24  EVM_FDL_NOBX = 5;
25  break;
26  default:
27  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
28  EVM_FDL_NOBX = 3;
29  }
30  return (*(const unsigned int*)(p + sizeof(fedh_t) + EVM_BOARDID_OFFSET * SLINK_WORD_SIZE / 2) >> EVM_BOARDID_SHIFT) == EVM_BOARDID_VALUE;
31  }
const unsigned int EVM_GTFE_BLOCK_V0000
const unsigned int EVM_BOARDID_VALUE
#define SLINK_WORD_SIZE
const unsigned int EVM_GTFE_BLOCK_V0011
const unsigned int EVM_BOARDID_OFFSET
const unsigned int EVM_BOARDID_SHIFT
tuple size
Write out results.
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().

35  {
36  switch(size){
37  case BST32_3BX:
38  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
39  EVM_FDL_NOBX = 3;
40  break;
41  case BST32_5BX:
42  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
43  EVM_FDL_NOBX = 5;
44  break;
45  case BST52_3BX:
46  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
47  EVM_FDL_NOBX = 3;
48  break;
49  case BST52_5BX:
50  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
51  EVM_FDL_NOBX = 5;
52  break;
53  default:
54  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
55  EVM_FDL_NOBX = 3;
56  }
57  }
const unsigned int EVM_GTFE_BLOCK_V0000
const unsigned int EVM_GTFE_BLOCK_V0011
tuple size
Write out results.
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 test::GlobalNumbersAnalysis::analyze(), BxNumberFilter::filter(), and evf::ResourceChecker::findFEDs().

68  {
69  return *(const unsigned int*)( p+offset(evm) );
70  }
unsigned int offset(bool)
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.

Referenced by edm::DaqSource::getNextItemType().

97  {
98  return (((*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK*2 + EVM_TCS_LSBLNR_OFFSET) * SLINK_WORD_SIZE / 2))
100  }
const unsigned int EVM_TCS_LSBLNR_OFFSET
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_EVNTYP_SHIFT
const unsigned int EVM_TCS_EVNTYP_MASK
unsigned int evf::evtn::getfdlbx ( const unsigned char *  p)

Definition at line 105 of file GlobalEventNumber.cc.

References EVM_FDL_BCNRIN_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BCNRIN_MASK, EVM_TCS_BLOCK, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

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

106  {
107  return (*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK
108  + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2) ) * SLINK_WORD_SIZE +
110  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int EVM_FDL_BLOCK
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_BLOCK
const unsigned int EVM_FDL_BCNRIN_OFFSET
const unsigned int EVM_TCS_BCNRIN_MASK
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(), and edm::DaqSource::getNextItemType().

116  {
117  return (*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK
118  + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
120  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int EVM_FDL_BLOCK
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_BLOCK
const unsigned int EVM_FDL_PSCVSN_OFFSET
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.

128  {
129  return (*(const unsigned long long*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK
130  + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
132  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int EVM_FDL_BLOCK
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_BLOCK
const unsigned int EVM_FDL_ALGOB1_OFFSET
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.

134  {
135  return (*(const unsigned long long*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK
136  + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
138  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int EVM_FDL_BLOCK
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_BLOCK
const unsigned int EVM_FDL_ALGOB2_OFFSET
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.

122  {
123  return (*(const unsigned long long*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK + EVM_TCS_BLOCK
124  + EVM_FDL_BLOCK * (EVM_FDL_NOBX/2)) * SLINK_WORD_SIZE +
126  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int EVM_FDL_BLOCK
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_BLOCK
const unsigned int EVM_FDL_TECTRG_OFFSET
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(), BxNumberFilter::filter(), and edm::DaqSource::getNextItemType().

93  {
94  return (*(const unsigned int*)( p+sizeof(fedh_t) + (EVM_GTFE_BLOCK*2 + EVM_TCS_ORBTNR_OFFSET) * SLINK_WORD_SIZE / 2));
95  }
#define SLINK_WORD_SIZE
const unsigned int EVM_TCS_ORBTNR_OFFSET
bool evf::evtn::gtpe_board_sense ( const unsigned char *  p)
inline

Definition at line 70 of file GlobalEventNumber.h.

References GTPE_BOARDID_OFFSET, GTPE_BOARDID_SHIFT, and SLINK_WORD_SIZE.

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

71  {
72  return (*(unsigned int*)(p + GTPE_BOARDID_OFFSET * SLINK_WORD_SIZE / 2) >> GTPE_BOARDID_SHIFT) != 0;
73  }
const unsigned int GTPE_BOARDID_OFFSET
#define SLINK_WORD_SIZE
const unsigned int GTPE_BOARDID_SHIFT
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().

72  {
73  return *(const unsigned int*)( p + GTPE_TRIGNR_OFFSET*SLINK_HALFWORD_SIZE );
74  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int GTPE_TRIGNR_OFFSET
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(), and edm::DaqSource::getNextItemType().

112  {
113  return (*(const unsigned int*)( p + GTPE_BCNRIN_OFFSET * SLINK_HALFWORD_SIZE)) & GTPE_BCNRIN_MASK;
114  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int GTPE_BCNRIN_MASK
const unsigned int GTPE_BCNRIN_OFFSET
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(), and edm::DaqSource::getNextItemType().

81  {
82  return gtpe_getorbit(p)/0x00100000;
83  }
unsigned int gtpe_getorbit(const unsigned char *)
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(), edm::DaqSource::getNextItemType(), and gtpe_getlbn().

102  {
103  return (*(const unsigned int*)( p + GTPE_ORBTNR_OFFSET * SLINK_HALFWORD_SIZE));
104  }
const unsigned int SLINK_HALFWORD_SIZE
Definition: FEDConstants.h:7
const unsigned int GTPE_ORBTNR_OFFSET
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(), DTTPAnalyzer::analyze(), DTTTrigCalibration::analyze(), L1TBPTX::analyze(), PhysicsTools::SourceVariableSet::append(), RPCDaqInfo::beginJob(), ecaldqm::LaserClient::beginRun(), RPCNoisyStripTest::beginRun(), RPCBxTest::beginRun(), RPCDataCertification::beginRun(), RPCDCSSummary::beginRun(), RPCOccupancyTest::beginRun(), RPCDeadChannelTest::beginRun(), RPCMultiplicityTest::beginRun(), RPCClusterSizeTest::beginRun(), MagGeoBuilderFromDDD::bLayer::bLayer(), GctFormatTranslateV38::blockToGctEmCandsAndEnergySums(), GctFormatTranslateV35::blockToGctInternEmCand(), GctFormatTranslateV38::blockToGctInternEmCand(), ecaldqm::LaserClient::bookMEs(), ecaldqm::PedestalTask::bookMEs(), ecaldqm::TestPulseTask::bookMEs(), ecaldqm::LaserTask::bookMEs(), ecaldqm::LedTask::bookMEs(), ora::CArrayWriter::build(), ora::QueryableVectorWriter::build(), FWRPCDigiProxyBuilder::build(), ora::STLContainerWriter::build(), ora::QueryableVectorUpdater::build(), MagGeoBuilderFromDDD::build(), ora::CArrayReader::build(), ora::STLContainerReader::build(), DDG4Builder::BuildGeometry(), lumi::LumiSectionData::bunchCrossingInfo(), 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(), RodPlaneBuilderFromDet::computeBounds(), 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::MESetDet0D::fill(), ecaldqm::MESetEcal::fill(), ecaldqm::MESetTrend::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(), HcalPedestalWidth::getSigma(), CastorPedestalWidth::getSigma(), HcalDTCHeader::getSlotData(), CastorCTDCHeader::getSpigotData(), HcalDCCHeader::getSpigotData(), pos::PixelGlobalDelay25::getTTCrxDelay(), EcalClusterEnergyUncertainty::getValue(), EcalClusterCrackCorrection::getValue(), HcalPedestalWidth::getWidth(), CastorPedestalWidth::getWidth(), gen::Herwig6Instance::give(), EcalDQMBinningService::idFromName(), DDHCalXtalAlgo::initialize(), ecaldqm::LaserClient::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(), DTTTrigSyncT0Only::offset(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), CaloSamples::offsetTime(), CSCAnalogSignal::operator+=(), MomentumDependentPedeLabeler::parameterLabel(), RunRangeDependentPedeLabeler::parameterLabel(), pos::PixelROCName::parsename(), pos::PixelModuleName::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(), HcalTTPDigiProducer::produce(), GenParticleProducer::produce(), cms::SimpleTrackListMerger::produce(), ecaldqm::LaserClient::producePlots(), ESDigiCollection::push_back(), MagneticFieldGrid::putCoordGetInd(), MagneticFieldGrid::putIndGetCoord(), QieShape::QieShape(), reco::castor::QieShape::QieShape(), Storage::readv(), XrdFile::readv(), XrdFile::readv_unpack(), EcalTBH2TDCRecInfoAlgo::reconstruct(), EcalTBTDCRecInfoAlgo::reconstruct(), L1MuDTEUX::run(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), ecaldqm::PedestalTask::runOnPnDigis(), ecaldqm::TestPulseTask::runOnPnDigis(), ecaldqm::LaserTask::runOnPnDigis(), ecaldqm::LedTask::runOnPnDigis(), ecaldqm::TestPulseTask::runOnUncalibRecHits(), ecaldqm::LedTask::runOnUncalibRecHits(), ecaldqm::LaserTask::runOnUncalibRecHits(), StMeasurementDetSet::set128StripStatus(), BaseCrystal::setCorners(), CastorDataFrame::setFiberIdleOffset(), HBHEDataFrame::setFiberIdleOffset(), HcalCalibDataFrame::setFiberIdleOffset(), HFDataFrame::setFiberIdleOffset(), ZDCDataFrame::setFiberIdleOffset(), HODataFrame::setFiberIdleOffset(), reco::HitPattern::setHitPattern(), ecaldqm::LaserClient::setMEData(), ecaldqm::LedTask::setMEData(), ecaldqm::LaserTask::setMEData(), pftools::Erl_mlp::setOffsetAndSlope(), HcalPedestalWidth::setSigma(), CastorPedestalWidth::setSigma(), CSCAnalogSignal::setTimeOffset(), evf::FUShmBuffer::shmKey(), SimHitShifter::SimHitShifter(), CSCStripHitSim::simulate(), evf::FUShmBuffer::size(), edm::ProducerSourceBase::skip(), edm::RootFile::skipEvents(), edm::InputSource::skipEvents(), EcalDQMBinningService::smOffsetBins(), FastLinearCMNSubtractor::subtract_(), MedianCMNSubtractor::subtract_(), PercentileCMNSubtractor::subtract_(), IteratedMedianCMNSubtractor::subtract_(), cond::PayLoadInspector< DataT >::summary(), TStorageFactoryFile::SysSeek(), ecaldqm::TestPulseTask::TestPulseTask(), BeamMonitor::testScroll(), L1MuGMTMIAUPhiPro2LUT::TheLookupFunction(), global_linear_0::translation(), global_simpleAngular_0::translation(), global_linear_1::translation(), global_simpleAngular_1::translation(), global_simpleAngular_2::translation(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), MuonIdTruthInfo::truthMatchMuon(), CastorCORData::unpackHistogram(), HcalHTRData::unpackHistogram(), LatencyHistosUsingDb::update(), HcaluLUTTPGCoder::update(), ValidateGeometry::validateCaloGeometry(), ValidateGeometry::validateRPCGeometry(), GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock(), GctFormatTranslateMCLegacy::writeGctOutEmAndEnergyBlock(), GctFormatTranslateMCLegacy::writeGctOutJetBlock(), Storage::writev(), and edm::helper::IndexRangeAssociation::FastFiller::~FastFiller().

61  {
62  if(evm)
63  return sizeof(fedh_t) + (EVM_GTFE_BLOCK*2 + EVM_TCS_TRIGNR_OFFSET) * SLINK_WORD_SIZE / 2;
64  else
65  return sizeof(fedh_t) + DAQ_TOTTRG_OFFSET * SLINK_WORD_SIZE / 2;
66  }
const unsigned int EVM_TCS_TRIGNR_OFFSET
const unsigned int DAQ_TOTTRG_OFFSET
#define SLINK_WORD_SIZE
struct fedh_struct fedh_t

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().

const unsigned int evf::evtn::FED_HEADER_SIZE = SLINK_WORD_SIZE

Definition at line 8 of file FEDConstants.h.

const unsigned int evf::evtn::FED_TRAILER_SIZE = SLINK_WORD_SIZE

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