#include <RecoBTag/FastPrimaryVertexWithWeightsProducer/src/FastPrimaryVertexWithWeightsProducer.cc>
Public Member Functions | |
FastPrimaryVertexWithWeightsProducer (const edm::ParameterSet &) | |
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 |
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 |
Description: The FastPrimaryVertex is an algorithm used to find the primary vertex of an event . It takes the pixel clusters compabible with a jet and project it to the beamSpot with the eta-angle of the jet. The peak on the z-projected clusters distribution is our FastPrimaryVertex.
Implementation: [Notes on implementation]
Definition at line 56 of file FastPrimaryVertexWithWeightsProducer.cc.
|
explicit |
Definition at line 129 of file FastPrimaryVertexWithWeightsProducer.cc.
References beamSpotToken, clustersToken, edm::ParameterSet::getParameter(), and jetsToken.
|
static |
Definition at line 180 of file FastPrimaryVertexWithWeightsProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
if it is a cluster to project
Definition at line 222 of file FastPrimaryVertexWithWeightsProducer.cc.
References funct::abs(), pwdgSkimBPark_cfi::beamSpot, beamSpotToken, ALCARECOTkAlJpsiMuMu_cff::charge, SiPixelCluster::charge(), clustersToken, SiPixelRawToDigiRegional_cfi::deltaPhi, MillePedeFileConverter_cfg::e, PVValHelper::eta, JetChargeProducer_cfi::exp, FindPeakFastPV(), edm::EventSetup::getData(), mps_fire::i, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), iEvent, dqmiolumiharvest::j, PDWG_EXODelayedJetMET_cff::jets, jetsToken, m_barrel, m_EC_weight, m_endCap, m_geomToken, m_maxDeltaPhi, m_maxDeltaPhi_EC, m_maxJetEta, m_maxJetEta_EC, m_maxSizeX, m_maxSizeY_q, m_maxZ, m_minJetEta_EC, m_minJetPt, m_minSizeY_q, m_njets, m_peakSizeY_q, m_PixelCellHeightOverWidth, m_pixelCPEToken, m_ptWeighting, m_ptWeighting_offset, m_ptWeighting_slope, m_weight_charge_down, m_weight_charge_peak, m_weight_charge_up, m_weight_dPhi, m_weight_dPhi_EC, m_weight_rho_up, m_weight_SizeX1, m_weightCut_step2, m_weightCut_step3, m_zClusterSearchArea_step2, m_zClusterSearchArea_step3, m_zClusterWidth_step1, m_zClusterWidth_step2, m_zClusterWidth_step3, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::phi(), DQMOffline_LumiMonitoring_cff::pixelClusters, GeomDet::position(), createTree::pp, edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, rho, objectSelection_cff::selectedJets, edmNew::DetSet< T >::size(), SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), RecoTauValidation_cfi::sizeY, mathSSE::sqrt(), GeomDet::surface(), Surface::toGlobal(), findQualityFiles::v, HLT_2023v12_cff::weight_dPhi, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 70 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by FastPrimaryVertexWithWeightsProducer(), and produce().
|
private |
Definition at line 69 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by FastPrimaryVertexWithWeightsProducer(), and produce().
|
private |
Definition at line 71 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by FastPrimaryVertexWithWeightsProducer(), and produce().
|
private |
Definition at line 77 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file FastPrimaryVertexWithWeightsProducer.cc.
|
private |
Definition at line 106 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 100 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 64 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 79 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 103 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 75 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 102 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 78 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 67 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 101 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 76 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 85 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 74 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 97 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 83 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 65 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 124 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 126 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 125 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 80 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 95 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 81 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 107 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 94 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 93 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 116 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 121 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 115 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 120 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 111 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 114 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 119 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().