#include <RecoBTag/FastPrimaryVertexWithWeightsProducer/src/FastPrimaryVertexWithWeightsProducer.cc>
Public Member Functions | |
FastPrimaryVertexWithWeightsProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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 127 of file FastPrimaryVertexWithWeightsProducer.cc.
References beamSpotToken, clustersToken, edm::ParameterSet::getParameter(), and jetsToken.
|
static |
Definition at line 178 of file FastPrimaryVertexWithWeightsProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
if it is a cluster to project
Definition at line 220 of file FastPrimaryVertexWithWeightsProducer.cc.
References funct::abs(), pwdgSkimBPark_cfi::beamSpot, beamSpotToken, edm::View< T >::begin(), edmNew::DetSetVector< T >::begin(), ALCARECOTkAlJpsiMuMu_cff::charge, SiPixelCluster::charge(), clustersToken, DEFINE_FWK_MODULE, SiPixelRawToDigiRegional_cfi::deltaPhi, MillePedeFileConverter_cfg::e, edm::View< T >::end(), edmNew::DetSetVector< T >::end(), PVValHelper::eta, JetChargeProducer_cfi::exp, FindPeakFastPV(), edm::EventSetup::get(), edm::Event::getByToken(), mps_fire::i, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), dqmiolumiharvest::j, singleTopDQM_cfi::jets, jetsToken, PixelClusterParameterEstimator::localParametersV(), m_barrel, m_EC_weight, m_endCap, 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_pixelCPE, 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(), LumiMonitor_cff::pixelClusters, GeomDet::position(), createTree::pp, edm::Handle< T >::product(), edm::ESHandle< T >::product(), DiDispStaMuonMonitor_cfi::pt, edm::Event::put(), 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(), PbPb_ZMuSkimMuonDPG_cff::tracker, findQualityFiles::v, HLT_2018_cff::weight_dPhi, PV3DBase< T, PVType, FrameType >::x(), reco::BeamSpot::x(), reco::BeamSpot::x0(), PV3DBase< T, PVType, FrameType >::y(), reco::BeamSpot::y(), reco::BeamSpot::y0(), z, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 68 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by FastPrimaryVertexWithWeightsProducer(), and produce().
|
private |
Definition at line 67 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 75 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 65 of file FastPrimaryVertexWithWeightsProducer.cc.
|
private |
Definition at line 104 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 98 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 77 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 101 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 73 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 100 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 64 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 99 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 74 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 83 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 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 66 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 122 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 124 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 123 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 78 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 93 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 79 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 105 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 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().
|
private |
Definition at line 113 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 118 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 109 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 112 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 117 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().