CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions

KinematicVertexFactory Class Reference

#include <KinematicVertexFactory.h>

List of all members.

Public Member Functions

 KinematicVertexFactory ()

Static Public Member Functions

static RefCountedKinematicVertex vertex (const VertexState &state, float totalChiSq, float degreesOfFr)
static RefCountedKinematicVertex vertex ()
static RefCountedKinematicVertex vertex (const CachingVertex< 6 > &vertex)
static RefCountedKinematicVertex vertex (const VertexState state, const ReferenceCountingPointer< KinematicVertex > pVertex, float totalChiSq, float degreesOfFr)

Detailed Description

Factory to create Reference counting pointers to KinematicVertex objects. Can be used both to create object and pointers or simple pointers to existing object.

Kirill Prokofiev December 2002

Definition at line 17 of file KinematicVertexFactory.h.


Constructor & Destructor Documentation

KinematicVertexFactory::KinematicVertexFactory ( ) [inline]

Definition at line 21 of file KinematicVertexFactory.h.

 {}

Member Function Documentation

static RefCountedKinematicVertex KinematicVertexFactory::vertex ( const VertexState state,
float  totalChiSq,
float  degreesOfFr 
) [inline, static]

Constructor with vertex state, chi2 and ndf. Previous state of the vertex pointer is set to 0.

Definition at line 28 of file KinematicVertexFactory.h.

Referenced by ConstrainedTreeBuilderT::buildRealTree(), FinalTreeBuilder::buildTree(), ConstrainedTreeBuilder::buildTree(), LagrangeParentParticleFitter::fit(), and KinematicConstrainedVertexUpdator::update().

 {
  return ReferenceCountingPointer<KinematicVertex>(new KinematicVertex(state,totalChiSq,
                                                                           degreesOfFr));
 } 
static RefCountedKinematicVertex KinematicVertexFactory::vertex ( ) [inline, static]

Method producing invalid kinematic vertices to mark top production and final state decay vertices

Definition at line 59 of file KinematicVertexFactory.h.

static RefCountedKinematicVertex KinematicVertexFactory::vertex ( const CachingVertex< 6 > &  vertex) [inline, static]

Direct conversion from caching vertex

Definition at line 50 of file KinematicVertexFactory.h.

static RefCountedKinematicVertex KinematicVertexFactory::vertex ( const VertexState  state,
const ReferenceCountingPointer< KinematicVertex pVertex,
float  totalChiSq,
float  degreesOfFr 
) [inline, static]

Constructor with previous (before constraint) state of the vertex

Definition at line 38 of file KinematicVertexFactory.h.

 {
   return ReferenceCountingPointer<KinematicVertex>(new KinematicVertex(state, pVertex,
                                                             totalChiSq, degreesOfFr));
 }