#include <VertexBeamspotOrigins.h>
Definition at line 15 of file VertexBeamspotOrigins.h.
◆ Origins
◆ OperationMode
Enumerator |
---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA | |
Definition at line 18 of file VertexBeamspotOrigins.h.
18 { BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, VERTICES_FIXED, VERTICES_SIGMA };
◆ VertexBeamspotOrigins() [1/2]
◆ VertexBeamspotOrigins() [2/2]
Definition at line 3 of file VertexBeamspotOrigins.cc.
6 if (operationModeString ==
"BeamSpotFixed")
8 else if (operationModeString ==
"BeamSpotSigma")
10 else if (operationModeString ==
"VerticesFixed")
12 else if (operationModeString ==
"VerticesSigma")
15 throw cms::Exception(
"Configuration") <<
"Unknown operation mode string: " << operationModeString;
34 throw cms::Exception(
"Configuration") <<
"nSigmaZBeamSpot must be positive for BeamSpotSigma mode!";
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.
◆ ~VertexBeamspotOrigins()
VertexBeamspotOrigins::~VertexBeamspotOrigins |
( |
| ) |
|
|
default |
◆ fillDescriptions()
void VertexBeamspotOrigins::fillDescriptions |
( |
edm::ParameterSetDescription & |
desc, |
|
|
const std::string & |
defaultBeamSpot = "offlineBeamSpot" , |
|
|
const std::string & |
defaultVertex = "firstStepPrimaryVertices" , |
|
|
int |
defaultMaxVertices = -1 |
|
) |
| |
|
static |
◆ origins()
Definition at line 53 of file VertexBeamspotOrigins.cc.
75 if (
v.isFake() || !
v.isValid())
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, pwdgSkimBPark_cfi::vertices, VERTICES_FIXED, and VERTICES_SIGMA.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce(), AreaSeededTrackingRegionsProducer::regions(), and CandidatePointSeededTrackingRegionsProducer::regions().
◆ m_maxNVertices
int VertexBeamspotOrigins::m_maxNVertices |
|
private |
◆ m_nSigmaZBeamSpot
float VertexBeamspotOrigins::m_nSigmaZBeamSpot |
|
private |
◆ m_nSigmaZVertex
float VertexBeamspotOrigins::m_nSigmaZVertex |
|
private |
◆ m_operationMode
◆ m_zErrorBeamSpot
float VertexBeamspotOrigins::m_zErrorBeamSpot |
|
private |
◆ m_zErrorVertex
float VertexBeamspotOrigins::m_zErrorVertex |
|
private |
◆ token_beamSpot
◆ token_vertex