#include <VertexAssociatorByPositionAndTracks.h>
Private Attributes | |
const double | absT_ |
const double | absZ_ |
const double | maxRecoT_ |
const double | maxRecoZ_ |
const edm::EDProductGetter * | productGetter_ |
const double | sharedTrackFraction_ |
const double | sigmaT_ |
const double | sigmaZ_ |
const reco::RecoToSimCollection * | trackRecoToSimAssociation_ |
const reco::SimToRecoCollection * | trackSimToRecoAssociation_ |
This class associates reco::Vertices and TrackingVertices by their position (maximum distance in Z should be smaller than absZ and sigmaZ*zError of reco::Vertex), and (optionally) by the fraction of tracks shared by reco::Vertex and TrackingVertex divided by the number of tracks in reco::Vertex. This fraction is always used as the quality in the association, i.e. multiple associations are sorted by it in descending order.
Definition at line 16 of file VertexAssociatorByPositionAndTracks.h.
VertexAssociatorByPositionAndTracks::VertexAssociatorByPositionAndTracks | ( | const edm::EDProductGetter * | productGetter, |
double | absZ, | ||
double | sigmaZ, | ||
double | maxRecoZ, | ||
double | absT, | ||
double | sigmaT, | ||
double | maxRecoT, | ||
double | sharedTrackFraction, | ||
const reco::RecoToSimCollection * | trackRecoToSimAssociation, | ||
const reco::SimToRecoCollection * | trackSimToRecoAssociation | ||
) |
Definition at line 7 of file VertexAssociatorByPositionAndTracks.cc.
VertexAssociatorByPositionAndTracks::VertexAssociatorByPositionAndTracks | ( | const edm::EDProductGetter * | productGetter, |
double | absZ, | ||
double | sigmaZ, | ||
double | maxRecoZ, | ||
double | sharedTrackFraction, | ||
const reco::RecoToSimCollection * | trackRecoToSimAssociation, | ||
const reco::SimToRecoCollection * | trackSimToRecoAssociation | ||
) |
Definition at line 29 of file VertexAssociatorByPositionAndTracks.cc.
|
override |
Definition at line 48 of file VertexAssociatorByPositionAndTracks.cc.
|
overridevirtual |
compare reco to sim the handle of reco::Vertex and TrackingVertex collections
Implements reco::VertexToTrackingVertexAssociatorBaseImpl.
Definition at line 50 of file VertexAssociatorByPositionAndTracks.cc.
References funct::abs(), absT_, absZ_, calculateVertexSharedTracks(), HLT_2024v10_cff::fraction, LogDebug, LogTrace, SiStripPI::max, maxRecoZ_, productGetter_, ecalDetailedTimeRecHit_cfi::recoVertex, runTheMatrix::ret, edm::second(), sharedTrackFraction_, sigmaT_, sigmaZ_, ecalDetailedTimeRecHit_cfi::simVertex, HGCalValidator_cfi::simVertices, edm::View< T >::size(), trackRecoToSimAssociation_, and HLT_2024v10_cff::useTiming.
|
overridevirtual |
compare reco to sim the handle of reco::Vertex and TrackingVertex collections
Implements reco::VertexToTrackingVertexAssociatorBaseImpl.
Definition at line 127 of file VertexAssociatorByPositionAndTracks.cc.
References funct::abs(), absT_, absZ_, calculateVertexSharedTracks(), HLT_2024v10_cff::fraction, LogDebug, LogTrace, SiStripPI::max, maxRecoZ_, productGetter_, ecalDetailedTimeRecHit_cfi::recoVertex, runTheMatrix::ret, edm::second(), sharedTrackFraction_, sigmaT_, sigmaZ_, ecalDetailedTimeRecHit_cfi::simVertex, HGCalValidator_cfi::simVertices, edm::View< T >::size(), trackSimToRecoAssociation_, and HLT_2024v10_cff::useTiming.
|
private |
Definition at line 53 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 50 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 55 of file VertexAssociatorByPositionAndTracks.h.
|
private |
Definition at line 52 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 48 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 56 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 54 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 51 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim(), and associateSimToReco().
|
private |
Definition at line 58 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateRecoToSim().
|
private |
Definition at line 59 of file VertexAssociatorByPositionAndTracks.h.
Referenced by associateSimToReco().