Rivet  1.8.0
Public Member Functions | Protected Member Functions
Rivet::SVertex Class Reference

Determine secondary vertices. More...

#include <SVertex.hh>

Inheritance diagram for Rivet::SVertex:
Rivet::Projection Rivet::ProjectionApplier

List of all members.

Public Member Functions

const vector< FourMomentum > & getTaggedJets () const
 Return vector of tagged jets (FourMomentum's)
Standard constructors and destructors.
 SVertex (const ChargedFinalState &chfs, const vector< FourMomentum > &jetaxes, double deltaR, double detEta, double IPres, double DLS, double DLSres=0.0)
virtual const Projectionclone () const
 Clone on the heap.

Protected Member Functions

void project (const Event &e)
 Apply the projection to the event.
int compare (const Projection &p) const
 Compare projections.

Detailed Description

Determine secondary vertices.

Makes use of PVertex projection.

Todo:
Replace function with a functor to improve equality comparisons.

Complex cuts on tracks and vertices to validate them have to be provided by an external function bool f(SVertex&, ParticleVector&, const HepMC::GenVertex&, FourMomentum); which can be embedded in the analysis code. An example can be found in the S6653332 analysis. A pointer to this function has to be given to the constructor of the SVertex projection. Its arguments are as follows:

in: reference to instance of SVertex projection, ParticleVector of vertex to be analyzed, primary (Gen)Vertex out: FourMomentum = visible Momentum of vertex (selected tracks), return bool: cuts passed? 1 : 0

In this way the SVertex projection can be kept as universal/flexible as possible.

The constructor expects also a list of (pre-selected) jets. Associated tracks and vertices to a jet are checked for displacement. A list of tagged jets can be obtained via the getTaggedJets() function


Constructor & Destructor Documentation

Rivet::SVertex::SVertex ( const ChargedFinalState chfs,
const vector< FourMomentum > &  jetaxes,
double  deltaR,
double  detEta,
double  IPres,
double  DLS,
double  DLSres = 0.0 
) [inline]

The default constructor. Must specify a PVertex projection object which is assumed to live through the run.

References Rivet::ProjectionApplier::addProjection(), and Rivet::Projection::setName().

Referenced by clone().


Member Function Documentation

void Rivet::SVertex::project ( const Event e) [protected, virtual]

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