#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.
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 |
|
static |
Definition at line 38 of file VertexBeamspotOrigins.cc.
References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions(), AreaSeededTrackingRegionsProducer::fillDescriptions(), and CandidatePointSeededTrackingRegionsProducer::fillDescriptions().
VertexBeamspotOrigins::Origins VertexBeamspotOrigins::origins | ( | const edm::Event & | iEvent | ) | const |
Definition at line 53 of file VertexBeamspotOrigins.cc.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, cms::cuda::bs, iEvent, m_maxNVertices, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_operationMode, m_zErrorBeamSpot, m_zErrorVertex, runTheMatrix::ret, token_beamSpot, token_vertex, findQualityFiles::v, AlignmentTracksFromVertexSelector_cfi::vertices, VERTICES_FIXED, and VERTICES_SIGMA.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce(), AreaSeededTrackingRegionsProducer::regions(), and CandidatePointSeededTrackingRegionsProducer::regions().
|
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().