Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ic::Vertex Class Reference

Stores information about the position of an event vertex and the quality of the track fit. More...

#include "UserCode/ICHiggsTauTau/interface/Vertex.hh"

+ Inheritance diagram for ic::Vertex:

Public Member Functions

 Vertex ()
 
virtual ~Vertex ()
 
virtual void Print () const
 
 ClassDef (Vertex, 2)
 
Properties
Point const & point () const
 The vertex position co-ordinates. More...
 
std::size_t id () const
 Unique identifier. More...
 
float vx () const
 Vertex x-coordinate. More...
 
float vy () const
 Vertex y-coordinate. More...
 
float vz () const
 Vertex z-coordinate. More...
 
float chi2 () const
 The \(\chi^{2}\) of the vertex fit. More...
 
float ndof () const
 The number-of-degrees-of-freedom in the vertex fit. More...
 
std::vector< std::pair
< std::size_t, float > > const & 
tracks () const
 A vector of track information pairs, where each contains an ic::Track::id() and the weight of that track in the vertex fit. More...
 
Setters
void set_point (Point const &point)
 The vertex position co-ordinates. More...
 
void set_id (std::size_t const &id)
 Unique identifier. More...
 
void set_vx (float const &x)
 Vertex x-coordinate. More...
 
void set_vy (float const &y)
 Vertex y-coordinate. More...
 
void set_vz (float const &z)
 Vertex z-coordinate. More...
 
void set_chi2 (float const &chi2)
 The \(\chi^{2}\) of the vertex fit. More...
 
void set_ndof (float const &ndof)
 The number-of-degrees-of-freedom in the vertex fit. More...
 
void set_tracks (std::vector< std::pair< std::size_t, float > > const &tracks)
 A vector of track information pairs, where each contains an ic::Track::id() and the weight of that track in the vertex fit. More...
 
void AddTrack (std::size_t id, float weight)
 Add an ic::Track::id with a vertex fit weight. More...
 

Detailed Description

Stores information about the position of an event vertex and the quality of the track fit.

Examples:
plugins/ICVertexProducer.cc.

Definition at line 15 of file Vertex.hh.

Constructor & Destructor Documentation

ic::Vertex::Vertex ( )

Definition at line 5 of file Vertex.cc.

ic::Vertex::~Vertex ( )
virtual

Definition at line 7 of file Vertex.cc.

Member Function Documentation

void ic::Vertex::Print ( ) const
virtual

Reimplemented in ic::SecondaryVertex.

Definition at line 9 of file Vertex.cc.

Point const& ic::Vertex::point ( ) const
inline

The vertex position co-ordinates.

Definition at line 28 of file Vertex.hh.

std::size_t ic::Vertex::id ( ) const
inline

Unique identifier.

Definition at line 31 of file Vertex.hh.

float ic::Vertex::vx ( ) const
inline

Vertex x-coordinate.

Definition at line 34 of file Vertex.hh.

float ic::Vertex::vy ( ) const
inline

Vertex y-coordinate.

Definition at line 37 of file Vertex.hh.

float ic::Vertex::vz ( ) const
inline

Vertex z-coordinate.

Definition at line 40 of file Vertex.hh.

float ic::Vertex::chi2 ( ) const
inline

The \(\chi^{2}\) of the vertex fit.

Definition at line 43 of file Vertex.hh.

float ic::Vertex::ndof ( ) const
inline

The number-of-degrees-of-freedom in the vertex fit.

Definition at line 46 of file Vertex.hh.

std::vector<std::pair<std::size_t, float> > const& ic::Vertex::tracks ( ) const
inline

A vector of track information pairs, where each contains an ic::Track::id() and the weight of that track in the vertex fit.

Definition at line 50 of file Vertex.hh.

void ic::Vertex::set_point ( Point const &  point)
inline

The vertex position co-ordinates.

Definition at line 59 of file Vertex.hh.

void ic::Vertex::set_id ( std::size_t const &  id)
inline

Unique identifier.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 62 of file Vertex.hh.

void ic::Vertex::set_vx ( float const &  x)
inline

Vertex x-coordinate.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 65 of file Vertex.hh.

void ic::Vertex::set_vy ( float const &  y)
inline

Vertex y-coordinate.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 68 of file Vertex.hh.

void ic::Vertex::set_vz ( float const &  z)
inline

Vertex z-coordinate.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 71 of file Vertex.hh.

void ic::Vertex::set_chi2 ( float const &  chi2)
inline

The \(\chi^{2}\) of the vertex fit.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 74 of file Vertex.hh.

void ic::Vertex::set_ndof ( float const &  ndof)
inline

The number-of-degrees-of-freedom in the vertex fit.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 77 of file Vertex.hh.

void ic::Vertex::set_tracks ( std::vector< std::pair< std::size_t, float > > const &  tracks)
inline

A vector of track information pairs, where each contains an ic::Track::id() and the weight of that track in the vertex fit.

Definition at line 80 of file Vertex.hh.

void ic::Vertex::AddTrack ( std::size_t  id,
float  weight 
)
inline

Add an ic::Track::id with a vertex fit weight.

Examples:
plugins/ICSecondaryVertexProducer.cc, and plugins/ICVertexProducer.cc.

Definition at line 86 of file Vertex.hh.

ic::Vertex::ClassDef ( Vertex  ,
 
)

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