CMS 3D CMS Logo

VertexBeamspotOrigins.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkTrackingRegions_VertexBeamspotOrigins_h
2 #define RecoTracker_TkTrackingRegions_VertexBeamspotOrigins_h
3 
11 
12 #include <vector>
13 #include <utility>
14 
16 public:
17  using Origins = std::vector<std::pair<GlobalPoint, float> >; // (origin, half-length in z)
19 
21  : VertexBeamspotOrigins(regPSet, iC) {}
23  ~VertexBeamspotOrigins() = default;
24 
26  const std::string& defaultBeamSpot = "offlineBeamSpot",
27  const std::string& defaultVertex = "firstStepPrimaryVertices",
28  int defaultMaxVertices = -1);
29 
30  Origins origins(const edm::Event& iEvent) const;
31 
32 private:
34 
37 
39 
44 };
45 
46 #endif
VertexBeamspotOrigins::m_operationMode
OperationMode m_operationMode
Definition: VertexBeamspotOrigins.h:33
VertexBeamspotOrigins::OperationMode::BEAM_SPOT_FIXED
VertexBeamspotOrigins::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc, const std::string &defaultBeamSpot="offlineBeamSpot", const std::string &defaultVertex="firstStepPrimaryVertices", int defaultMaxVertices=-1)
Definition: VertexBeamspotOrigins.cc:38
VertexBeamspotOrigins::~VertexBeamspotOrigins
~VertexBeamspotOrigins()=default
VertexBeamspotOrigins::OperationMode::VERTICES_SIGMA
edm::EDGetTokenT< reco::VertexCollection >
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
VertexBeamspotOrigins::OperationMode::BEAM_SPOT_SIGMA
VertexBeamspotOrigins::token_vertex
edm::EDGetTokenT< reco::VertexCollection > token_vertex
Definition: VertexBeamspotOrigins.h:35
BeamSpot.h
VertexBeamspotOrigins::token_beamSpot
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
Definition: VertexBeamspotOrigins.h:36
VertexBeamspotOrigins::m_zErrorVertex
float m_zErrorVertex
Definition: VertexBeamspotOrigins.h:43
VertexBeamspotOrigins::Origins
std::vector< std::pair< GlobalPoint, float > > Origins
Definition: VertexBeamspotOrigins.h:17
VertexBeamspotOrigins::OperationMode::VERTICES_FIXED
ParameterSetDescription.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
VertexBeamspotOrigins::m_maxNVertices
int m_maxNVertices
Definition: VertexBeamspotOrigins.h:38
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
VertexBeamspotOrigins::OperationMode
OperationMode
Definition: VertexBeamspotOrigins.h:18
VertexBeamspotOrigins::m_zErrorBeamSpot
float m_zErrorBeamSpot
Definition: VertexBeamspotOrigins.h:41
iEvent
int iEvent
Definition: GenABIO.cc:224
VertexBeamspotOrigins::m_nSigmaZBeamSpot
float m_nSigmaZBeamSpot
Definition: VertexBeamspotOrigins.h:40
VertexBeamspotOrigins::m_nSigmaZVertex
float m_nSigmaZVertex
Definition: VertexBeamspotOrigins.h:42
VertexFwd.h
VertexBeamspotOrigins
Definition: VertexBeamspotOrigins.h:15
ConsumesCollector.h
ParameterSet.h
VertexBeamspotOrigins::VertexBeamspotOrigins
VertexBeamspotOrigins(const edm::ParameterSet &regPSet, edm::ConsumesCollector &&iC)
Definition: VertexBeamspotOrigins.h:20
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
VertexBeamspotOrigins::origins
Origins origins(const edm::Event &iEvent) const
Definition: VertexBeamspotOrigins.cc:53