#include <RecoBTag/FastPrimaryVertexWithWeightsProducer/src/FastPrimaryVertexWithWeightsProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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.
|
privatevirtual |
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, MuonCkfTrajectoryBuilder_cfi::deltaPhi, MillePedeFileConverter_cfg::e, edm::View< T >::end(), edmNew::DetSetVector< T >::end(), stringResolutionProvider_cfi::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(), hiDetachedTripletStep_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().