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

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

+ Inheritance diagram for DecayFinderContainer_v1:
+ Collaboration diagram for DecayFinderContainer_v1:

Public Member Functions

 DecayFinderContainer_v1 ()
 
 DecayFinderContainer_v1 (const DecayFinderContainer_v1 &decayfindermap)
 
DecayFinderContainer_v1operator= (const DecayFinderContainer_v1 &decayfindermap)
 
 ~DecayFinderContainer_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 key) const override
 
void clear () override
 
const Decay get (unsigned int key) const override
 
Decay get (unsigned int key) override
 
ConstIter begin () const override
 
ConstIter find (unsigned int key) const override
 
ConstIter end () const override
 
Iter begin () override
 
Iter find (unsigned int key) override
 
Iter end () override
 
Decay insert (const Decay &decay) override
 
Map returnDecaysByPDGid (int PDGid) override
 
size_t erase (unsigned int key) override
 
- Public Member Functions inherited from DecayFinderContainerBase
 ~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.
 
- 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)
 

Private Member Functions

 ClassDefOverride (DecayFinderContainer_v1, 1)
 

Private Attributes

Map m_decaymap
 

Additional Inherited Members

- Public Types inherited from DecayFinderContainerBase
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
 
- Protected Member Functions inherited from DecayFinderContainerBase
 DecayFinderContainerBase ()=default
 

Detailed Description

Definition at line 17 of file DecayFinderContainer_v1.h.

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

Constructor & Destructor Documentation

DecayFinderContainer_v1::DecayFinderContainer_v1 ( )

Definition at line 14 of file DecayFinderContainer_v1.cc.

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

DecayFinderContainer_v1::DecayFinderContainer_v1 ( const DecayFinderContainer_v1 decayfindermap)

Definition at line 19 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 19 of file DecayFinderContainer_v1.cc

References m_decaymap.

DecayFinderContainer_v1::~DecayFinderContainer_v1 ( )
override

Definition at line 40 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 40 of file DecayFinderContainer_v1.cc

References Reset().

+ Here is the call graph for this function:

Member Function Documentation

ConstIter DecayFinderContainer_v1::begin ( void  ) const
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 39 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

Referenced by HFTrackEfficiency::getDecayDescriptor(), truthDecayTester::getDecayFinderMothers(), QAG4SimulationTruthDecay::getDecayFinderMothers(), truthDecayTester::getMotherPDG(), QAG4SimulationTruthDecay::getMotherPDG(), and HFTrackEfficiency::getNDaughters().

+ Here is the caller graph for this function:

Iter DecayFinderContainer_v1::begin ( void  )
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 43 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

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

Reimplemented from DecayFinderContainerBase.

Definition at line 34 of file DecayFinderContainer_v1.h.

View newest version in sPHENIX GitHub at line 34 of file DecayFinderContainer_v1.h

References Reset().

+ Here is the call graph for this function:

PHObject* DecayFinderContainer_v1::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 29 of file DecayFinderContainer_v1.h.

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

References DecayFinderContainerBase::DecayFinderContainerBase().

+ Here is the call graph for this function:

size_t DecayFinderContainer_v1::count ( unsigned int  key) const
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 33 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

bool DecayFinderContainer_v1::empty ( ) const
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 31 of file DecayFinderContainer_v1.h.

View newest version in sPHENIX GitHub at line 31 of file DecayFinderContainer_v1.h

References m_decaymap.

Referenced by HFTrackEfficiency::process_event().

+ Here is the caller graph for this function:

ConstIter DecayFinderContainer_v1::end ( void  ) const
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 41 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

Referenced by truthDecayTester::getDecayFinderMothers(), and QAG4SimulationTruthDecay::getDecayFinderMothers().

+ Here is the caller graph for this function:

Iter DecayFinderContainer_v1::end ( void  )
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 45 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

size_t DecayFinderContainer_v1::erase ( unsigned int  key)
overridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 109 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 109 of file DecayFinderContainer_v1.cc

References m_decaymap.

ConstIter DecayFinderContainer_v1::find ( unsigned int  key) const
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 40 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

Iter DecayFinderContainer_v1::find ( unsigned int  key)
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 44 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

const DecayFinderContainerBase::Decay DecayFinderContainer_v1::get ( unsigned int  key) const
overridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 56 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 56 of file DecayFinderContainer_v1.cc

References m_decaymap.

DecayFinderContainerBase::Decay DecayFinderContainer_v1::get ( unsigned int  key)
overridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 68 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 68 of file DecayFinderContainer_v1.cc

References m_decaymap.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 50 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 50 of file DecayFinderContainer_v1.cc

References m_decaymap.

DecayFinderContainerBase::Decay DecayFinderContainer_v1::insert ( const Decay decay)
overridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 80 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 80 of file DecayFinderContainer_v1.cc

References index, and m_decaymap.

Referenced by DecayFinder::fillDecayNode().

+ Here is the caller graph for this function:

int DecayFinderContainer_v1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 28 of file DecayFinderContainer_v1.h.

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

DecayFinderContainer_v1 & DecayFinderContainer_v1::operator= ( const DecayFinderContainer_v1 decayfindermap)

Definition at line 29 of file DecayFinderContainer_v1.cc.

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

References m_decaymap, and Reset().

+ Here is the call graph for this function:

void DecayFinderContainer_v1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 45 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 45 of file DecayFinderContainer_v1.cc

References m_decaymap.

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

+ Here is the caller graph for this function:

DecayFinderContainerBase::Map DecayFinderContainer_v1::returnDecaysByPDGid ( int  PDGid)
overridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 91 of file DecayFinderContainer_v1.cc.

View newest version in sPHENIX GitHub at line 91 of file DecayFinderContainer_v1.cc

References m_decaymap.

size_t DecayFinderContainer_v1::size ( void  ) const
inlineoverridevirtual

Reimplemented from DecayFinderContainerBase.

Definition at line 32 of file DecayFinderContainer_v1.h.

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

References m_decaymap.

Member Data Documentation

Map DecayFinderContainer_v1::m_decaymap
private

Definition at line 55 of file DecayFinderContainer_v1.h.

View newest version in sPHENIX GitHub at line 55 of file DecayFinderContainer_v1.h

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


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