#include <VertexBeamspotOrigins.h>
Public Types | |
enum | OperationMode { OperationMode::BEAM_SPOT_FIXED, OperationMode::BEAM_SPOT_SIGMA, OperationMode::VERTICES_FIXED, OperationMode::VERTICES_SIGMA } |
using | Origins = std::vector< std::pair< GlobalPoint, float > > |
Public Member Functions | |
Origins | origins (const edm::Event &iEvent) const |
VertexBeamspotOrigins (const edm::ParameterSet ®PSet, edm::ConsumesCollector &&iC) | |
VertexBeamspotOrigins (const edm::ParameterSet ®PSet, edm::ConsumesCollector &iC) | |
~VertexBeamspotOrigins ()=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &desc, const std::string &defaultBeamSpot="offlineBeamSpot", const std::string &defaultVertex="firstStepPrimaryVertices", int defaultMaxVertices=-1) |
Private Attributes | |
int | m_maxNVertices |
float | m_nSigmaZBeamSpot |
float | m_nSigmaZVertex |
OperationMode | m_operationMode |
float | m_zErrorBeamSpot |
float | m_zErrorVertex |
edm::EDGetTokenT< reco::BeamSpot > | token_beamSpot |
edm::EDGetTokenT< reco::VertexCollection > | token_vertex |
Definition at line 15 of file VertexBeamspotOrigins.h.
using VertexBeamspotOrigins::Origins = std::vector<std::pair<GlobalPoint, float> > |
Definition at line 17 of file VertexBeamspotOrigins.h.
|
strong |
Enumerator | |
---|---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA |
Definition at line 18 of file VertexBeamspotOrigins.h.
|
inline |
Definition at line 20 of file VertexBeamspotOrigins.h.
References fillDescriptions(), iEvent, origins(), AlCaHLTBitMon_QueryRunRegistry::string, and ~VertexBeamspotOrigins().
VertexBeamspotOrigins::VertexBeamspotOrigins | ( | const edm::ParameterSet & | regPSet, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 3 of file VertexBeamspotOrigins.cc.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, edm::ConsumesCollector::consumes(), Exception, edm::ParameterSet::getParameter(), m_maxNVertices, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_operationMode, m_zErrorBeamSpot, m_zErrorVertex, AlCaHLTBitMon_QueryRunRegistry::string, token_beamSpot, token_vertex, VERTICES_FIXED, and VERTICES_SIGMA.
|
default |
Referenced by VertexBeamspotOrigins().
|
static |
Definition at line 38 of file VertexBeamspotOrigins.cc.
References edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions(), AreaSeededTrackingRegionsProducer::fillDescriptions(), CandidatePointSeededTrackingRegionsProducer::fillDescriptions(), and VertexBeamspotOrigins().
VertexBeamspotOrigins::Origins VertexBeamspotOrigins::origins | ( | const edm::Event & | iEvent | ) | const |
Definition at line 53 of file VertexBeamspotOrigins.cc.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, edm::Event::getByToken(), edm::HandleBase::isValid(), m_maxNVertices, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_operationMode, m_zErrorBeamSpot, m_zErrorVertex, runTheMatrix::ret, reco::BeamSpot::sigmaZ(), token_beamSpot, token_vertex, findQualityFiles::v, pwdgSkimBPark_cfi::vertices, VERTICES_FIXED, VERTICES_SIGMA, reco::BeamSpot::x0(), reco::BeamSpot::y0(), reco::BeamSpot::z0(), and reco::BeamSpot::z0Error().
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce(), AreaSeededTrackingRegionsProducer::regions(), CandidatePointSeededTrackingRegionsProducer::regions(), and VertexBeamspotOrigins().
|
private |
Definition at line 38 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 40 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 42 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 33 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 41 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 43 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 36 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().
|
private |
Definition at line 35 of file VertexBeamspotOrigins.h.
Referenced by origins(), and VertexBeamspotOrigins().