#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 Types | |
enum | CaloObjectType { CaloObjectType::Jet, CaloObjectType::EGamma, CaloObjectType::Tau, CaloObjectType::EtSum } |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | unpackEGammas (uint32_t *dataBlock, int bx, int nObjets) |
void | unpackEtSums (uint32_t *dataBlock, int bx) |
void | unpackJets (uint32_t *dataBlock, int bx, int nObjets) |
void | unpackOrbitFromDMA (edm::Handle< SDSRawDataCollection > &ScoutingRawDataCollection, int sourceId) |
void | unpackOrbitFromTCP (const unsigned char *buf, size_t len, CaloObjectType dataType) |
void | unpackTaus (uint32_t *dataBlock, int bx, int nObjets) |
void | unpackTcpData (edm::Handle< SDSRawDataCollection > &ScoutingRawDataCollection, std::vector< int > sourceList, CaloObjectType dataType) |
Private Attributes | |
edm::ParameterSet | dataSourceConfig_ |
std::string | dataSourceMode_ |
bool | debug_ = false |
std::vector< int > | eGammaSourceIdList_ |
bool | enableAllSums_ = false |
std::vector< int > | etSumSourceIdList_ |
std::vector< int > | jetSourceIdList_ |
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_ |
std::vector< int > | tauSourceIdList_ |
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 25 of file ScCALORawToDigi.h.
|
strongprivate |
|
explicit |
Definition at line 3 of file ScCALORawToDigi.cc.
References dataSourceConfig_, 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 423 of file ScCALORawToDigi.cc.
References edm::ConfigurationDescriptions::add(), L1TdeStage2CaloLayer1_cfi::dataSource, submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
Definition at line 30 of file ScCALORawToDigi.cc.
References SDSNumbering::CaloSDSID, dataSourceConfig_, ScCaloRawToDigi_cfi::dataSourceMode, EGamma, eGammaSourceIdList_, EtSum, etSumSourceIdList_, Exception, edm::ParameterSet::getParameter(), iEvent, Jet, jetSourceIdList_, eostools::move(), nEGammasOrbit_, nEtSumsOrbit_, nJetsOrbit_, nTausOrbit_, orbitBufferEGammas_, orbitBufferEtSums_, orbitBufferJets_, orbitBufferTaus_, rawToken_, objects.autophobj::sourceId, AlCaHLTBitMon_QueryRunRegistry::string, Tau, tauSourceIdList_, unpackOrbitFromDMA(), and unpackTcpData().
|
private |
Definition at line 257 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 unpackOrbitFromDMA(), and unpackOrbitFromTCP().
|
private |
Definition at line 311 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 unpackOrbitFromDMA(), and unpackOrbitFromTCP().
|
private |
Definition at line 229 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 unpackOrbitFromDMA(), and unpackOrbitFromTCP().
|
private |
Definition at line 89 of file ScCALORawToDigi.cc.
References cms::cuda::assert(), visDQMUpload::buf, l1ScoutingRun3::demux::dmaBlock::bx, nano_mu_digi_cff::bx, gather_cfg::cout, FEDRawData::data(), debug_, l1ScoutingRun3::demux::dmaBlock::egamma1, l1ScoutingRun3::demux::dmaBlock::egamma2, SDSRawDataCollection::FEDData(), l1ScoutingRun3::demux::dmaBlock::jet1, l1ScoutingRun3::demux::dmaBlock::jet2, l1ScoutingRun3::demux::dmaBlock::orbit, FEDRawData::size(), objects.autophobj::sourceId, l1ScoutingRun3::demux::dmaBlock::sum, l1ScoutingRun3::demux::dmaBlock::tau1, l1ScoutingRun3::demux::dmaBlock::tau2, unpackEGammas(), unpackEtSums(), unpackJets(), and unpackTaus().
Referenced by produce().
|
private |
Definition at line 178 of file ScCALORawToDigi.cc.
References cms::cuda::assert(), visDQMUpload::buf, l1ScoutingRun3::demux::caloObjTcpBlock::bx, l1ScoutingRun3::demux::caloSumTcpBlock::bx, gather_cfg::cout, DTskim_cfg::dataType, debug_, EGamma, EtSum, Exception, l1ScoutingRun3::demux::caloObjTcpBlock::header, Jet, l1ScoutingRun3::demux::caloObjTcpBlock::obj, l1ScoutingRun3::demux::caloSumTcpBlock::sum, Tau, unpackEGammas(), unpackEtSums(), unpackJets(), and unpackTaus().
Referenced by unpackTcpData().
|
private |
Definition at line 284 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 unpackOrbitFromDMA(), and unpackOrbitFromTCP().
|
private |
Definition at line 155 of file ScCALORawToDigi.cc.
References SDSNumbering::CaloTCPMaxSDSID, SDSNumbering::CaloTCPMinSDSID, gather_cfg::cout, FEDRawData::data(), DTskim_cfg::dataType, debug_, SDSRawDataCollection::FEDData(), FEDRawData::size(), objects.autophobj::sourceId, and unpackOrbitFromTCP().
Referenced by produce().
|
private |
Definition at line 61 of file ScCALORawToDigi.h.
Referenced by produce(), and ScCaloRawToDigi().
|
private |
Definition at line 60 of file ScCALORawToDigi.h.
|
private |
Definition at line 56 of file ScCALORawToDigi.h.
Referenced by ScCaloRawToDigi(), unpackEGammas(), unpackEtSums(), unpackJets(), unpackOrbitFromDMA(), unpackOrbitFromTCP(), unpackTaus(), and unpackTcpData().
|
private |
Definition at line 63 of file ScCALORawToDigi.h.
Referenced by produce().
|
private |
Definition at line 57 of file ScCALORawToDigi.h.
Referenced by ScCaloRawToDigi(), and unpackEtSums().
|
private |
Definition at line 65 of file ScCALORawToDigi.h.
Referenced by produce().
|
private |
Definition at line 62 of file ScCALORawToDigi.h.
Referenced by produce().
|
private |
Definition at line 48 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackEGammas().
|
private |
Definition at line 48 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackEtSums().
|
private |
Definition at line 48 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackJets().
|
private |
Definition at line 48 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackTaus().
|
private |
Definition at line 52 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackEGammas().
|
private |
Definition at line 54 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackEtSums().
|
private |
Definition at line 51 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackJets().
|
private |
Definition at line 53 of file ScCALORawToDigi.h.
Referenced by produce(), ScCaloRawToDigi(), and unpackTaus().
|
private |
Definition at line 59 of file ScCALORawToDigi.h.
Referenced by produce(), and ScCaloRawToDigi().
|
private |
Definition at line 58 of file ScCALORawToDigi.h.
Referenced by ScCaloRawToDigi().
|
private |
Definition at line 64 of file ScCALORawToDigi.h.
Referenced by produce().