#include <RecoBTag/FastPrimaryVertexWithWeightsProducer/src/FastPrimaryVertexWithWeightsProducer.cc>
Public Member Functions | |
FastPrimaryVertexWithWeightsProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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(), HLT_25ns14e33_v1_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatevirtual |
if it is a cluster to project
Implements edm::stream::EDProducerBase.
Definition at line 224 of file FastPrimaryVertexWithWeightsProducer.cc.
References funct::abs(), SiPixelRawToDigiRegional_cfi::beamSpot, beamSpotToken, RecoTauCleanerPlugins::charge, SiPixelCluster::charge(), clustersToken, SiPixelRawToDigiRegional_cfi::deltaPhi, alignCSCRings::e, eta(), create_public_lumi_plots::exp, FindPeakFastPV(), edm::EventSetup::get(), edm::Event::getByToken(), i, j, fwrapper::jets, jetsToken, 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, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::phi(), HLT_25ns14e33_v1_cff::pixelClusters, createTree::pp, EnergyCorrector::pt, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, rho, patRefSel_refMuJets_cfi::selectedJets, edmNew::DetSet< T >::size(), SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), mathSSE::sqrt(), patCandidatesForDimuonsSequences_cff::tracker, findQualityFiles::v, histoStyle::weight, HLT_25ns14e33_v1_cff::weight_dPhi, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::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().