CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions
BasicVertexState Class Referenceabstract

#include <BasicVertexState.h>

Inheritance diagram for BasicVertexState:
BasicMultiVertexState BasicSingleVertexState

Public Types

using pointer = Proxy::pointer
 
using Proxy = ProxyBase11< BasicVertexState >
 

Public Member Functions

virtual pointer clone () const =0
 
virtual std::vector< VertexStatecomponents () const
 
virtual GlobalError error () const =0
 
virtual GlobalError error4D () const =0
 
virtual bool is4D () const =0
 
virtual bool isValid () const =0
 
virtual GlobalPoint position () const =0
 
virtual double time () const =0
 
virtual double timeError () const =0
 
virtual GlobalWeight weight () const =0
 
virtual GlobalWeight weight4D () const =0
 
virtual double weightInMixture () const =0
 
virtual AlgebraicVector3 weightTimesPosition () const =0
 
virtual AlgebraicVector4 weightTimesPosition4D () const =0
 
virtual ~BasicVertexState ()
 

Static Public Member Functions

template<typename T , typename... Args>
static std::shared_ptr< BasicVertexStatebuild (Args &&...args)
 

Detailed Description

Class containing a measurement of a vertex.

Definition at line 17 of file BasicVertexState.h.

Member Typedef Documentation

Definition at line 20 of file BasicVertexState.h.

Definition at line 19 of file BasicVertexState.h.

Constructor & Destructor Documentation

virtual BasicVertexState::~BasicVertexState ( )
inlinevirtual

Definition at line 23 of file BasicVertexState.h.

23 {}

Member Function Documentation

template<typename T , typename... Args>
static std::shared_ptr<BasicVertexState> BasicVertexState::build ( Args &&...  args)
inlinestatic

Definition at line 26 of file BasicVertexState.h.

References writedatasetfile::args, clone(), components(), error(), error4D(), is4D(), isValid(), position(), time(), timeError(), weight(), weight4D(), weightInMixture(), weightTimesPosition(), and weightTimesPosition4D().

26  {
27  return std::make_shared<T>(std::forward<Args>(args)...);
28  }
virtual pointer BasicVertexState::clone ( ) const
pure virtual

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

std::vector< VertexState > BasicVertexState::components ( ) const
virtual

Reimplemented in BasicMultiVertexState.

Definition at line 4 of file BasicVertexState.cc.

References mps_fire::result.

Referenced by build().

4  {
5  std::vector<VertexState> result;
6  result.emplace_back(const_cast<BasicVertexState*>(this));
7  return result;
8 }
virtual GlobalError BasicVertexState::error ( ) const
pure virtual
virtual GlobalError BasicVertexState::error4D ( ) const
pure virtual

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

virtual bool BasicVertexState::is4D ( ) const
pure virtual

Implemented in BasicMultiVertexState, and BasicSingleVertexState.

Referenced by build().

virtual bool BasicVertexState::isValid ( ) const
pure virtual
virtual GlobalPoint BasicVertexState::position ( ) const
pure virtual

Access methods

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

virtual double BasicVertexState::time ( ) const
pure virtual

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

virtual double BasicVertexState::timeError ( ) const
pure virtual

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

virtual GlobalWeight BasicVertexState::weight ( ) const
pure virtual

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

virtual GlobalWeight BasicVertexState::weight4D ( ) const
pure virtual

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

Referenced by build().

virtual double BasicVertexState::weightInMixture ( ) const
pure virtual

Implemented in BasicMultiVertexState, and BasicSingleVertexState.

Referenced by build().

virtual AlgebraicVector3 BasicVertexState::weightTimesPosition ( ) const
pure virtual

Implemented in BasicMultiVertexState, and BasicSingleVertexState.

Referenced by build().

virtual AlgebraicVector4 BasicVertexState::weightTimesPosition4D ( ) const
pure virtual

Implemented in BasicMultiVertexState, and BasicSingleVertexState.

Referenced by build().