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

◆ pointer

Definition at line 20 of file BasicVertexState.h.

◆ Proxy

Definition at line 19 of file BasicVertexState.h.

Constructor & Destructor Documentation

◆ ~BasicVertexState()

virtual BasicVertexState::~BasicVertexState ( )
inlinevirtual

Definition at line 23 of file BasicVertexState.h.

23 {}

Member Function Documentation

◆ build()

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.

26  {
27  return std::make_shared<T>(std::forward<Args>(args)...);
28  }

◆ clone()

virtual pointer BasicVertexState::clone ( ) const
pure virtual

◆ components()

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

Reimplemented in BasicMultiVertexState.

Definition at line 4 of file BasicVertexState.cc.

References mps_fire::result.

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

◆ error()

virtual GlobalError BasicVertexState::error ( ) const
pure virtual

◆ error4D()

virtual GlobalError BasicVertexState::error4D ( ) const
pure virtual

◆ is4D()

virtual bool BasicVertexState::is4D ( ) const
pure virtual

◆ isValid()

virtual bool BasicVertexState::isValid ( ) const
pure virtual

◆ position()

virtual GlobalPoint BasicVertexState::position ( ) const
pure virtual

Access methods

Implemented in BasicSingleVertexState, and BasicMultiVertexState.

◆ time()

virtual double BasicVertexState::time ( ) const
pure virtual

◆ timeError()

virtual double BasicVertexState::timeError ( ) const
pure virtual

◆ weight()

virtual GlobalWeight BasicVertexState::weight ( ) const
pure virtual

◆ weight4D()

virtual GlobalWeight BasicVertexState::weight4D ( ) const
pure virtual

◆ weightInMixture()

virtual double BasicVertexState::weightInMixture ( ) const
pure virtual

◆ weightTimesPosition()

virtual AlgebraicVector3 BasicVertexState::weightTimesPosition ( ) const
pure virtual

◆ weightTimesPosition4D()

virtual AlgebraicVector4 BasicVertexState::weightTimesPosition4D ( ) const
pure virtual