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

DecayFinder container object. More...

#include <coresoftware/blob/master/offline/packages/decayfinder/DecayFinderContainerBase.h>

+ Inheritance diagram for DecayFinderContainerBase:
+ Collaboration diagram for DecayFinderContainerBase:

Public Types

using Decay = std::vector< std::pair< std::pair< int, int >, int >>
 
using Map = std::map< unsigned int, Decay >
 
using ConstIter = Map::const_iterator
 
using Iter = Map::iterator
 

Public Member Functions

 ~DecayFinderContainerBase () override=default
 
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.
 
virtual bool empty () const
 
virtual size_t size () const
 
virtual size_t count (unsigned int) const
 
virtual void clear ()
 
virtual const Decay get (unsigned int) const
 
virtual Decay get (unsigned int)
 
virtual ConstIter begin () const
 
virtual ConstIter find (unsigned int) const
 
virtual ConstIter end () const
 
virtual Iter begin ()
 
virtual Iter find (unsigned int)
 
virtual Iter end ()
 
virtual Decay insert (const Decay &)
 
virtual Map returnDecaysByPDGid (int)
 
virtual size_t erase (unsigned int key)
 
- 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)
 

Protected Member Functions

 DecayFinderContainerBase ()=default
 

Private Member Functions

 ClassDefOverride (DecayFinderContainerBase, 1)
 

Detailed Description

DecayFinder container object.

Container for DecayFinder objects, based off KFParticle_Container

Definition at line 18 of file DecayFinderContainerBase.h.

View newest version in sPHENIX GitHub at line 18 of file DecayFinderContainerBase.h

Member Typedef Documentation

using DecayFinderContainerBase::ConstIter = Map::const_iterator

Definition at line 25 of file DecayFinderContainerBase.h.

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

using DecayFinderContainerBase::Decay = std::vector<std::pair<std::pair<int, int>, int>>

Definition at line 23 of file DecayFinderContainerBase.h.

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

using DecayFinderContainerBase::Iter = Map::iterator

Definition at line 26 of file DecayFinderContainerBase.h.

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

using DecayFinderContainerBase::Map = std::map<unsigned int, Decay>

Definition at line 24 of file DecayFinderContainerBase.h.

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

Constructor & Destructor Documentation

DecayFinderContainerBase::~DecayFinderContainerBase ( )
overridedefault
DecayFinderContainerBase::DecayFinderContainerBase ( )
protecteddefault

Referenced by DecayFinderContainer_v1::CloneMe().

+ Here is the caller graph for this function:

Member Function Documentation

DecayFinderContainerBase::ConstIter DecayFinderContainerBase::begin ( void  ) const
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 37 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 37 of file DecayFinderContainerBase.cc

References DummyMap.

DecayFinderContainerBase::Iter DecayFinderContainerBase::begin ( void  )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 52 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 52 of file DecayFinderContainerBase.cc

References DummyMap.

DecayFinderContainerBase::ClassDefOverride ( DecayFinderContainerBase  ,
 
)
private
void DecayFinderContainerBase::clear ( )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 22 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 22 of file DecayFinderContainerBase.cc

References DummyMap.

PHObject* DecayFinderContainerBase::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 36 of file DecayFinderContainerBase.h.

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

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

Reimplemented in DecayFinderContainer_v1.

Definition at line 40 of file DecayFinderContainerBase.h.

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

virtual bool DecayFinderContainerBase::empty ( ) const
inlinevirtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 38 of file DecayFinderContainerBase.h.

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

DecayFinderContainerBase::ConstIter DecayFinderContainerBase::end ( void  ) const
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 47 of file DecayFinderContainerBase.cc.

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

References DummyMap.

DecayFinderContainerBase::Iter DecayFinderContainerBase::end ( void  )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 62 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 62 of file DecayFinderContainerBase.cc

References DummyMap.

size_t DecayFinderContainerBase::erase ( unsigned int  key)
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 77 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 77 of file DecayFinderContainerBase.cc

References DummyMap.

DecayFinderContainerBase::ConstIter DecayFinderContainerBase::find ( unsigned int  ) const
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 42 of file DecayFinderContainerBase.cc.

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

References DummyMap.

DecayFinderContainerBase::Iter DecayFinderContainerBase::find ( unsigned int  )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 57 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 57 of file DecayFinderContainerBase.cc

References DummyMap.

const DecayFinderContainerBase::Decay DecayFinderContainerBase::get ( unsigned int  ) const
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 27 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 27 of file DecayFinderContainerBase.cc

References DummyDecay.

DecayFinderContainerBase::Decay DecayFinderContainerBase::get ( unsigned int  )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 32 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 32 of file DecayFinderContainerBase.cc

References DummyDecay.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 30 of file DecayFinderContainerBase.h.

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

References os.

DecayFinderContainerBase::Decay DecayFinderContainerBase::insert ( const Decay )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 67 of file DecayFinderContainerBase.cc.

View newest version in sPHENIX GitHub at line 67 of file DecayFinderContainerBase.cc

References DummyDecay.

int DecayFinderContainerBase::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 35 of file DecayFinderContainerBase.h.

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

void DecayFinderContainerBase::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 17 of file DecayFinderContainerBase.cc.

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

References DummyMap.

DecayFinderContainerBase::Map DecayFinderContainerBase::returnDecaysByPDGid ( int  )
virtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 72 of file DecayFinderContainerBase.cc.

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

References DummyMap.

virtual size_t DecayFinderContainerBase::size ( void  ) const
inlinevirtual

Reimplemented in DecayFinderContainer_v1.

Definition at line 39 of file DecayFinderContainerBase.h.

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


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