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 |
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< 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::vector< edm::Ref< BXVector< l1t::EGamma >>> &egsta_refs, 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, std::vector< edm::Ref< BXVector< l1t::EGamma >>> &egsta_refs) |
void | putPuppi (edm::Event &iEvent) 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 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 43 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 139 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Enumerator | |
---|---|
caloType | |
emcaloType | |
trackType | |
l1muType |
Definition at line 135 of file L1TCorrelatorLayer1Producer.cc.
|
explicit |
Definition at line 147 of file L1TCorrelatorLayer1Producer.cc.
References emCands_, emuTkVtx_, Exception, extTkVtx_, edm::ParameterSet::getParameter(), hadCands_, hasTracks_, mps_fire::i, initSectorsAndRegions(), inputTypeName, l1muType, l1pfalgo_, l1pualgo_, l1tkegalgo_, l1tkegsorter_, muonInput_, l1ct::OutputRegion::nPFTypes, nVtx_, l1ct::OutputRegion::objTypeName, regionizer_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, tkVtxEmu_, and trackInput_.
|
override |
Definition at line 273 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 701 of file L1TCorrelatorLayer1Producer.cc.
References c, l1tTowerCalibrationProducer_cfi::calo, l1ct::Scales::makeGlbEta(), l1ct::Scales::makePhi(), l1ct::Scales::makePtFromFloat(), and fileinputsource_cfi::sec.
Referenced by addEmCalo().
|
private |
Definition at line 670 of file L1TCorrelatorLayer1Producer.cc.
References c, l1tTowerCalibrationProducer_cfi::calo, l1ct::Scales::makeGlbEta(), l1ct::Scales::makePhi(), l1ct::Scales::makePtFromFloat(), and fileinputsource_cfi::sec.
Referenced by addHadCalo().
|
private |
Definition at line 651 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 615 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 606 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedEmCalo(), c, clusterRefMap_, l1ct::Event::decoded, l1ct::RegionizerDecodedInputs::emcalo, event_, and fileinputsource_cfi::sec.
Referenced by produce().
|
private |
Definition at line 594 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedHadCalo(), addRawHgcalCluster(), 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 589 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 683 of file L1TCorrelatorLayer1Producer.cc.
References c, l1ct::Scales::ETAPHI_LSB, M_PI, and fileinputsource_cfi::sec.
Referenced by addHadCalo().
|
private |
Definition at line 580 of file L1TCorrelatorLayer1Producer.cc.
References addDecodedTrack(), cms::cuda::assert(), l1ct::Event::decoded, event_, l1ct::Event::raw, volumeBasedMagneticField_160812_cfi::sectors, submitPVValidationJobs::t, l1ct::RawInputs::track, l1ct::RegionizerDecodedInputs::track, and trackRefMap_.
Referenced by produce().
|
private |
Definition at line 490 of file L1TCorrelatorLayer1Producer.cc.
References iEvent.
Referenced by produce().
|
overrideprivate |
Definition at line 275 of file L1TCorrelatorLayer1Producer.cc.
References event_, fRegionDump_, MillePedeFileConverter_cfg::out, patternWriterConfigs_, patternWriters_, muonDTDigis_cfi::pset, and regionDumpName_.
|
private |
|
overrideprivate |
Definition at line 296 of file L1TCorrelatorLayer1Producer.cc.
References patternWriters_, and convertToRaw::writer.
|
private |
Definition at line 809 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 793 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 840 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 824 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().
|
private |
Definition at line 570 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 494 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Event::board_out, l1ct::Event::decoded, l1ct::RegionizerDecodedInputs::emcalo, hltEgammaEleL1TrkIsoL1Seeded_cfi::etaBoundaries, l1pfProducerBarrel_cfi::etaExtra, photons_cff::etaWidth, event_, Exception, edm::ParameterSet::getParameter(), l1ct::RegionizerDecodedInputs::hadcalo, l1ct::RawInputs::hgcalcluster, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, M_PI, l1ct::Scales::maxAbsEta(), l1ct::Scales::maxAbsPhi(), l1ct::RawInputs::muon, l1ct::RegionizerDecodedInputs::muon, neta, l1ct::Event::pfinputs, l1pfProducerBarrel_cfi::phiExtra, l1pfProducerBarrel_cfi::phiSlices, photons_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 303 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_, 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_, PDWG_BPHSkim_cff::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(), tracks, trkPt_, vecOutput(), vecRegInput(), vecSecInput(), l1t::VertexWord::vertexWord(), extraflags_cff::vtx, l1ct::Event::write(), convertToRaw::writer, HLTMuonOfflineAnalyzer_cfi::z0, and l1t::VertexWord::z0().
|
private |
Definition at line 969 of file L1TCorrelatorLayer1Producer.cc.
References l1ct::Event::board_out, event_, iEvent, eostools::move(), edm::refToPtr(), l1t::L1Candidate::setHwQual(), and l1TkEgAlgo_cfi::writeEgSta.
Referenced by produce().
|
private |
Definition at line 926 of file L1TCorrelatorLayer1Producer.cc.
References event_, heavyIonCSV_trainingSettings::idx, 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 876 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().
|
private |
Definition at line 715 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 1105 of file L1TCorrelatorLayer1Producer.cc.
References SiStripPI::max, and gpuPixelDoublets::ntot.
Referenced by produce().
|
private |
Definition at line 1098 of file L1TCorrelatorLayer1Producer.cc.
References event_, mps_fire::i, l1ct::Event::out, PileupJetID_cfi::usePuppi, and findQualityFiles::v.
Referenced by produce().
|
private |
Definition at line 1077 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 1053 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 87 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addEmCalo(), addHadCalo(), initEvent(), and setRefs_().
|
private |
Definition at line 49 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 84 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 61 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 64 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 54 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 66 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addEmCalo(), addHadCalo(), addMuon(), addTrack(), beginStream(), fetchEmCalo(), fetchHadCalo(), fetchPF(), fetchTracks(), initEvent(), initSectorsAndRegions(), produce(), putEgObjects(), putEgStaObjects(), putPuppi(), vecOutput(), vecRegInput(), and vecSecInput().
|
private |
Definition at line 55 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 79 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream(), and produce().
|
private |
Definition at line 62 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 64 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 51 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
staticprivate |
Definition at line 136 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 70 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 71 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 72 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 73 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 59 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addDecodedMuon(), and L1TCorrelatorLayer1Producer().
|
private |
Definition at line 89 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addMuon(), initEvent(), and setRefs_().
|
private |
Definition at line 57 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 80 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream().
|
private |
Definition at line 81 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream(), endStream(), and produce().
|
private |
Definition at line 77 of file L1TCorrelatorLayer1Producer.cc.
Referenced by beginStream().
|
private |
Definition at line 69 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 52 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 56 of file L1TCorrelatorLayer1Producer.cc.
Referenced by L1TCorrelatorLayer1Producer(), and produce().
|
private |
Definition at line 67 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addDecodedTrack(), and L1TCorrelatorLayer1Producer().
|
private |
Definition at line 88 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addTrack(), initEvent(), and setRefs_().
|
private |
Definition at line 53 of file L1TCorrelatorLayer1Producer.cc.
Referenced by produce().
|
private |
Definition at line 75 of file L1TCorrelatorLayer1Producer.cc.
|
private |
Definition at line 78 of file L1TCorrelatorLayer1Producer.cc.
Referenced by addHadCalo().