#include <RecoBTag/FastPrimaryVertexWithWeightsProducer/src/FastPrimaryVertexWithWeightsProducer.cc>
Public Member Functions | |
FastPrimaryVertexWithWeightsProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 125 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(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
if it is a cluster to project
Definition at line 224 of file FastPrimaryVertexWithWeightsProducer.cc.
References funct::abs(), ecalDrivenElectronSeedsParameters_cff::beamSpot, beamSpotToken, edm::View< T >::begin(), edmNew::DetSetVector< T >::begin(), ALCARECOTkAlJpsiMuMu_cff::charge, SiPixelCluster::charge(), clustersToken, DEFINE_FWK_MODULE, hiPixelPairStep_cff::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(), fwrapper::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(), HiRegitMuonDetachedTripletStep_cff::pixelClusters, GeomDet::position(), createTree::pp, edm::Handle< T >::product(), edm::ESHandle< T >::product(), EnergyCorrector::pt, edm::Event::put(), rho, objectSelection_cff::selectedJets, edmNew::DetSet< T >::size(), SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), RecoTauValidation_cfi::sizeY, mathSSE::sqrt(), GeomDet::surface(), Surface::toGlobal(), mixOne_simraw_on_sim_cfi::tracker, findQualityFiles::v, 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 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 67 of file FastPrimaryVertexWithWeightsProducer.cc.
|
private |
Definition at line 102 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 96 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 79 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 99 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 75 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 98 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 78 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 66 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 97 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 76 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 83 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 74 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 93 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 82 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 120 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 122 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 121 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 80 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 81 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 89 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 103 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 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().
|
private |
Definition at line 111 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 116 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 107 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 110 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 115 of file FastPrimaryVertexWithWeightsProducer.cc.
Referenced by produce().