CMS 3D CMS Logo

VertexAssociatorByTracks.h
Go to the documentation of this file.
1 #ifndef VertexAssociatorByTracks_h
2 #define VertexAssociatorByTracks_h
3 
6 
8 
10 public:
12  double R2SMatchedSimRatio,
13  double R2SMatchedRecoRatio,
14  double S2RMatchedSimRatio,
15  double S2RMatchedRecoRatio,
16  const TrackingParticleSelector *selector,
18  const reco::RecoToSimCollection *trackRecoToSimAssociation,
19  const reco::SimToRecoCollection *trackSimToRecoAssociation);
20 
21  ~VertexAssociatorByTracks() override;
22 
23  /* Associate TrackingVertex to RecoVertex By Hits */
25  const edm::Handle<TrackingVertexCollection> &tVCH) const override;
26 
28  const edm::Handle<TrackingVertexCollection> &tVCH) const override;
29 
30 private:
31  // ----- member data
33 
34  const double R2SMatchedSimRatio_;
35  const double R2SMatchedRecoRatio_;
36  const double S2RMatchedSimRatio_;
37  const double S2RMatchedRecoRatio_;
38 
39  const TrackingParticleSelector *selector_; // Owned by VertexAssociatorByTracksProducer
41 
44 };
45 
46 #endif
VertexAssociatorByTracks::productGetter_
const edm::EDProductGetter * productGetter_
Definition: VertexAssociatorByTracks.h:32
VertexToTrackingVertexAssociatorBaseImpl.h
StandaloneTrackMonitor_cfi.trackQuality
trackQuality
Definition: StandaloneTrackMonitor_cfi.py:11
VertexAssociatorByTracks::associateSimToReco
reco::VertexSimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Vertex >> &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const override
Definition: VertexAssociatorByTracks.cc:141
TrackAssociation.h
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition: TrackBase.h:150
VertexAssociatorByTracks::S2RMatchedRecoRatio_
const double S2RMatchedRecoRatio_
Definition: VertexAssociatorByTracks.h:37
TrackingParticleSelector
Definition: TrackingParticleSelector.h:16
edm::Handle
Definition: AssociativeIterator.h:50
edm::EDProductGetter
Definition: EDProductGetter.h:32
VertexAssociatorByTracks::trackQuality_
const reco::TrackBase::TrackQuality trackQuality_
Definition: VertexAssociatorByTracks.h:40
VertexAssociatorByTracks::S2RMatchedSimRatio_
const double S2RMatchedSimRatio_
Definition: VertexAssociatorByTracks.h:36
VertexAssociatorByTracks::R2SMatchedRecoRatio_
const double R2SMatchedRecoRatio_
Definition: VertexAssociatorByTracks.h:35
VertexAssociatorByTracks::R2SMatchedSimRatio_
const double R2SMatchedSimRatio_
Definition: VertexAssociatorByTracks.h:34
VertexAssociatorByTracks::associateRecoToSim
reco::VertexRecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Vertex >> &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const override
Definition: VertexAssociatorByTracks.cc:43
edm::View
Definition: CaloClusterFwd.h:14
reco::VertexToTrackingVertexAssociatorBaseImpl
Definition: VertexToTrackingVertexAssociatorBaseImpl.h:8
VertexAssociatorByTracks::trackSimToRecoAssociation_
const reco::SimToRecoCollection * trackSimToRecoAssociation_
Definition: VertexAssociatorByTracks.h:43
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >
VertexAssociatorByTracks::~VertexAssociatorByTracks
~VertexAssociatorByTracks() override
Definition: VertexAssociatorByTracks.cc:41
VertexAssociatorByTracks
Definition: VertexAssociatorByTracks.h:9
VertexAssociatorByTracks::VertexAssociatorByTracks
VertexAssociatorByTracks(const edm::EDProductGetter *productGetter, double R2SMatchedSimRatio, double R2SMatchedRecoRatio, double S2RMatchedSimRatio, double S2RMatchedRecoRatio, const TrackingParticleSelector *selector, reco::TrackBase::TrackQuality trackQuality, const reco::RecoToSimCollection *trackRecoToSimAssociation, const reco::SimToRecoCollection *trackSimToRecoAssociation)
Definition: VertexAssociatorByTracks.cc:21
edm::refcoreimpl::productGetter
EDProductGetter const * productGetter(std::atomic< void const * > const &iCache)
Definition: refcore_implementation.h:72
VertexAssociatorByTracks::trackRecoToSimAssociation_
const reco::RecoToSimCollection * trackRecoToSimAssociation_
Definition: VertexAssociatorByTracks.h:42
VertexAssociatorByTracks::selector_
const TrackingParticleSelector * selector_
Definition: VertexAssociatorByTracks.h:39