EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GlobalVertexMapv1 Class Reference

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4vertex/GlobalVertexMapv1.h>

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

Public Member Functions

 GlobalVertexMapv1 ()
 
 ~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 isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
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 ( )

Definition at line 11 of file GlobalVertexMapv1.cc.

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

GlobalVertexMapv1::~GlobalVertexMapv1 ( )
override

Definition at line 16 of file GlobalVertexMapv1.cc.

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

References clear().

+ Here is the call graph for this function:

Member Function Documentation

ConstIter GlobalVertexMapv1::begin ( ) const
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 38 of file GlobalVertexMapv1.h.

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

References _map.

Iter GlobalVertexMapv1::begin ( )
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 42 of file GlobalVertexMapv1.h.

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

References _map.

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

Reimplemented from GlobalVertexMap.

Definition at line 27 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 27 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 ( ) 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::end ( )
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.

size_t GlobalVertexMapv1::erase ( unsigned int  idkey)
inlineoverridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 32 of file GlobalVertexMapv1.h.

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

References _map.

ConstIter GlobalVertexMapv1::find ( unsigned int  idkey) 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::find ( unsigned int  idkey)
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.

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

Reimplemented from GlobalVertexMap.

Definition at line 39 of file GlobalVertexMapv1.cc.

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

References _map.

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

Reimplemented from GlobalVertexMap.

Definition at line 46 of file GlobalVertexMapv1.cc.

View newest version in sPHENIX GitHub at line 46 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 21 of file GlobalVertexMapv1.cc.

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

References _map.

GlobalVertex * GlobalVertexMapv1::insert ( GlobalVertex vertex)
overridevirtual

Reimplemented from GlobalVertexMap.

Definition at line 53 of file GlobalVertexMapv1.cc.

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

References _map.

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 47 of file GlobalVertexMapv1.h.

View newest version in sPHENIX GitHub at line 47 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: