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
Origins origins(const edm::Event &iEvent) const
VertexBeamspotOrigins(const edm::ParameterSet &regPSet, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
static void fillDescriptions(edm::ParameterSetDescription &desc, const std::string &defaultBeamSpot="offlineBeamSpot", const std::string &defaultVertex="firstStepPrimaryVertices", int defaultMaxVertices=-1)
std::vector< std::pair< GlobalPoint, float > > Origins
~VertexBeamspotOrigins()=default
int iEvent
Definition: GenABIO.cc:224
edm::EDGetTokenT< reco::VertexCollection > token_vertex