#include <ScCALORawToDigi.h>
Public Member Functions | |
ScCaloRawToDigi (const edm::ParameterSet &) | |
~ScCaloRawToDigi () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | unpackEtSums (uint32_t *dataBlock, int bx) |
void | unpackLinkEGammas (uint32_t *dataBlock, int bx) |
void | unpackLinkJets (uint32_t *dataBlock, int bx) |
void | unpackLinkTaus (uint32_t *dataBlock, int bx) |
void | unpackOrbit (const unsigned char *buf, size_t len) |
Private Attributes | |
bool | debug_ = false |
bool | enableAllSums_ = false |
int | nEGammasOrbit_ |
int | nEtSumsOrbit_ |
int | nJetsOrbit_ |
int | nTausOrbit_ |
std::vector< std::vector< l1ScoutingRun3::EGamma > > | orbitBufferEGammas_ |
std::vector< std::vector< l1ScoutingRun3::BxSums > > | orbitBufferEtSums_ |
std::vector< std::vector< l1ScoutingRun3::Jet > > | orbitBufferJets_ |
std::vector< std::vector< l1ScoutingRun3::Tau > > | orbitBufferTaus_ |
edm::EDGetToken | rawToken |
edm::InputTag | srcInputTag |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 24 of file ScCALORawToDigi.h.
|
explicit |
Definition at line 3 of file ScCALORawToDigi.cc.
References debug_, enableAllSums_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), nEGammasOrbit_, nEtSumsOrbit_, nJetsOrbit_, nTausOrbit_, orbitBufferEGammas_, orbitBufferEtSums_, orbitBufferJets_, orbitBufferTaus_, rawToken, and srcInputTag.
|
override |
Definition at line 28 of file ScCALORawToDigi.cc.
|
static |
Definition at line 322 of file ScCALORawToDigi.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overrideprivate |
Definition at line 30 of file ScCALORawToDigi.cc.
References SDSNumbering::CaloSDSID, gather_cfg::cout, FEDRawData::data(), debug_, SDSRawDataCollection::FEDData(), iEvent, eostools::move(), nEGammasOrbit_, nEtSumsOrbit_, nJetsOrbit_, nTausOrbit_, orbitBufferEGammas_, orbitBufferEtSums_, orbitBufferJets_, orbitBufferTaus_, rawToken, FEDRawData::size(), and unpackOrbit().
|
private |
Definition at line 210 of file ScCALORawToDigi.cc.
References nano_mu_digi_cff::bx, gather_cfg::cout, debug_, TauDecayModes::dec, enableAllSums_, amptDefault_cfi::frame, nEtSumsOrbit_, orbitBufferEtSums_, l1ScoutingRun3::printBxSums(), l1ScoutingRun3::BxSums::setCentrality(), l1ScoutingRun3::BxSums::setHwAsymEt(), l1ScoutingRun3::BxSums::setHwAsymEtHF(), l1ScoutingRun3::BxSums::setHwAsymHt(), l1ScoutingRun3::BxSums::setHwAsymHtHF(), l1ScoutingRun3::BxSums::setHwMissEt(), l1ScoutingRun3::BxSums::setHwMissEtHF(), l1ScoutingRun3::BxSums::setHwMissEtHFPhi(), l1ScoutingRun3::BxSums::setHwMissEtPhi(), l1ScoutingRun3::BxSums::setHwMissHt(), l1ScoutingRun3::BxSums::setHwMissHtHF(), l1ScoutingRun3::BxSums::setHwMissHtHFPhi(), l1ScoutingRun3::BxSums::setHwMissHtPhi(), l1ScoutingRun3::BxSums::setHwTotalEt(), l1ScoutingRun3::BxSums::setHwTotalEtEm(), l1ScoutingRun3::BxSums::setHwTotalHt(), l1ScoutingRun3::BxSums::setMinBiasHFM0(), l1ScoutingRun3::BxSums::setMinBiasHFM1(), l1ScoutingRun3::BxSums::setMinBiasHFP0(), l1ScoutingRun3::BxSums::setMinBiasHFP1(), and l1ScoutingRun3::BxSums::setTowerCount().
Referenced by unpackOrbit().
|
private |
Definition at line 156 of file ScCALORawToDigi.cc.
References nano_mu_digi_cff::bx, gather_cfg::cout, debug_, TauDecayModes::dec, ET, PVValHelper::eta, mps_fire::i, nEGammasOrbit_, orbitBufferEGammas_, PVValHelper::phi, VtxSmearedParameters_cfi::Phi, and l1ScoutingRun3::printEGamma().
Referenced by unpackOrbit().
|
private |
Definition at line 128 of file ScCALORawToDigi.cc.
References nano_mu_digi_cff::bx, gather_cfg::cout, debug_, TauDecayModes::dec, ET, PVValHelper::eta, mps_fire::i, metsig::jet, nJetsOrbit_, orbitBufferJets_, PVValHelper::phi, VtxSmearedParameters_cfi::Phi, l1ScoutingRun3::printJet(), and l1tGTMenu_lepSeeds_cff::qual.
Referenced by unpackOrbit().
|
private |
Definition at line 183 of file ScCALORawToDigi.cc.
References nano_mu_digi_cff::bx, gather_cfg::cout, debug_, TauDecayModes::dec, ET, PVValHelper::eta, mps_fire::i, nTausOrbit_, orbitBufferTaus_, PVValHelper::phi, VtxSmearedParameters_cfi::Phi, l1ScoutingRun3::printTau(), and metsig::tau.
Referenced by unpackOrbit().
|
private |
Definition at line 65 of file ScCALORawToDigi.cc.
References cms::cuda::assert(), groupFilesInBlocks::block, visDQMUpload::buf, l1ScoutingRun3::demux::block::bx, nano_mu_digi_cff::bx, gather_cfg::cout, debug_, l1ScoutingRun3::demux::block::egamma1, l1ScoutingRun3::demux::block::egamma2, l1ScoutingRun3::demux::block::jet1, l1ScoutingRun3::demux::block::jet2, nEGammasOrbit_, nEtSumsOrbit_, nJetsOrbit_, nTausOrbit_, l1ScoutingRun3::demux::block::orbit, l1ScoutingRun3::demux::block::sum, l1ScoutingRun3::demux::block::tau1, l1ScoutingRun3::demux::block::tau2, unpackEtSums(), unpackLinkEGammas(), unpackLinkJets(), and unpackLinkTaus().
Referenced by produce().
|
private |
Definition at line 49 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), unpackEtSums(), unpackLinkEGammas(), unpackLinkJets(), unpackLinkTaus(), and unpackOrbit().
|
private |
Definition at line 50 of file ScCALORawToDigi.h.
Referenced by ScCaloRawToDigi(), and unpackEtSums().
|
private |
Definition at line 41 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), unpackLinkEGammas(), and unpackOrbit().
|
private |
Definition at line 41 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), unpackEtSums(), and unpackOrbit().
|
private |
Definition at line 41 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), unpackLinkJets(), and unpackOrbit().
|
private |
Definition at line 41 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), unpackLinkTaus(), and unpackOrbit().
|
private |
Definition at line 45 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackLinkEGammas().
|
private |
Definition at line 47 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackEtSums().
|
private |
Definition at line 44 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackLinkJets().
|
private |
Definition at line 46 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackLinkTaus().
|
private |
Definition at line 52 of file ScCALORawToDigi.h.
Referenced by produce(), and ScCaloRawToDigi().
|
private |
Definition at line 51 of file ScCALORawToDigi.h.
Referenced by ScCaloRawToDigi().