Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxVertex_v2 Class Reference

#include <coresoftware/blob/master/offline/packages/globalvertex/SvtxVertex_v2.h>

+ Inheritance diagram for SvtxVertex_v2:
+ Collaboration diagram for SvtxVertex_v2:

Public Member Functions

 SvtxVertex_v2 ()
 
 ~SvtxVertex_v2 () override
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
unsigned int get_id () const override
 
void set_id (unsigned int id) override
 
float get_t () const override
 
void set_t (float t0) override
 
float get_x () const override
 
void set_x (float x) override
 
float get_y () const override
 
void set_y (float y) override
 
float get_z () const override
 
void set_z (float z) override
 
float get_chisq () const override
 
void set_chisq (float chisq) override
 
unsigned int get_ndof () const override
 
void set_ndof (unsigned int ndof) override
 
float get_position (unsigned int coor) const override
 
void set_position (unsigned int coor, float xi) override
 
float get_error (unsigned int i, unsigned int j) const override
 
void set_error (unsigned int i, unsigned int j, float value) override
 
unsigned int get_beam_crossing () const override
 
void set_beam_crossing (unsigned int cross) override
 
void clear_tracks () override
 
bool empty_tracks () override
 
size_t size_tracks () const override
 
void insert_track (unsigned int trackid) override
 
size_t erase_track (unsigned int trackid) override
 
ConstTrackIter begin_tracks () const override
 
ConstTrackIter find_track (unsigned int trackid) const override
 
ConstTrackIter end_tracks () const override
 
TrackIter begin_tracks () override
 
TrackIter find_track (unsigned int trackid) override
 
TrackIter end_tracks () override
 
- Public Member Functions inherited from SvtxVertex
 ~SvtxVertex () override
 
virtual float get_t0 () const override
 
virtual void set_t0 (float t0) override
 
- Public Member Functions inherited from Vertex
 ~Vertex () override
 
void identify (std::ostream &os=std::cout) const override
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
virtual float get_t_err () const
 
virtual void set_t_err (float)
 
virtual void set_bbc_ns (int, int, float, float)
 
virtual int get_bbc_npmt (int) const
 
virtual float get_z_err () const
 
virtual void set_z_err (float)
 
virtual float get_bbc_q (int) const
 
virtual float get_bbc_t (int) const
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Member Functions

unsigned int covar_index (unsigned int i, unsigned int j) const
 
 ClassDefOverride (SvtxVertex_v2, 2)
 

Private Attributes

unsigned int _id
 
float _t0
 
float _pos [3]
 
float _chisq
 
unsigned int _ndof
 
float _err [6]
 
std::set< unsigned int > _track_ids
 
unsigned int _beamcrossing
 

Additional Inherited Members

- Public Types inherited from Vertex
typedef std::set< unsigned int > TrackSet
 
typedef std::set< unsigned int >
::const_iterator 
ConstTrackIter
 
typedef std::set< unsigned int >
::iterator 
TrackIter
 
- Protected Member Functions inherited from SvtxVertex
 ClassDefOverride (SvtxVertex, 1)
 

Detailed Description

Definition at line 12 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 12 of file SvtxVertex_v2.h

Constructor & Destructor Documentation

SvtxVertex_v2::SvtxVertex_v2 ( )

Definition at line 8 of file SvtxVertex_v2.cc.

View newest version in sPHENIX GitHub at line 8 of file SvtxVertex_v2.cc

References _pos, i, j, and set_error().

Referenced by CloneMe(), and Reset().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SvtxVertex_v2::~SvtxVertex_v2 ( )
inlineoverride

Definition at line 16 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 16 of file SvtxVertex_v2.h

Member Function Documentation

ConstTrackIter SvtxVertex_v2::begin_tracks ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 65 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 65 of file SvtxVertex_v2.h

References _track_ids.

Referenced by identify().

+ Here is the caller graph for this function:

TrackIter SvtxVertex_v2::begin_tracks ( )
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 68 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 68 of file SvtxVertex_v2.h

References _track_ids.

SvtxVertex_v2::ClassDefOverride ( SvtxVertex_v2  ,
 
)
private
void SvtxVertex_v2::clear_tracks ( )
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 60 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 60 of file SvtxVertex_v2.h

References _track_ids.

PHObject* SvtxVertex_v2::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from SvtxVertex.

Definition at line 23 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 23 of file SvtxVertex_v2.h

References SvtxVertex_v2().

+ Here is the call graph for this function:

unsigned int SvtxVertex_v2::covar_index ( unsigned int  i,
unsigned int  j 
) const
private

Definition at line 99 of file SvtxVertex_v2.cc.

View newest version in sPHENIX GitHub at line 99 of file SvtxVertex_v2.cc

References swap().

Referenced by get_error(), and set_error().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool SvtxVertex_v2::empty_tracks ( )
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 61 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 61 of file SvtxVertex_v2.h

References _track_ids.

ConstTrackIter SvtxVertex_v2::end_tracks ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 67 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 67 of file SvtxVertex_v2.h

References _track_ids.

Referenced by identify().

+ Here is the caller graph for this function:

TrackIter SvtxVertex_v2::end_tracks ( )
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 70 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 70 of file SvtxVertex_v2.h

References _track_ids.

size_t SvtxVertex_v2::erase_track ( unsigned int  trackid)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 64 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 64 of file SvtxVertex_v2.h

References _track_ids.

ConstTrackIter SvtxVertex_v2::find_track ( unsigned int  trackid) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 66 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 66 of file SvtxVertex_v2.h

References _track_ids.

TrackIter SvtxVertex_v2::find_track ( unsigned int  trackid)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 69 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 69 of file SvtxVertex_v2.h

References _track_ids.

unsigned int SvtxVertex_v2::get_beam_crossing ( ) const
inlineoverridevirtual

Reimplemented from Vertex.

Definition at line 54 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 54 of file SvtxVertex_v2.h

References _beamcrossing.

Referenced by identify().

+ Here is the caller graph for this function:

float SvtxVertex_v2::get_chisq ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 42 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 42 of file SvtxVertex_v2.h

References _chisq.

Referenced by identify().

+ Here is the caller graph for this function:

float SvtxVertex_v2::get_error ( unsigned int  i,
unsigned int  j 
) const
overridevirtual

Reimplemented from SvtxVertex.

Definition at line 94 of file SvtxVertex_v2.cc.

View newest version in sPHENIX GitHub at line 94 of file SvtxVertex_v2.cc

References _err, and covar_index().

Referenced by identify(), and isValid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned int SvtxVertex_v2::get_id ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 27 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 27 of file SvtxVertex_v2.h

References _id.

Referenced by identify().

+ Here is the caller graph for this function:

unsigned int SvtxVertex_v2::get_ndof ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 45 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 45 of file SvtxVertex_v2.h

References _ndof.

Referenced by identify().

+ Here is the caller graph for this function:

float SvtxVertex_v2::get_position ( unsigned int  coor) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 48 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 48 of file SvtxVertex_v2.h

References _pos.

Referenced by identify().

+ Here is the caller graph for this function:

float SvtxVertex_v2::get_t ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 30 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 30 of file SvtxVertex_v2.h

References _t0.

Referenced by identify().

+ Here is the caller graph for this function:

float SvtxVertex_v2::get_x ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 33 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 33 of file SvtxVertex_v2.h

References _pos.

float SvtxVertex_v2::get_y ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 36 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 36 of file SvtxVertex_v2.h

References _pos.

float SvtxVertex_v2::get_z ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 39 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 39 of file SvtxVertex_v2.h

References _pos.

void SvtxVertex_v2::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from SvtxVertex.

Definition at line 28 of file SvtxVertex_v2.cc.

View newest version in sPHENIX GitHub at line 28 of file SvtxVertex_v2.cc

References begin_tracks(), end_tracks(), get_beam_crossing(), get_chisq(), get_error(), get_id(), get_ndof(), get_position(), and get_t().

+ Here is the call graph for this function:

void SvtxVertex_v2::insert_track ( unsigned int  trackid)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 63 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 63 of file SvtxVertex_v2.h

References _track_ids.

int SvtxVertex_v2::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from SvtxVertex.

Definition at line 66 of file SvtxVertex_v2.cc.

View newest version in sPHENIX GitHub at line 66 of file SvtxVertex_v2.cc

References _chisq, _id, _ndof, _pos, _t0, _track_ids, get_error(), i, and j.

+ Here is the call graph for this function:

void SvtxVertex_v2::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 21 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 21 of file SvtxVertex_v2.h

References SvtxVertex_v2().

+ Here is the call graph for this function:

void SvtxVertex_v2::set_beam_crossing ( unsigned int  cross)
inlineoverridevirtual

Reimplemented from Vertex.

Definition at line 55 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 55 of file SvtxVertex_v2.h

References _beamcrossing, and Acts::VectorHelpers::cross().

+ Here is the call graph for this function:

void SvtxVertex_v2::set_chisq ( float  chisq)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 43 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 43 of file SvtxVertex_v2.h

References _chisq.

void SvtxVertex_v2::set_error ( unsigned int  i,
unsigned int  j,
float  value 
)
overridevirtual

Reimplemented from SvtxVertex.

Definition at line 88 of file SvtxVertex_v2.cc.

View newest version in sPHENIX GitHub at line 88 of file SvtxVertex_v2.cc

References _err, covar_index(), and value.

Referenced by SvtxVertex_v2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SvtxVertex_v2::set_id ( unsigned int  id)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 28 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 28 of file SvtxVertex_v2.h

References _id, and train_ambiguity_solver::id.

void SvtxVertex_v2::set_ndof ( unsigned int  ndof)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 46 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 46 of file SvtxVertex_v2.h

References _ndof.

void SvtxVertex_v2::set_position ( unsigned int  coor,
float  xi 
)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 49 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 49 of file SvtxVertex_v2.h

References _pos.

void SvtxVertex_v2::set_t ( float  t0)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 31 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 31 of file SvtxVertex_v2.h

References _t0.

void SvtxVertex_v2::set_x ( float  x)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 34 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 34 of file SvtxVertex_v2.h

References _pos, and ambiguity_solver_full_chain::x.

void SvtxVertex_v2::set_y ( float  y)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 37 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 37 of file SvtxVertex_v2.h

References _pos, and y.

void SvtxVertex_v2::set_z ( float  z)
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 40 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 40 of file SvtxVertex_v2.h

References _pos, and physmon_track_finding_ttbar::z.

size_t SvtxVertex_v2::size_tracks ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertex.

Definition at line 62 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 62 of file SvtxVertex_v2.h

References _track_ids.

Member Data Documentation

unsigned int SvtxVertex_v2::_beamcrossing
private

Definition at line 82 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 82 of file SvtxVertex_v2.h

Referenced by get_beam_crossing(), and set_beam_crossing().

float SvtxVertex_v2::_chisq
private

Definition at line 78 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 78 of file SvtxVertex_v2.h

Referenced by get_chisq(), isValid(), and set_chisq().

float SvtxVertex_v2::_err[6]
private

Definition at line 80 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 80 of file SvtxVertex_v2.h

Referenced by get_error(), and set_error().

unsigned int SvtxVertex_v2::_id
private

Definition at line 75 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 75 of file SvtxVertex_v2.h

Referenced by get_id(), isValid(), and set_id().

unsigned int SvtxVertex_v2::_ndof
private

Definition at line 79 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 79 of file SvtxVertex_v2.h

Referenced by get_ndof(), isValid(), and set_ndof().

float SvtxVertex_v2::_pos[3]
private

Definition at line 77 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 77 of file SvtxVertex_v2.h

Referenced by get_position(), get_x(), get_y(), get_z(), isValid(), set_position(), set_x(), set_y(), set_z(), and SvtxVertex_v2().

float SvtxVertex_v2::_t0
private

Definition at line 76 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 76 of file SvtxVertex_v2.h

Referenced by get_t(), isValid(), and set_t().

std::set<unsigned int> SvtxVertex_v2::_track_ids
private

Definition at line 81 of file SvtxVertex_v2.h.

View newest version in sPHENIX GitHub at line 81 of file SvtxVertex_v2.h

Referenced by begin_tracks(), clear_tracks(), empty_tracks(), end_tracks(), erase_track(), find_track(), insert_track(), isValid(), and size_tracks().


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