#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... | |
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 92 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 103 of file RecoVertex.h.
References clear(), l1tVertexFinder::RecoVertex< T >::hasHighPt(), l1tVertexFinder::RecoVertex< T >::highestPt(), edm::eventsetup::heterocontainer::insert(), l1tVertexFinder::RecoVertex< T >::numHighPtTracks(), l1tVertexFinder::RecoVertex< T >::primaryVertex(), l1tVertexFinder::RecoVertex< T >::pt(), l1tVertexFinder::RecoVertex< T >::tracks(), l1tVertexFinder::RecoVertex< T >::z0(), and l1tVertexFinder::RecoVertex< T >::z0width().
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 123 of file RecoVertex.h.
References clear(), edm::eventsetup::heterocontainer::insert(), l1t::Vertex::pt(), HLT_FULL_cff::track, l1t::Vertex::tracks(), and l1t::Vertex::z0().
|
inline |
|
inline |
Clear track vector.
Definition at line 35 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
Referenced by l1tVertexFinder::VertexFinder::GapClustering(), and 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_.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
inline |
highest track pT in the vertex
Definition at line 41 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::highestPt_.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
inline |
Assign fitted track to this vertex.
Definition at line 43 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
Referenced by BeautifulSoup.PageElement::_invert(), SequenceTypes.Schedule::_replaceIfHeldDirectly(), l1tVertexFinder::VertexFinder::adaptiveVertexReconstruction(), l1tVertexFinder::VertexFinder::DBSCAN(), l1tVertexFinder::VertexFinder::fastHistoLooseAssociation(), l1tVertexFinder::VertexFinder::GapClustering(), and l1tVertexFinder::VertexFinder::PVR().
|
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_.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
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::computeAndSetVertexParameters(), l1tVertexFinder::VertexFinder::DBSCAN(), l1tVertexFinder::VertexFinder::GapClustering(), and 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 SplitLinear::begin, dataset::end, 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_.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
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::fastHistoLooseAssociation(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), l1tVertexFinder::RecoVertex< T >::RecoVertex(), 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 143 of file RecoVertex.h.
References DiDispStaMuonMonitor_cfi::pt, and MetAnalyzer::pv().
Referenced by l1tVertexFinder::VertexFinder::computeAndSetVertexParameters().
|
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_.
Referenced by l1tVertexFinder::VertexFinder::fastHistoLooseAssociation().
|
inline |
Tracks in the vertex.
Definition at line 57 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::tracks_.
Referenced by l1tVertexFinder::VertexFinder::computeAndSetVertexParameters(), l1tVertexFinder::VertexFinder::maxDistance(), l1tVertexFinder::VertexFinder::meanDistance(), l1tVertexFinder::VertexFinder::minDistance(), l1tVertexFinder::RecoVertex< T >::operator+=(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
inline |
Tracking particles asociated to the vertex.
Definition at line 59 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::trueTracks_.
|
inline |
Vertex z0 position [cm].
Definition at line 73 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::z0_.
Referenced by l1tVertexFinder::VertexFinder::centralDistance(), l1tVertexFinder::RecoVertex< T >::RecoVertex(), and l1tVertexFinder::VertexFinder::SortVerticesInZ0().
|
inline |
Vertex z0 width [cm].
Definition at line 75 of file RecoVertex.h.
References l1tVertexFinder::RecoVertex< T >::z0width_.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 81 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::highestPt(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 85 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::hasHighPt(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 86 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::numHighPtTracks(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
Definition at line 80 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::pt(), l1tVertexFinder::RecoVertex< T >::RecoVertex(), and l1tVertexFinder::RecoVertex< T >::setPt().
|
private |
Definition at line 84 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::isPrimary(), l1tVertexFinder::RecoVertex< T >::primaryVertex(), and l1tVertexFinder::RecoVertex< T >::RecoVertex().
|
private |
|
private |
Definition at line 83 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::numTrueTracks(), and l1tVertexFinder::RecoVertex< T >::trueTracks().
|
private |
Definition at line 78 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::setZ0(), and l1tVertexFinder::RecoVertex< T >::z0().
|
private |
Definition at line 79 of file RecoVertex.h.
Referenced by l1tVertexFinder::RecoVertex< T >::RecoVertex(), and l1tVertexFinder::RecoVertex< T >::z0width().