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

A class deriving from ic::Vertex and adding information on the 3D flight distance. More...

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

+ Inheritance diagram for ic::SecondaryVertex:

Public Member Functions

 SecondaryVertex ()
 
virtual ~SecondaryVertex ()
 
virtual void Print () const
 
 ClassDef (SecondaryVertex, 2)
 
Properties
double distance_3d () const
 3D flight-distance, in centimetres, from the primary to the secondary vertex More...
 
double distance_err_3d () const
 3D flight-distance uncertainty, in centimetres More...
 
Setters
void set_distance_3d (double const &distance_3d)
 3D flight-distance, in centimetres, from the primary to the secondary vertex More...
 
void set_distance_err_3d (double const &distance_err_3d)
 3D flight-distance uncertainty, in centimetres More...
 
- Public Member Functions inherited from ic::Vertex
 Vertex ()
 
virtual ~Vertex ()
 
 ClassDef (Vertex, 2)
 
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...
 
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

A class deriving from ic::Vertex and adding information on the 3D flight distance.

Examples:
plugins/ICSecondaryVertexProducer.cc.

Definition at line 15 of file SecondaryVertex.hh.

Constructor & Destructor Documentation

ic::SecondaryVertex::SecondaryVertex ( )

Definition at line 5 of file SecondaryVertex.cc.

ic::SecondaryVertex::~SecondaryVertex ( )
virtual

Definition at line 7 of file SecondaryVertex.cc.

Member Function Documentation

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

Reimplemented from ic::Vertex.

Definition at line 9 of file SecondaryVertex.cc.

double ic::SecondaryVertex::distance_3d ( ) const
inline

3D flight-distance, in centimetres, from the primary to the secondary vertex

Definition at line 25 of file SecondaryVertex.hh.

double ic::SecondaryVertex::distance_err_3d ( ) const
inline

3D flight-distance uncertainty, in centimetres

Definition at line 28 of file SecondaryVertex.hh.

void ic::SecondaryVertex::set_distance_3d ( double const &  distance_3d)
inline

3D flight-distance, in centimetres, from the primary to the secondary vertex

Examples:
plugins/ICSecondaryVertexProducer.cc.

Definition at line 34 of file SecondaryVertex.hh.

void ic::SecondaryVertex::set_distance_err_3d ( double const &  distance_err_3d)
inline

3D flight-distance uncertainty, in centimetres

Examples:
plugins/ICSecondaryVertexProducer.cc.

Definition at line 38 of file SecondaryVertex.hh.

ic::SecondaryVertex::ClassDef ( SecondaryVertex  ,
 
)

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