Public Member Functions | |
L1TCorrelatorLayer1Producer (const edm::ParameterSet &) | |
~L1TCorrelatorLayer1Producer () 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 | InputType { caloType = 0, emcaloType = 1, trackType = 2, l1muType = 3 } |
typedef l1ct::OutputRegion::ObjType | OutputType |
Private Member Functions | |
void | addDecodedEmCalo (l1ct::DetectorSector< l1ct::EmCaloObjEmu > &sec, const l1t::PFCluster &t) |
void | addDecodedHadCalo (l1ct::DetectorSector< l1ct::HadCaloObjEmu > &sec, const l1t::PFCluster &t) |
void | addDecodedMuon (l1ct::DetectorSector< l1ct::MuObjEmu > &sec, const l1t::SAMuon &t) |
void | addDecodedTrack (l1ct::DetectorSector< l1ct::TkObjEmu > &sec, const l1t::PFTrack &t) |
void | addEmCalo (const l1t::PFCluster &t, l1t::PFClusterRef ref) |
void | addHadCalo (const l1t::PFCluster &t, l1t::PFClusterRef ref) |
void | addMuon (const l1t::SAMuon &t, l1t::PFCandidate::MuonRef ref) |
void | addRawHgcalCluster (l1ct::DetectorSector< ap_uint< 256 >> &sec, const l1t::PFCluster &c) |
void | addTrack (const l1t::PFTrack &t, l1t::PFTrackRef ref) |
void | addUInt (unsigned int value, std::string iLabel, edm::Event &iEvent) |
void | beginStream (edm::StreamID) override |
void | doVertexings (std::vector< float > &pvdz) const |
void | endStream () override |
std::unique_ptr< std::vector< l1t::PFTrack > > | fetchDecodedTracks () const |
std::unique_ptr< l1t::PFCandidateCollection > | fetchEmCalo () const |
std::unique_ptr< l1t::PFCandidateCollection > | fetchHadCalo () const |
std::unique_ptr< l1t::PFCandidateCollection > | fetchPF () const |
std::unique_ptr< l1t::PFCandidateCollection > | fetchTracks () const |
void | initEvent (const edm::Event &e) |
void | initSectorsAndRegions (const edm::ParameterSet &iConfig) |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | putEgObjects (edm::Event &iEvent, const bool writeEgSta, const std::string &tkEmLabel, const std::string &tkEmPerBoardLabel, const std::string &tkEleLabel, const std::string &tkElePerBoardLabel) const |
void | putEgStaObjects (edm::Event &iEvent, const std::string &egLablel) const |
void | putPuppi (edm::Event &iEvent) const |
template<class T > | |
void | rawHgcalClusterEncode (ap_uint< 256 > &cwrd, const l1ct::DetectorSector< T > &sec, const l1t::PFCluster &c) const |
template<typename T > | |
void | setRefs_ (l1t::PFCandidate &pf, const T &p) const |
std::pair< unsigned int, unsigned int > | totAndMax (const std::vector< unsigned > &perRegion) const |
std::unique_ptr< std::vector< unsigned > > | vecOutput (OutputType i, bool usePuppi) const |
std::unique_ptr< std::vector< unsigned > > | vecRegInput (InputType i) const |
std::unique_ptr< std::vector< unsigned > > | vecSecInput (InputType i) const |
Static Private Member Functions | |
template<typename T > | |
static edm::ParameterDescription< edm::ParameterSetDescription > | getParDesc (const std::string &name) |
Static Private Attributes | |
static constexpr const char * | inputTypeName [l1muType+1] = {"Calo", "EmCalo", "TK", "Mu"} |
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 50 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 178 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Enumerator | |
---|---|
caloType | |
emcaloType | |
trackType | |
l1muType |
Definition at line 174 of file L1TCorrelatorLayer1Producer.cc.
|
explicit |
Definition at line 193 of file L1TCorrelatorLayer1Producer.cc.
References emCands_, emuTkVtx_, Exception, extTkVtx_, edm::ParameterSet::getParameter(), hadCands_, hasTracks_, hgcalInput_, mps_fire::i, initSectorsAndRegions(), inputTypeName, l1muType, l1pfalgo_, l1pualgo_, l1tkegalgo_, l1tkegsorter_, muonInput_, l1ct::OutputRegion::nPFTypes, nVtx_, l1ct::OutputRegion::objTypeName, muonDTDigis_cfi::pset, regionizer_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, tkVtxEmu_, and trackInput_.
|
override |
Definition at line 343 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 847 of file L1TCorrelatorLayer1Producer.cc.
References DummyCfis::c, l1tPhase2CaloJetEmulator_cfi::calo, l1ct::Scales::makeGlbEta(), l1ct::Scales::makePhi(), l1ct::Scales::makePtFromFloat(), and fileinputsource_cfi::sec.
Referenced by addEmCalo().
|
private |
Definition at line 819 of file L1TCorrelatorLayer1Producer.cc.
References DummyCfis::c, l1tPhase2CaloJetEmulator_cfi::calo, hgcalInput_, l1ct::Scales::makeGlbEta(), l1ct::Scales::makeHoe(), l1ct::Scales::makeMeanZ(), l1ct::Scales::makePhi(), l1ct::Scales::makePtFromFloat(), l1ct::Scales::makeSrrTot(), rawHgcalClusterEncode(), and fileinputsource_cfi::sec.
Referenced by addHadCalo().
|
private |
Definition at line 800 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Scales::makeGlbEta(), l1ct::Scales::makeGlbPhi(), l1ct::Scales::makePtFromFloat(), l1ct::Scales::makeZ0(), amptDefaultParameters_cff::mu, muonInput_, fileinputsource_cfi::sec, and submitPVValidationJobs::t.
Referenced by addMuon().
|
private |
Definition at line 764 of file L1TCorrelatorLayer1Producer.cc.
References funct::abs(), reco::deltaPhi(), l1ct::Scales::makeEta(), l1ct::Scales::makeGlbEta(), l1ct::Scales::makePhi(), l1ct::Scales::makePtFromFloat(), l1ct::Scales::makeZ0(), fileinputsource_cfi::sec, submitPVValidationJobs::t, and trackInput_.
Referenced by addTrack().
|
private |
Definition at line 755 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedEmCalo(), DummyCfis::c, clusterRefMap_, l1ct::Event::decoded, l1ct::RegionizerDecodedInputs::emcalo, event_, and fileinputsource_cfi::sec.
Referenced by produce().
|
private |
Definition at line 743 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedHadCalo(), addRawHgcalCluster(), DummyCfis::c, clusterRefMap_, l1ct::Event::decoded, event_, l1ct::RegionizerDecodedInputs::hadcalo, l1ct::RawInputs::hgcalcluster, l1ct::Event::raw, fileinputsource_cfi::sec, and writeRawHgcalCluster_.
Referenced by produce().
|
private |
Definition at line 738 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedMuon(), l1ct::Event::decoded, event_, amptDefaultParameters_cff::mu, l1ct::RawInputs::muon, l1ct::RegionizerDecodedInputs::muon, muonRefMap_, l1ct::DetectorSector< T >::obj, and l1ct::Event::raw.
Referenced by produce().
|
private |
Definition at line 841 of file L1TCorrelatorLayer1Producer.cc.
References DummyCfis::c, rawHgcalClusterEncode(), and fileinputsource_cfi::sec.
Referenced by addHadCalo().
|
private |
Definition at line 729 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedTrack(), cms::cuda::assert(), l1ct::Event::decoded, event_, l1ctLayer1_patternWriters_cff::isec, l1ct::Event::raw, volumeBasedMagneticField_160812_cfi::sectors, submitPVValidationJobs::t, l1ct::RawInputs::track, l1ct::RegionizerDecodedInputs::track, and trackRefMap_.
Referenced by produce().
|
private |
Definition at line 639 of file L1TCorrelatorLayer1Producer.cc.
References iEvent.
Referenced by produce().
|
overrideprivate |
Definition at line 423 of file L1TCorrelatorLayer1Producer.cc.
References event_, fRegionDump_, MillePedeFileConverter_cfg::out, patternWriterConfigs_, patternWriters_, muonDTDigis_cfi::pset, and regionDumpName_.
|
private |
|
overrideprivate |
Definition at line 444 of file L1TCorrelatorLayer1Producer.cc.
References patternWriters_, and convertToRaw::writer.
|
private |
Definition at line 988 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Event::decoded, event_, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, runTheMatrix::ret, l1ct::RegionizerDecodedInputs::track, and L1BJetProducer_cff::vtx.
Referenced by produce().
|
private |
Definition at line 957 of file L1TCorrelatorLayer1Producer.cc.
References event_, AlCaHLTBitMon_ParallelJobs::p, l1ct::Event::pfinputs, l1t::PFCandidate::Photon, alignCSCRings::r, runTheMatrix::ret, and setRefs_().
Referenced by produce().
|
private |
Definition at line 941 of file L1TCorrelatorLayer1Producer.cc.
References event_, l1t::PFCandidate::NeutralHadron, AlCaHLTBitMon_ParallelJobs::p, l1ct::Event::pfinputs, l1t::PFCandidate::Photon, alignCSCRings::r, runTheMatrix::ret, and setRefs_().
Referenced by produce().
|
private |
Definition at line 1019 of file L1TCorrelatorLayer1Producer.cc.
References l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, event_, f, l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, EgHLTOffHistBins_cfi::nr, l1ct::Event::out, AlCaHLTBitMon_ParallelJobs::p, l1ct::Event::pfinputs, l1t::PFCandidate::Photon, runTheMatrix::ret, and setRefs_().
Referenced by produce().
|
private |
Definition at line 972 of file L1TCorrelatorLayer1Producer.cc.
References l1t::PFCandidate::ChargedHadron, event_, f, AlCaHLTBitMon_ParallelJobs::p, l1ct::Event::pfinputs, alignCSCRings::r, runTheMatrix::ret, and setRefs_().
Referenced by produce().
|
static |
Definition at line 345 of file L1TCorrelatorLayer1Producer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, L1TCorrelatorLayer1PatternFileWriter::getParameterSetDescription(), l1ct::PFTkEGAlgoEmuConfig::getParameterSetDescription(), l1ct::MultififoRegionizerEmulator::getParameterSetDescriptionBarrel(), ProducerED_cfi::InputTag, or, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestaticprivate |
|
private |
Definition at line 719 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Event::clear(), clusterRefMap_, l1ct::Event::event, event_, iEvent, l1ct::Event::lumi, muonRefMap_, l1ct::Event::run, and trackRefMap_.
Referenced by produce().
|
private |
Definition at line 643 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Event::board_out, l1ct::Event::decoded, l1ct::RegionizerDecodedInputs::emcalo, hltEgammaEleL1TrkIsoL1Seeded_cfi::etaBoundaries, electrons_cff::etaWidth, event_, Exception, edm::ParameterSet::getParameter(), l1ct::RegionizerDecodedInputs::hadcalo, l1ct::RawInputs::hgcalcluster, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, M_PI, l1ct::Scales::maxAbsEta(), l1ct::Scales::maxAbsPhi(), l1ct::RawInputs::muon, l1ct::RegionizerDecodedInputs::muon, neta, l1ct::Event::pfinputs, l1ctLayer1_cff::phiSlices, electrons_cff::phiWidth, l1ctLayer1_cff::phiZero, l1ct::Event::raw, reco::reduceRange(), l1ct::DetectorSector< T >::region, l1ct::RawInputs::track, and l1ct::RegionizerDecodedInputs::track.
Referenced by L1TCorrelatorLayer1Producer().
|
overrideprivate |
—— READ TRACKS -—
---— READ MUONS -—
Definition at line 451 of file L1TCorrelatorLayer1Producer.cc.
References a, addEmCalo(), addHadCalo(), addMuon(), addTrack(), addUInt(), b, l1ct::Event::board_out, l1ct::Event::clear(), debugEta_, debugPhi_, debugR_, l1ct::Event::decoded, PbPb_ZMuSkimMuonDPG_cff::deltaR, emCands_, emPtCut_, emuTkVtx_, event_, extTkVtx_, fetchDecodedTracks(), fetchEmCalo(), fetchHadCalo(), fetchPF(), fetchTracks(), fRegionDump_, hadCands_, hadPtCut_, hasTracks_, l1ct::PVObj::hwZ0, mps_fire::i, iEvent, initEvent(), inputTypeName, l1muType, l1pfalgo_, l1pualgo_, l1tkegalgo_, l1tkegsorter_, l1ct::Scales::makeZ0(), SiStripPI::min, eostools::move(), amptDefaultParameters_cff::mu, muCands_, DiMuonV_cfg::muons, dqmiodumpmetadata::n, l1ct::OutputRegion::nPFTypes, EgHLTOffHistBins_cfi::nr, nVtx_, l1ct::OutputRegion::objTypeName, l1ct::Event::out, patternWriters_, l1ct::Event::pfinputs, putEgObjects(), putEgStaObjects(), putPuppi(), l1ct::Event::pvs, l1ct::Event::pvs_emu, regionizer_, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, tkCands_, tkVtxEmu_, totAndMax(), DiMuonV_cfg::tracks, trkPt_, vecOutput(), vecRegInput(), vecSecInput(), l1t::VertexWord::vertexWord(), L1BJetProducer_cff::vtx, l1ct::Event::write(), convertToRaw::writer, HLTMuonOfflineAnalyzer_cfi::z0, and l1t::VertexWord::z0().
|
private |
Definition at line 1130 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Event::board_out, l1t::TkEm::CT, event_, iEvent, eostools::move(), edm::refToPtr(), and l1t::L1Candidate::setHwQual().
Referenced by produce().
|
private |
Definition at line 1108 of file L1TCorrelatorLayer1Producer.cc.
References event_, iEvent, eostools::move(), EgHLTOffHistBins_cfi::nr, l1ct::Event::out, AlCaHLTBitMon_ParallelJobs::p, l1ct::Event::pfinputs, and l1t::L1Candidate::setHwQual().
Referenced by produce().
|
private |
Definition at line 1060 of file L1TCorrelatorLayer1Producer.cc.
References l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, event_, iEvent, EgHLTOffHistBins_cfi::mass, eostools::move(), l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, EgHLTOffHistBins_cfi::nr, l1ct::Event::out, AlCaHLTBitMon_ParallelJobs::p, l1ct::Event::pfinputs, l1t::PFCandidate::Photon, and setRefs_().
Referenced by produce().
|
inlineprivate |
Definition at line 122 of file L1TCorrelatorLayer1Producer.cc.
References DummyCfis::c, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), l1ct::Scales::ETAPHI_LSB, M_PI, fileinputsource_cfi::sec, l1ct::Scales::SRRTOT_LSB, and l1ct::Scales::SRRTOT_SCALE.
Referenced by addDecodedHadCalo(), and addRawHgcalCluster().
|
private |
Definition at line 863 of file L1TCorrelatorLayer1Producer.cc.
References clusterRefMap_, Exception, match(), muonRefMap_, AlCaHLTBitMon_ParallelJobs::p, packedPFCandidateRefMixer_cfi::pf, and trackRefMap_.
Referenced by fetchEmCalo(), fetchHadCalo(), fetchPF(), fetchTracks(), and putPuppi().
|
private |
Definition at line 1250 of file L1TCorrelatorLayer1Producer.cc.
References SiStripPI::max, and ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ntot.
Referenced by produce().
|
private |
Definition at line 1243 of file L1TCorrelatorLayer1Producer.cc.
References event_, mps_fire::i, l1ct::Event::out, and findQualityFiles::v.
Referenced by produce().
|
private |
Definition at line 1222 of file L1TCorrelatorLayer1Producer.cc.
References caloType, emcaloType, event_, l1muType, l1ct::Event::pfinputs, submitPVValidationJobs::t, trackType, and findQualityFiles::v.
Referenced by produce().
|
private |
Definition at line 1198 of file L1TCorrelatorLayer1Producer.cc.
References caloType, l1ct::Event::decoded, l1ct::RegionizerDecodedInputs::emcalo, emcaloType, event_, l1ct::RegionizerDecodedInputs::hadcalo, l1muType, l1ct::RegionizerDecodedInputs::muon, alignCSCRings::s, submitPVValidationJobs::t, l1ct::RegionizerDecodedInputs::track, trackType, and findQualityFiles::v.
Referenced by produce().
|
private |
Definition at line 96 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addEmCalo(), addHadCalo(), initEvent(), and setRefs_().
|
private |
Definition at line 58 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 93 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 93 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 93 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 70 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 73 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 63 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 75 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addEmCalo(), addHadCalo(), addMuon(), addTrack(), beginStream(), fetchDecodedTracks(), fetchEmCalo(), fetchHadCalo(), fetchPF(), fetchTracks(), initEvent(), initSectorsAndRegions(), produce(), putEgObjects(), putEgStaObjects(), putPuppi(), vecOutput(), vecRegInput(), and vecSecInput().
|
private |
Definition at line 64 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 88 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream(), and produce().
|
private |
Definition at line 71 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 73 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 60 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 78 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addDecodedHadCalo(), and L1TCorrelatorLayer1Producer().
|
staticprivate |
Definition at line 175 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 80 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 81 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 82 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 83 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 68 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 77 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addDecodedMuon(), and L1TCorrelatorLayer1Producer().
|
private |
Definition at line 98 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addMuon(), initEvent(), and setRefs_().
|
private |
Definition at line 66 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 89 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream().
|
private |
Definition at line 90 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream(), endStream(), and produce().
|
private |
Definition at line 86 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream().
|
private |
Definition at line 79 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 61 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 65 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 76 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addDecodedTrack(), and L1TCorrelatorLayer1Producer().
|
private |
Definition at line 97 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addTrack(), initEvent(), and setRefs_().
|
private |
Definition at line 62 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addHadCalo().