LCFIPlus  0.6.5
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
lcfiplus::Vertex Class Reference

#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 TrackgetWorstTrack () 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 MCParticlegetMcp () 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
 

Member Enumeration Documentation

Enumerator
xx 
xy 
yy 
xz 
yz 
zz 

Constructor & Destructor Documentation

lcfiplus::Vertex::Vertex ( )
inline
lcfiplus::Vertex::Vertex ( const double  chi2,
const double  prob,
const double  x,
const double  y,
const double  z,
const double  cov[6],
bool  isPrim 
)
inline
lcfiplus::Vertex::Vertex ( const Vertex from)
inline
lcfiplus::Vertex::~Vertex ( )
inline

Member Function Documentation

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().

int lcfiplus::Vertex::dist_sort ( const Vertex a,
const Vertex b 
)
static

References getX(), getY(), and getZ().

Referenced by lcfiplus::Jet::getVerticesForFT().

double lcfiplus::Vertex::getChi2 ( ) const
inline
double lcfiplus::Vertex::getChi2Track ( const Track tr) const
inline
double lcfiplus::Vertex::getChi2TrackFit ( const Track tr,
int  mode = 1 
) const
const double* lcfiplus::Vertex::getCov ( ) const
inline
TLorentzVector lcfiplus::Vertex::getFourMomentum ( ) const
int lcfiplus::Vertex::getId ( ) const
inline
const MCParticle * lcfiplus::Vertex::getMcp ( ) const
int lcfiplus::Vertex::getNPi0 ( ) const
inline
TLorentzVector lcfiplus::Vertex::getPi0sFourMomentum ( ) const
inline
TVector3 lcfiplus::Vertex::getPos ( ) const
inline
double lcfiplus::Vertex::getPparallel ( const TVector3 &  axis) const

Referenced by getVertexMass().

double lcfiplus::Vertex::getProb ( ) const
inline
TLorentzVector lcfiplus::Vertex::getRecoveredFourMomentum ( ) const
inline
double lcfiplus::Vertex::getRecoveredVertexMass ( ) const
inline
const vector<const Track*>& lcfiplus::Vertex::getTracks ( ) const
inline
const map<const lcfiplus::Track*, double>& lcfiplus::Vertex::getTracksChi2Map ( ) const
inline
double lcfiplus::Vertex::getVertexAngle ( const Vertex daughter,
const Vertex primary = 0 
) const

References getPos().

string lcfiplus::Vertex::getVertexingName ( ) const
inline
double lcfiplus::Vertex::getVertexMass ( const Vertex daughter = 0,
const TVector3 *  paxis = 0,
const double  dmass = 1.87,
double *  ppt = 0,
double *  pp = 0 
) const
const Track * lcfiplus::Vertex::getWorstTrack ( ) const
double lcfiplus::Vertex::getX ( ) const
inline
double lcfiplus::Vertex::getY ( ) const
inline
double lcfiplus::Vertex::getZ ( ) const
inline
bool lcfiplus::Vertex::isPrimary ( ) const
inline
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
void lcfiplus::Vertex::setId ( int  id) const
inline
void lcfiplus::Vertex::setNPi0 ( int  npi0)
inline
void lcfiplus::Vertex::setPi0sFourMomentum ( TLorentzVector  pi0mom)
inline
void lcfiplus::Vertex::setPrimary ( bool  isPrim)
inline
void lcfiplus::Vertex::setRecoveredFourMomentum ( TLorentzVector  rvtxmom)
inline
void lcfiplus::Vertex::setRecoveredVertexMass ( double  rvtxmass)
inline
void lcfiplus::Vertex::setRecoveredVertexMass ( )
inline
void lcfiplus::Vertex::setVertexingName ( string  vtxname)
inline
double lcfiplus::Vertex::significance ( const Vertex primary) const

Friends And Related Function Documentation

friend class LcfiInterface
friend

The documentation for this class was generated from the following files: