#include <RecoVertex.h>
Public Member Functions | |
void | clear () |
Clear track vector. More... | |
bool | hasHighPt () const |
Compute vertex parameters. More... | |
double | highestPt () const |
highest track pT in the vertex More... | |
void | insert (const T *fitTrack) |
Assign fitted track to this vertex. More... | |
void | isPrimary (bool is) |
Set primary vertex tag. More... | |
unsigned int | numHighPtTracks () const |
Number of high-pT tracks (pT > 10 GeV) More... | |
unsigned int | numTracks () const |
Number of tracks originating from this vertex. More... | |
unsigned int | numTrueTracks () const |
Number of true particles assigned to this vertex. More... | |
RecoVertex & | operator+= (const RecoVertex &rhs) |
Operators. More... | |
bool | primaryVertex () const |
True if primary vertex. More... | |
double | pt () const |
Sum of fitted tracks transverse momentum [GeV]. More... | |
RecoVertex (const double z0=-999.) | |
Basic constructor. More... | |
RecoVertex (RecoVertex< L1Track > &vertex, std::map< const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >>, const T *> trackAssociationMap) | |
Conversion from RecoVertex<L1Track> RecoVertex<T> More... | |
RecoVertex (const l1t::Vertex &vertex, std::map< const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >>, const T *> trackAssociationMap) | |
Conversion from l1t::Vertex to l1tVertexFinder::RecoVertex. More... | |
void | setParameters (double pt, double z0, double width=-999., bool highPt=false, unsigned int nHighPt=-999, double highestPt=-999., bool pv=false) |
Set the vertex parameters. More... | |
void | setPt (double pt) |
set the pT [GeV] of the vertex More... | |
void | setZ0 (double z) |
Set z0 position [cm]. More... | |
const std::vector< const T * > & | tracks () const |
Tracks in the vertex. More... | |
const std::set< const TP * > & | trueTracks () const |
Tracking particles asociated to the vertex. More... | |
l1t::Vertex | vertex () const |
Get the equivalent l1t::Vertex. More... | |
double | z0 () const |
Vertex z0 position [cm]. More... | |
double | z0width () const |
Vertex z0 width [cm]. More... | |
~RecoVertex () | |
Basic destructor. More... | |
Private Attributes | |
double | highestPt_ |
bool | highPt_ |
unsigned int | numHighPtTracks_ |
double | pT_ |
bool | pv_ |
std::vector< const T * > | tracks_ |
std::set< const TP * > | trueTracks_ |
double | z0_ |
double | z0width_ |
Definition at line 15 of file RecoVertex.h.
l1tVertexFinder::RecoVertex< T >::RecoVertex | ( | const double | z0 = -999. | ) |
Basic constructor.
Definition at line 94 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::clear(), l1tVertexFinder::RecoVertex< T >::highestPt_, l1tVertexFinder::RecoVertex< T >::highPt_, l1tVertexFinder::RecoVertex< T >::numHighPtTracks_, l1tVertexFinder::RecoVertex< T >::pT_, l1tVertexFinder::RecoVertex< T >::pv_, and l1tVertexFinder::RecoVertex< T >::z0width_.
l1tVertexFinder::RecoVertex< T >::RecoVertex | ( | RecoVertex< L1Track > & | vertex, |
std::map< const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >>, const T *> | trackAssociationMap | ||
) |
Conversion from RecoVertex<L1Track> RecoVertex<T>
Definition at line 105 of file RecoVertex.h.
References l1ct::clear(), edm::eventsetup::heterocontainer::insert(), and bphysicsOniaDQM_cfi::vertex.
l1tVertexFinder::RecoVertex< T >::RecoVertex | ( | const l1t::Vertex & | vertex, |
std::map< const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >>, const T *> | trackAssociationMap | ||
) |
Conversion from l1t::Vertex to l1tVertexFinder::RecoVertex.
Definition at line 125 of file RecoVertex.h.
References l1ct::clear(), edm::eventsetup::heterocontainer::insert(), HLT_2023v12_cff::track, and bphysicsOniaDQM_cfi::vertex.
|
inline |
|
inline |
Clear track vector.
Definition at line 35 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
inline |
Compute vertex parameters.
Contain high-pT track?
Definition at line 39 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::highPt_.
|
inline |
highest track pT in the vertex
Definition at line 41 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::highestPt_.
|
inline |
Assign fitted track to this vertex.
Definition at line 43 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
|
inline |
Set primary vertex tag.
Definition at line 45 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::pv_.
|
inline |
Number of high-pT tracks (pT > 10 GeV)
Definition at line 47 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::numHighPtTracks_.
|
inline |
Number of tracks originating from this vertex.
Definition at line 49 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
Referenced by l1tVertexFinder::VertexFinder::meanDistance().
|
inline |
Number of true particles assigned to this vertex.
Definition at line 51 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::trueTracks_.
|
inline |
Operators.
Definition at line 29 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks(), and l1tVertexFinder::RecoVertex< T >::tracks_.
|
inline |
True if primary vertex.
Definition at line 53 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::pv_.
|
inline |
Sum of fitted tracks transverse momentum [GeV].
Definition at line 55 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::pT_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), l1tVertexFinder::VertexFinder::findPrimaryVertex(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), l1tVertexFinder::RecoVertex< T >::setPt(), and l1tVertexFinder::VertexFinder::sortVerticesInPt().
void l1tVertexFinder::RecoVertex< T >::setParameters | ( | double | pt, |
double | z0, | ||
double | width = -999. , |
||
bool | highPt = false , |
||
unsigned int | nHighPt = -999 , |
||
double | highestPt = -999. , |
||
bool | pv = false |
||
) |
Set the vertex parameters.
Definition at line 145 of file RecoVertex.h.
References DiDispStaMuonMonitor_cfi::pt, MetAnalyzer::pv(), and ApeEstimator_cff::width.
|
inline |
set the pT [GeV] of the vertex
Definition at line 61 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::pt(), and l1tVertexFinder::RecoVertex< T >::pT_.
|
inline |
Set z0 position [cm].
Definition at line 63 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::z0_.
|
inline |
Tracks in the vertex.
Definition at line 57 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
Referenced by l1tVertexFinder::VertexFinder::maxDistance(), l1tVertexFinder::VertexFinder::meanDistance(), l1tVertexFinder::VertexFinder::minDistance(), and l1tVertexFinder::RecoVertex< T >::operator+=().
|
inline |
Tracking particles asociated to the vertex.
Definition at line 59 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::trueTracks_.
l1t::Vertex l1tVertexFinder::RecoVertex< T >::vertex | ( | ) | const |
Get the equivalent l1t::Vertex.
Definition at line 157 of file RecoVertex.h.
References submitPVValidationJobs::t, pwdgSkimBPark_cfi::tracks, and HltBtagValidation_cff::Vertex.
Referenced by Tau.Tau::dxy().
|
inline |
Vertex z0 position [cm].
Definition at line 75 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::z0_.
Referenced by l1tVertexFinder::VertexFinder::centralDistance(), and l1tVertexFinder::VertexFinder::sortVerticesInZ0().
|
inline |
Vertex z0 width [cm].
Definition at line 77 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::z0width_.
|
private |
Definition at line 83 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::highestPt(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 87 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::hasHighPt(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 88 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::numHighPtTracks(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 82 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::pt(), l1tVertexFinder::RecoVertex< T >::RecoVertex(), and l1tVertexFinder::RecoVertex< T >::setPt().
|
private |
Definition at line 86 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::isPrimary(), l1tVertexFinder::RecoVertex< T >::primaryVertex(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
|
private |
Definition at line 85 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::numTrueTracks(), and l1tVertexFinder::RecoVertex< T >::trueTracks().
|
private |
Definition at line 80 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::setZ0(), and l1tVertexFinder::RecoVertex< T >::z0().
|
private |
Definition at line 81 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex(), and l1tVertexFinder::RecoVertex< T >::z0width().