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

#include <fun4all_coresoftware/blob/master/offline/packages/trackbase_historic/SvtxVertexMap_v1.h>

+ Inheritance diagram for SvtxVertexMap_v1:
+ Collaboration diagram for SvtxVertexMap_v1:

Public Member Functions

 SvtxVertexMap_v1 ()
 
 SvtxVertexMap_v1 (const SvtxVertexMap_v1 &vertexmap)
 
SvtxVertexMap_v1operator= (const SvtxVertexMap_v1 &vertexmap)
 
 ~SvtxVertexMap_v1 () 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.
 
bool empty () const override
 
size_t size () const override
 
size_t count (unsigned int idkey) const override
 
void clear () override
 
const SvtxVertexget (unsigned int idkey) const override
 
SvtxVertexget (unsigned int idkey) override
 
SvtxVertexinsert (SvtxVertex *vertex) override
 Add vertex to container. Note the container takes ownership.
 
SvtxVertexinsert_clone (const SvtxVertex *vertex) override
 legacy interface. Add vertex to container. Note the container does not take ownership
 
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 SvtxVertexMap
 ~SvtxVertexMap () override
 
- 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 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 (SvtxVertexMap_v1, 1)
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 13 of file SvtxVertexMap_v1.h.

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

Constructor & Destructor Documentation

SvtxVertexMap_v1::SvtxVertexMap_v1 ( )

Definition at line 12 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 12 of file SvtxVertexMap_v1.cc

Referenced by CloneMe().

+ Here is the caller graph for this function:

SvtxVertexMap_v1::SvtxVertexMap_v1 ( const SvtxVertexMap_v1 vertexmap)

Definition at line 17 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 17 of file SvtxVertexMap_v1.cc

References _map, begin(), end(), and SvtxVertex::get_id().

+ Here is the call graph for this function:

SvtxVertexMap_v1::~SvtxVertexMap_v1 ( )
override

Definition at line 42 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 42 of file SvtxVertexMap_v1.cc

References Reset().

+ Here is the call graph for this function:

Member Function Documentation

ConstIter SvtxVertexMap_v1::begin ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 44 of file SvtxVertexMap_v1.h.

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

References _map.

Referenced by operator=(), and SvtxVertexMap_v1().

+ Here is the caller graph for this function:

Iter SvtxVertexMap_v1::begin ( )
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 48 of file SvtxVertexMap_v1.h.

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

References _map.

SvtxVertexMap_v1::ClassDefOverride ( SvtxVertexMap_v1  ,
 
)
private
void SvtxVertexMap_v1::clear ( void  )
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 29 of file SvtxVertexMap_v1.h.

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

References Reset().

+ Here is the call graph for this function:

PHObject* SvtxVertexMap_v1::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from SvtxVertexMap.

Definition at line 24 of file SvtxVertexMap_v1.h.

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

References SvtxVertexMap_v1().

+ Here is the call graph for this function:

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

Reimplemented from SvtxVertexMap.

Definition at line 28 of file SvtxVertexMap_v1.h.

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

References _map.

bool SvtxVertexMap_v1::empty ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 26 of file SvtxVertexMap_v1.h.

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

References _map.

ConstIter SvtxVertexMap_v1::end ( ) const
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 46 of file SvtxVertexMap_v1.h.

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

References _map.

Referenced by operator=(), and SvtxVertexMap_v1().

+ Here is the caller graph for this function:

Iter SvtxVertexMap_v1::end ( )
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 50 of file SvtxVertexMap_v1.h.

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

References _map.

size_t SvtxVertexMap_v1::erase ( unsigned int  idkey)
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 38 of file SvtxVertexMap_v1.h.

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

References _map.

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

Reimplemented from SvtxVertexMap.

Definition at line 45 of file SvtxVertexMap_v1.h.

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

References _map.

Iter SvtxVertexMap_v1::find ( unsigned int  idkey)
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 49 of file SvtxVertexMap_v1.h.

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

References _map.

const SvtxVertex * SvtxVertexMap_v1::get ( unsigned int  idkey) const
overridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 65 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 65 of file SvtxVertexMap_v1.cc

References _map.

SvtxVertex * SvtxVertexMap_v1::get ( unsigned int  idkey)
overridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 72 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 72 of file SvtxVertexMap_v1.cc

References _map.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from SvtxVertexMap.

Definition at line 59 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 59 of file SvtxVertexMap_v1.cc

References _map.

SvtxVertex * SvtxVertexMap_v1::insert ( SvtxVertex vertex)
overridevirtual

Add vertex to container. Note the container takes ownership.

Reimplemented from SvtxVertexMap.

Definition at line 79 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 79 of file SvtxVertexMap_v1.cc

References _map.

Referenced by insert_clone().

+ Here is the caller graph for this function:

SvtxVertex * SvtxVertexMap_v1::insert_clone ( const SvtxVertex vertex)
overridevirtual

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

Reimplemented from SvtxVertexMap.

Definition at line 88 of file SvtxVertexMap_v1.cc.

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

References SvtxVertex::CloneMe(), and insert().

+ Here is the call graph for this function:

int SvtxVertexMap_v1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from SvtxVertexMap.

Definition at line 23 of file SvtxVertexMap_v1.h.

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

SvtxVertexMap_v1 & SvtxVertexMap_v1::operator= ( const SvtxVertexMap_v1 vertexmap)

Definition at line 29 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 29 of file SvtxVertexMap_v1.cc

References _map, begin(), end(), SvtxVertex::get_id(), and Reset().

+ Here is the call graph for this function:

void SvtxVertexMap_v1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 47 of file SvtxVertexMap_v1.cc.

View newest version in sPHENIX GitHub at line 47 of file SvtxVertexMap_v1.cc

References _map.

Referenced by clear(), operator=(), and ~SvtxVertexMap_v1().

+ Here is the caller graph for this function:

size_t SvtxVertexMap_v1::size ( void  ) const
inlineoverridevirtual

Reimplemented from SvtxVertexMap.

Definition at line 27 of file SvtxVertexMap_v1.h.

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

References _map.

Member Data Documentation

std::map<unsigned int, SvtxVertex*> SvtxVertexMap_v1::_map
private

Definition at line 53 of file SvtxVertexMap_v1.h.

View newest version in sPHENIX GitHub at line 53 of file SvtxVertexMap_v1.h

Referenced by begin(), count(), empty(), end(), erase(), find(), get(), identify(), insert(), operator=(), Reset(), size(), and SvtxVertexMap_v1().


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