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

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

+ Inheritance diagram for GlobalVertexMapv1:
+ Collaboration diagram for GlobalVertexMapv1:

Public Member Functions

 GlobalVertexMapv1 ()=default
 
 ~GlobalVertexMapv1 () 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
 
bool empty () const override
 
size_t size () const override
 
size_t count (unsigned int idkey) const override
 
void clear () override
 
const GlobalVertexget (unsigned int idkey) const override
 
GlobalVertexget (unsigned int idkey) override
 
GlobalVertexinsert (GlobalVertex *vertex) override
 
size_t erase (unsigned int idkey) override
 
ConstIter begin () const override
 
ConstIter find (unsigned int idkey) const override
 
ConstIter end () const override
 
Iter begin () override
 
Iter find (unsigned int idkey) override
 
Iter end () override
 
- Public Member Functions inherited from GlobalVertexMap
 ~GlobalVertexMap () override
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
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

 ClassDefOverride (GlobalVertexMapv1, 1)
 

Private Attributes

std::map< unsigned int,
GlobalVertex * > 
_map
 

Additional Inherited Members

- Public Types inherited from GlobalVertexMap
typedef std::map< unsigned int,
GlobalVertex * >
::const_iterator 
ConstIter
 
typedef std::map< unsigned int,
GlobalVertex * >::iterator 
Iter
 
- Protected Member Functions inherited from GlobalVertexMap
 GlobalVertexMap ()
 

Detailed Description

Definition at line 14 of file GlobalVertexMapv1.h.

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

Constructor & Destructor Documentation

GlobalVertexMapv1::GlobalVertexMapv1 ( )
default
GlobalVertexMapv1::~GlobalVertexMapv1 ( )
override

Definition at line 9 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 9 of file GlobalVertexMapv1.cc

References clear().

+ Here is the call graph for this function:

Member Function Documentation

ConstIter GlobalVertexMapv1::begin ( void  ) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 39 of file GlobalVertexMapv1.h.

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

References _map.

Iter GlobalVertexMapv1::begin ( void  )
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 43 of file GlobalVertexMapv1.h.

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

References _map.

GlobalVertexMapv1::ClassDefOverride ( GlobalVertexMapv1  ,
 
)
private
void GlobalVertexMapv1::clear ( )
overridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 24 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 24 of file GlobalVertexMapv1.cc

References _map.

Referenced by Reset(), and ~GlobalVertexMapv1().

+ Here is the caller graph for this function:

size_t GlobalVertexMapv1::count ( unsigned int  idkey) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 26 of file GlobalVertexMapv1.h.

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

References _map.

bool GlobalVertexMapv1::empty ( ) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 24 of file GlobalVertexMapv1.h.

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

References _map.

ConstIter GlobalVertexMapv1::end ( void  ) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 41 of file GlobalVertexMapv1.h.

View newest version in sPHENIX GitHub at line 41 of file GlobalVertexMapv1.h

References _map.

Iter GlobalVertexMapv1::end ( void  )
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 45 of file GlobalVertexMapv1.h.

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

References _map.

size_t GlobalVertexMapv1::erase ( unsigned int  idkey)
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 33 of file GlobalVertexMapv1.h.

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

References _map.

ConstIter GlobalVertexMapv1::find ( unsigned int  idkey) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 40 of file GlobalVertexMapv1.h.

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

References _map.

Iter GlobalVertexMapv1::find ( unsigned int  idkey)
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 44 of file GlobalVertexMapv1.h.

View newest version in sPHENIX GitHub at line 44 of file GlobalVertexMapv1.h

References _map.

const GlobalVertex * GlobalVertexMapv1::get ( unsigned int  idkey) const
overridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 34 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 34 of file GlobalVertexMapv1.cc

References _map.

GlobalVertex * GlobalVertexMapv1::get ( unsigned int  idkey)
overridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 44 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 44 of file GlobalVertexMapv1.cc

References _map.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from GlobalVertexMap.

Definition at line 14 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 14 of file GlobalVertexMapv1.cc

References _map, and Acts::UnitConstants::m.

GlobalVertex * GlobalVertexMapv1::insert ( GlobalVertex vertex)
overridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 54 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 54 of file GlobalVertexMapv1.cc

References _map, GlobalVertex::get_id(), and index.

+ Here is the call graph for this function:

int GlobalVertexMapv1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from GlobalVertexMap.

Definition at line 22 of file GlobalVertexMapv1.h.

View newest version in sPHENIX GitHub at line 22 of file GlobalVertexMapv1.h

void GlobalVertexMapv1::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 21 of file GlobalVertexMapv1.h.

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

References clear().

+ Here is the call graph for this function:

size_t GlobalVertexMapv1::size ( void  ) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 25 of file GlobalVertexMapv1.h.

View newest version in sPHENIX GitHub at line 25 of file GlobalVertexMapv1.h

References _map.

Member Data Documentation

std::map<unsigned int, GlobalVertex*> GlobalVertexMapv1::_map
private

Definition at line 48 of file GlobalVertexMapv1.h.

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

Referenced by begin(), clear(), count(), empty(), end(), erase(), find(), get(), identify(), insert(), and size().


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