LCFIPlus
0.6.5
|
#include <lcfiplus.h>
Public Types | |
enum | vtx { xx =0, xy, yy, xz, yz, zz } |
Public Member Functions | |
Vertex () | |
Vertex (const double chi2, const double prob, const double x, const double y, const double z, const double cov[6], bool isPrim) | |
Vertex (const Vertex &from) | |
~Vertex () | |
void | add (const Track *trk) |
void | add (const Track *trk, double chi2) |
void | setId (int id) const |
int | getId () const |
double | getChi2 () const |
double | getProb () const |
double | getX () const |
double | getY () const |
double | getZ () const |
TVector3 | getPos () const |
const double * | getCov () const |
const vector< const Track * > & | getTracks () const |
const map< const lcfiplus::Track *, double > & | getTracksChi2Map () const |
double | getChi2Track (const Track *tr) const |
const Track * | getWorstTrack () const |
double | getChi2TrackFit (const Track *tr, int mode=1) const |
double | length (const Vertex *primary=0) const |
double | significance (const Vertex *primary) const |
bool | isPrimary () const |
void | setPrimary (bool isPrim) |
double | getPparallel (const TVector3 &axis) const |
double | getVertexMass (const Vertex *daughter=0, const TVector3 *paxis=0, const double dmass=1.87, double *ppt=0, double *pp=0) const |
double | getVertexAngle (const Vertex *daughter, const Vertex *primary=0) const |
const MCParticle * | getMcp () const |
double | dirdot (const Vertex *primary=0) const |
bool | passesV0selection (const Vertex *primary=0) const |
TLorentzVector | getFourMomentum () const |
void | setVertexingName (string vtxname) |
string | getVertexingName () const |
double | getRecoveredVertexMass () const |
TLorentzVector | getRecoveredFourMomentum () const |
TLorentzVector | getPi0sFourMomentum () const |
int | getNPi0 () const |
void | setRecoveredVertexMass (double rvtxmass) |
void | setRecoveredVertexMass () |
void | setRecoveredFourMomentum (TLorentzVector rvtxmom) |
void | setPi0sFourMomentum (TLorentzVector pi0mom) |
void | setNPi0 (int npi0) |
void | Print () const |
bool | covIsGood () const |
Static Public Member Functions | |
static int | dist_sort (const Vertex *a, const Vertex *b) |
Friends | |
class | LcfiInterface |
|
inline |
|
inline |
|
inline |
|
inline |
void lcfiplus::Vertex::add | ( | const Track * | trk | ) |
void lcfiplus::Vertex::add | ( | const Track * | trk, |
double | chi2 | ||
) |
bool lcfiplus::Vertex::covIsGood | ( | ) | const |
double lcfiplus::Vertex::dirdot | ( | const Vertex * | primary = 0 | ) | const |
References getPos().
Referenced by passesV0selection().
References getX(), getY(), and getZ().
Referenced by lcfiplus::Jet::getVerticesForFT().
|
inline |
|
inline |
Referenced by lcfiplus::VertexFinderSuehara::associateIPTracksAVF(), lcfiplus::findTearDownVertices(), lcfiplus::VertexFinderSuehara::GetVertexList(), matchMcVertex(), lcfiplus::VertexFinderTearDown< Container, VertexFitter >::operator()(), lcfiplus::VertexFinderSuehara::optimizeTwoVertices(), and Print().
double lcfiplus::Vertex::getChi2TrackFit | ( | const Track * | tr, |
int | mode = 1 |
||
) | const |
|
inline |
TLorentzVector lcfiplus::Vertex::getFourMomentum | ( | ) | const |
|
inline |
Referenced by lcfiplus::VertexFinderSuehara::associateIPTracksAVF().
const MCParticle * lcfiplus::Vertex::getMcp | ( | ) | const |
References lcfiplus::MCParticle::getParent(), lcfiplus::MCParticle::getPDG(), and getTracks().
Referenced by lcfiplus::JetFinder::prerun().
|
inline |
|
inline |
|
inline |
Referenced by lcfiplus::VertexFinderSuehara::associateIPTracksAVF(), dirdot(), lcfiplus::VertexFitterSimple< Iterator >::getChi2(), getVertexAngle(), lcfiplus::VertexFinderSuehara::GetVertexList(), getVertexMass(), lcfiplus::VertexSelector::isV0(), lcfiplus::Track::momentumAtVertex(), lcfiplus::VertexSelector::passesCut(), passesV0selection(), lcfiplus::JetFinder::prerun(), lcfiplus::VertexMassRecovery::process(), lcfiplus::ZHHAlgo::process(), lcfiplus::TestAlgoV0::process(), lcfiplus::VertexLine::VertexLine(), and lcfiplus::VertexFinderSuehara::VertexNearer().
double lcfiplus::Vertex::getPparallel | ( | const TVector3 & | axis | ) | const |
Referenced by getVertexMass().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by lcfiplus::Jet::add(), lcfiplus::VertexFinderSuehara::associateIPTracksAVF(), lcfiplus::algoEtc::connectVerticesToJets(), lcfiplus::convertJetVertex(), lcfiplus::EventNavigator::drawEvent(), findAdditionalVertices(), lcfiplus::findTearDownVertices(), lcfiplus::Jet::getAllTracks(), lcfiplus::VertexFitterSimple< Iterator >::getChi2(), getMcp(), lcfiplus::VertexFinderSuehara::GetVertexList(), lcfiplus::Jet::getVerticesForFT(), lcfiplus::VertexSelector::isV0(), lcfiplus::JetMCMatch(), matchMcVertex(), matchMcVertexReco(), lcfiplus::VertexFinderSuehara::optimizeTwoVertices(), lcfiplus::PrimaryVertexFinder::process(), lcfiplus::TestAlgo::process(), lcfiplus::VertexAnalysis::process(), lcfiplus::TestAlgoV0::process(), lcfiplus::FtVtxLongitudinalDeviation::process(), testSuehara(), lcfiplus::LCIOStorer::WriteJets(), and lcfiplus::LCIOStorer::WriteVertices().
|
inline |
double lcfiplus::Vertex::getVertexAngle | ( | const Vertex * | daughter, |
const Vertex * | primary = 0 |
||
) | const |
References getPos().
|
inline |
Referenced by lcfiplus::LCIOStorer::WriteVertices().
double lcfiplus::Vertex::getVertexMass | ( | const Vertex * | daughter = 0 , |
const TVector3 * | paxis = 0 , |
||
const double | dmass = 1.87 , |
||
double * | ppt = 0 , |
||
double * | pp = 0 |
||
) | const |
References getPos(), and getPparallel().
Referenced by lcfiplus::VertexFinderSuehara::GetVertexList().
const Track * lcfiplus::Vertex::getWorstTrack | ( | ) | const |
|
inline |
Referenced by dist_sort(), lcfiplus::EventNavigator::drawEvent(), lcfiplus::findTearDownVertices(), lcfiplus::LcfiInterface::getChi2TrackVtx(), lcfiplus::VertexFinderSuehara::GetVertexList(), matchMcVertex(), lcfiplus::JetFinder::prerun(), lcfiplus::TestAlgoV0::process(), lcfiplus::algoSigProb::signedD0(), lcfiplus::algoSigProb::signedD0Significance(), lcfiplus::algoSigProb::trackD0Significance(), and lcfiplus::LCIOStorer::WriteVertices().
|
inline |
Referenced by dist_sort(), lcfiplus::EventNavigator::drawEvent(), lcfiplus::findTearDownVertices(), lcfiplus::LcfiInterface::getChi2TrackVtx(), lcfiplus::VertexFinderSuehara::GetVertexList(), matchMcVertex(), lcfiplus::JetFinder::prerun(), lcfiplus::TestAlgoV0::process(), lcfiplus::algoSigProb::signedD0(), lcfiplus::algoSigProb::signedD0Significance(), lcfiplus::algoSigProb::trackD0Significance(), and lcfiplus::LCIOStorer::WriteVertices().
|
inline |
Referenced by dist_sort(), lcfiplus::EventNavigator::drawEvent(), lcfiplus::findTearDownVertices(), lcfiplus::LcfiInterface::getChi2TrackVtx(), lcfiplus::VertexFinderSuehara::GetVertexList(), matchMcVertex(), lcfiplus::JetFinder::prerun(), lcfiplus::TestAlgoV0::process(), lcfiplus::algoSigProb::signedZ0(), lcfiplus::algoSigProb::signedZ0Significance(), lcfiplus::algoSigProb::trackZ0Significance(), and lcfiplus::LCIOStorer::WriteVertices().
|
inline |
Referenced by lcfiplus::TestAlgoV0::process(), and lcfiplus::LCIOStorer::WriteVertices().
double lcfiplus::Vertex::length | ( | const Vertex * | primary = 0 | ) | const |
bool lcfiplus::Vertex::passesV0selection | ( | const Vertex * | primary = 0 | ) | const |
References dirdot(), and getPos().
Referenced by lcfiplus::Jet::getAllTracks().
void lcfiplus::Vertex::Print | ( | ) | const |
|
inline |
Referenced by lcfiplus::LCIOStorer::ReadVertices(), and lcfiplus::LCIOStorer::WriteVertices().
|
inline |
|
inline |
|
inline |
Referenced by lcfiplus::findPrimaryVertex().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by lcfiplus::VertexFinderSuehara::GetVertexList(), and lcfiplus::LCIOStorer::ReadVertices().
double lcfiplus::Vertex::significance | ( | const Vertex * | primary | ) | const |
|
friend |