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

#include <coresoftware/blob/master/offline/packages/particleflow/ParticleFlowElementContainer.h>

+ Inheritance diagram for ParticleFlowElementContainer:
+ Collaboration diagram for ParticleFlowElementContainer:

Public Types

typedef std::map< int,
ParticleFlowElement * > 
Map
 
typedef Map::iterator Iterator
 
typedef Map::const_iterator ConstIterator
 
typedef std::pair< Iterator,
Iterator
Range
 
typedef std::pair
< ConstIterator, ConstIterator
ConstRange
 

Public Member Functions

 ParticleFlowElementContainer ()
 
 ~ParticleFlowElementContainer () override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
void identify (std::ostream &os=std::cout) const override
 
void AddParticleFlowElement (int index, ParticleFlowElement *pflowElement)
 
ParticleFlowElementgetParticleFlowElement (int index)
 
const ParticleFlowElementgetParticleFlowElement (int index) const
 
ConstRange getParticleFlowElements (void) const
 return all elements
 
Range getParticleFlowElements (void)
 
unsigned int size () const
 
- 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)
 

Protected Attributes

Map _pflowElementMap
 

Detailed Description

Definition at line 17 of file ParticleFlowElementContainer.h.

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

Member Typedef Documentation

typedef Map::const_iterator ParticleFlowElementContainer::ConstIterator

Definition at line 22 of file ParticleFlowElementContainer.h.

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

Definition at line 24 of file ParticleFlowElementContainer.h.

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

Definition at line 21 of file ParticleFlowElementContainer.h.

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

Definition at line 20 of file ParticleFlowElementContainer.h.

View newest version in sPHENIX GitHub at line 20 of file ParticleFlowElementContainer.h

Definition at line 23 of file ParticleFlowElementContainer.h.

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

Constructor & Destructor Documentation

ParticleFlowElementContainer::ParticleFlowElementContainer ( )
inline

Definition at line 26 of file ParticleFlowElementContainer.h.

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

ParticleFlowElementContainer::~ParticleFlowElementContainer ( )
inlineoverride

Definition at line 31 of file ParticleFlowElementContainer.h.

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

Member Function Documentation

void ParticleFlowElementContainer::AddParticleFlowElement ( int  index,
ParticleFlowElement pflowElement 
)

Definition at line 23 of file ParticleFlowElementContainer.cc.

View newest version in sPHENIX GitHub at line 23 of file ParticleFlowElementContainer.cc

References _pflowElementMap.

Referenced by ParticleFlowReco::process_event().

+ Here is the caller graph for this function:

ParticleFlowElement * ParticleFlowElementContainer::getParticleFlowElement ( int  index)

Definition at line 31 of file ParticleFlowElementContainer.cc.

View newest version in sPHENIX GitHub at line 31 of file ParticleFlowElementContainer.cc

References _pflowElementMap, and it.

const ParticleFlowElement * ParticleFlowElementContainer::getParticleFlowElement ( int  index) const

Definition at line 42 of file ParticleFlowElementContainer.cc.

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

References _pflowElementMap, and it.

ParticleFlowElementContainer::ConstRange ParticleFlowElementContainer::getParticleFlowElements ( void  ) const

return all elements

Definition at line 11 of file ParticleFlowElementContainer.cc.

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

References _pflowElementMap.

Referenced by ParticleFlowJetInput::get_input(), ParticleFlowReco::process_event(), and DumpParticleFlowElementContainer::process_Node().

+ Here is the caller graph for this function:

ParticleFlowElementContainer::Range ParticleFlowElementContainer::getParticleFlowElements ( void  )

Definition at line 17 of file ParticleFlowElementContainer.cc.

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

References _pflowElementMap.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 66 of file ParticleFlowElementContainer.cc.

View newest version in sPHENIX GitHub at line 66 of file ParticleFlowElementContainer.cc

References size().

+ Here is the call graph for this function:

int ParticleFlowElementContainer::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 52 of file ParticleFlowElementContainer.cc.

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

References _pflowElementMap.

void ParticleFlowElementContainer::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 57 of file ParticleFlowElementContainer.cc.

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

References _pflowElementMap.

unsigned int ParticleFlowElementContainer::size ( void  ) const
inline

Definition at line 45 of file ParticleFlowElementContainer.h.

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

References _pflowElementMap.

Referenced by identify(), and DumpParticleFlowElementContainer::process_Node().

+ Here is the caller graph for this function:

Member Data Documentation

Map ParticleFlowElementContainer::_pflowElementMap
protected

Definition at line 48 of file ParticleFlowElementContainer.h.

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

Referenced by AddParticleFlowElement(), getParticleFlowElement(), getParticleFlowElements(), isValid(), Reset(), and size().


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