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

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

+ Inheritance diagram for SvtxVertexMap:
+ Collaboration diagram for SvtxVertexMap:

Public Types

typedef std::map< unsigned int,
SvtxVertex * > 
VertexMap
 
typedef std::map< unsigned int,
SvtxVertex * >::const_iterator 
ConstIter
 
typedef std::map< unsigned int,
SvtxVertex * >::iterator 
Iter
 

Public Member Functions

 ~SvtxVertexMap () override
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
virtual bool empty () const
 
virtual size_t size () const
 
virtual size_t count (unsigned int) const
 
virtual void clear ()
 
virtual const SvtxVertexget (unsigned int) const
 
virtual SvtxVertexget (unsigned int)
 
virtual SvtxVertexinsert (SvtxVertex *)
 Add vertex to container. Note the container take to ownership.
 
virtual SvtxVertexinsert_clone (const SvtxVertex *)
 legacy interface. Add vertex to container. Note the container does not take ownership
 
virtual size_t erase (unsigned int)
 
virtual ConstIter begin () const
 
virtual ConstIter find (unsigned int idkey) const
 
virtual ConstIter end () const
 
virtual Iter begin ()
 
virtual Iter find (unsigned int idkey)
 
virtual Iter end ()
 
- 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 void Reset ()
 Clear Event.
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Member Functions

 SvtxVertexMap ()
 

Private Member Functions

 ClassDefOverride (SvtxVertexMap, 1)
 

Detailed Description

Definition at line 10 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 10 of file SvtxVertexMap.h

Member Typedef Documentation

typedef std::map<unsigned int, SvtxVertex*>::const_iterator SvtxVertexMap::ConstIter

Definition at line 14 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 14 of file SvtxVertexMap.h

typedef std::map<unsigned int, SvtxVertex*>::iterator SvtxVertexMap::Iter

Definition at line 15 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 15 of file SvtxVertexMap.h

typedef std::map<unsigned int, SvtxVertex*> SvtxVertexMap::VertexMap

Definition at line 13 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 13 of file SvtxVertexMap.h

Constructor & Destructor Documentation

SvtxVertexMap::~SvtxVertexMap ( )
inlineoverride

Definition at line 17 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 17 of file SvtxVertexMap.h

SvtxVertexMap::SvtxVertexMap ( )
inlineprotected

Definition at line 50 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 50 of file SvtxVertexMap.h

Member Function Documentation

SvtxVertexMap::Iter SvtxVertexMap::begin ( void  )
virtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 21 of file SvtxVertexMap.cc.

View newest version in sPHENIX GitHub at line 21 of file SvtxVertexMap.cc

References DummyVertexMap.

SvtxVertexMap::ClassDefOverride ( SvtxVertexMap  ,
 
)
private
virtual void SvtxVertexMap::clear ( )
inlinevirtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 29 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 29 of file SvtxVertexMap.h

Referenced by PHRaveVertexing::FillSvtxVertexMap(), TpcPrototypeGenFitTrkFitter::FillSvtxVertexMap(), PHActsVertexFinder::fillVertexMap(), PHActsInitialVertexFinder::fillVertexMap(), PHSimpleVertexFinder::process_event(), PHActsVertexFitter::ResetEvent(), and PHActsVertexFinder::ResetEvent().

+ Here is the caller graph for this function:

PHObject* SvtxVertexMap::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Reimplemented in SvtxVertexMap_v1.

Definition at line 24 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 24 of file SvtxVertexMap.h

virtual size_t SvtxVertexMap::count ( unsigned int  ) const
inlinevirtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 28 of file SvtxVertexMap.h.

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

virtual bool SvtxVertexMap::empty ( ) const
inlinevirtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 26 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 26 of file SvtxVertexMap.h

Referenced by EventEvaluator::fillOutputNtuples(), psTOFTimezeroEval::printOutputInfo(), SvtxEvaluatorHaiwang::printOutputInfo(), TrkrNtuplizer::printOutputInfo(), SvtxEvaluator::printOutputInfo(), and jetrtrack::process_event().

+ Here is the caller graph for this function:

SvtxVertexMap::Iter SvtxVertexMap::end ( void  )
virtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 31 of file SvtxVertexMap.cc.

View newest version in sPHENIX GitHub at line 31 of file SvtxVertexMap.cc

References DummyVertexMap.

virtual size_t SvtxVertexMap::erase ( unsigned int  )
inlinevirtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 39 of file SvtxVertexMap.h.

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

SvtxVertexMap::ConstIter SvtxVertexMap::find ( unsigned int  idkey) const
virtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 10 of file SvtxVertexMap.cc.

View newest version in sPHENIX GitHub at line 10 of file SvtxVertexMap.cc

References DummyVertexMap.

Referenced by PHTruthVertexing::assignTracksVertices(), PHActsToSvtxTracks::createSvtxTrack(), KFParticle_truthAndDetTools::fillTruthBranch(), KFParticle_Tools::getTracksFromVertex(), and KFParticle_Tools::makeAllPrimaryVertices().

+ Here is the caller graph for this function:

SvtxVertexMap::Iter SvtxVertexMap::find ( unsigned int  idkey)
virtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 26 of file SvtxVertexMap.cc.

View newest version in sPHENIX GitHub at line 26 of file SvtxVertexMap.cc

References DummyVertexMap.

virtual SvtxVertex* SvtxVertexMap::get ( unsigned int  )
inlinevirtual

Reimplemented in SvtxVertexMap_v1.

Definition at line 32 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 32 of file SvtxVertexMap.h

void SvtxVertexMap::identify ( std::ostream &  os = std::cout) const
inlineoverridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in SvtxVertexMap_v1.

Definition at line 19 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 19 of file SvtxVertexMap.h

References os.

Referenced by PHGenFitTrkFitter::FillSvtxVertexMap(), PHTruthVertexing::Process(), PHSiliconTruthTrackSeeding::Process(), and PHRaveVertexing::process_event().

+ Here is the caller graph for this function:

virtual SvtxVertex* SvtxVertexMap::insert ( SvtxVertex )
inlinevirtual

Add vertex to container. Note the container take to ownership.

Reimplemented in SvtxVertexMap_v1.

Definition at line 35 of file SvtxVertexMap.h.

View newest version in sPHENIX GitHub at line 35 of file SvtxVertexMap.h

Referenced by PHActsVertexFitter::createActsSvtxVertex(), PHActsInitialVertexFinder::createDummyVertex(), PHActsVertexFinder::fillVertexMap(), PHActsInitialVertexFinder::fillVertexMap(), PHActsVertexFinder::Process(), PHTruthVertexing::Process(), and PHSimpleVertexFinder::process_event().

+ Here is the caller graph for this function:

virtual SvtxVertex* SvtxVertexMap::insert_clone ( const SvtxVertex )
inlinevirtual

legacy interface. Add vertex to container. Note the container does not take ownership

Reimplemented in SvtxVertexMap_v1.

Definition at line 37 of file SvtxVertexMap.h.

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

Referenced by PHRaveVertexing::FillSvtxVertexMap(), PHG4TrackFastSim::FillSvtxVertexMap(), TpcPrototypeGenFitTrkFitter::FillSvtxVertexMap(), and PHGenFitTrkFitter::FillSvtxVertexMap().

+ Here is the caller graph for this function:

int SvtxVertexMap::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Reimplemented in SvtxVertexMap_v1.

Definition at line 23 of file SvtxVertexMap.h.

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

virtual size_t SvtxVertexMap::size ( void  ) const
inlinevirtual

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