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

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

+ Inheritance diagram for ParticleFlowElementv1:
+ Collaboration diagram for ParticleFlowElementv1:

Public Member Functions

 ParticleFlowElementv1 ()
 
 ~ParticleFlowElementv1 () 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
 
ParticleFlowElement::PFLOWTYPE get_type () const override
 
void set_type (ParticleFlowElement::PFLOWTYPE type) override
 
unsigned int get_id () const override
 
void set_id (unsigned int id) override
 
float get_px () const override
 
void set_px (float px) override
 
float get_py () const override
 
void set_py (float py) override
 
float get_pz () const override
 
void set_pz (float pz) override
 
float get_e () const override
 
void set_e (float e) override
 
float get_p () const override
 
float get_pt () const override
 
float get_et () const override
 
float get_eta () const override
 
float get_phi () const override
 
float get_mass () const override
 
- Public Member Functions inherited from ParticleFlowElement
 ParticleFlowElement ()
 
 ~ParticleFlowElement () override
 
 ClassDefOverride (ParticleFlowElement, 1)
 
- 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 (ParticleFlowElementv1, 1)
 

Private Attributes

unsigned int _id
 unique identifier within container
 
ParticleFlowElement::PFLOWTYPE _type
 
float _mom [3]
 pflow momentum vector (px,py,pz)
 
float _e
 pflow energy
 

Additional Inherited Members

- Public Types inherited from ParticleFlowElement
enum  PFLOWTYPE {
  UNASSIGNED = -1, MATCHED_CHARGED_HADRON = 0, UNMATCHED_CHARGED_HADRON = 1, UNMATCHED_EM_PARTICLE = 2,
  UNMATCHED_NEUTRAL_HADRON = 3, LEFTOVER_EM_PARTICLE = 4
}
 

Detailed Description

Definition at line 17 of file ParticleFlowElementv1.h.

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

Constructor & Destructor Documentation

ParticleFlowElementv1::ParticleFlowElementv1 ( )

Definition at line 6 of file ParticleFlowElementv1.cc.

View newest version in sPHENIX GitHub at line 6 of file ParticleFlowElementv1.cc

References _id, _mom, and _type.

ParticleFlowElementv1::~ParticleFlowElementv1 ( )
inlineoverride

Definition at line 21 of file ParticleFlowElementv1.h.

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

Member Function Documentation

ParticleFlowElementv1::ClassDefOverride ( ParticleFlowElementv1  ,
 
)
private
float ParticleFlowElementv1::get_e ( ) const
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 46 of file ParticleFlowElementv1.h.

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

References _e.

Referenced by get_et(), get_mass(), and identify().

+ Here is the caller graph for this function:

float ParticleFlowElementv1::get_et ( ) const
overridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 53 of file ParticleFlowElementv1.cc.

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

References get_e(), get_p(), and get_pt().

+ Here is the call graph for this function:

float ParticleFlowElementv1::get_eta ( ) const
overridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 58 of file ParticleFlowElementv1.cc.

View newest version in sPHENIX GitHub at line 58 of file ParticleFlowElementv1.cc

References get_pt(), and get_pz().

+ Here is the call graph for this function:

unsigned int ParticleFlowElementv1::get_id ( ) const
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 34 of file ParticleFlowElementv1.h.

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

References _id.

Referenced by identify().

+ Here is the caller graph for this function:

float ParticleFlowElementv1::get_mass ( ) const
overridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 68 of file ParticleFlowElementv1.cc.

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

References get_e(), get_px(), get_py(), and get_pz().

+ Here is the call graph for this function:

float ParticleFlowElementv1::get_p ( ) const
overridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 43 of file ParticleFlowElementv1.cc.

View newest version in sPHENIX GitHub at line 43 of file ParticleFlowElementv1.cc

References get_px(), get_py(), and get_pz().

Referenced by get_et().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float ParticleFlowElementv1::get_phi ( ) const
overridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 63 of file ParticleFlowElementv1.cc.

View newest version in sPHENIX GitHub at line 63 of file ParticleFlowElementv1.cc

References get_px(), and get_py().

+ Here is the call graph for this function:

float ParticleFlowElementv1::get_pt ( ) const
overridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 48 of file ParticleFlowElementv1.cc.

View newest version in sPHENIX GitHub at line 48 of file ParticleFlowElementv1.cc

References get_px(), and get_py().

Referenced by get_et(), and get_eta().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float ParticleFlowElementv1::get_px ( ) const
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 37 of file ParticleFlowElementv1.h.

View newest version in sPHENIX GitHub at line 37 of file ParticleFlowElementv1.h

References _mom.

Referenced by get_mass(), get_p(), get_phi(), get_pt(), and identify().

+ Here is the caller graph for this function:

float ParticleFlowElementv1::get_py ( ) const
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 40 of file ParticleFlowElementv1.h.

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

References _mom.

Referenced by get_mass(), get_p(), get_phi(), get_pt(), and identify().

+ Here is the caller graph for this function:

float ParticleFlowElementv1::get_pz ( ) const
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 43 of file ParticleFlowElementv1.h.

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

References _mom.

Referenced by get_eta(), get_mass(), get_p(), and identify().

+ Here is the caller graph for this function:

ParticleFlowElement::PFLOWTYPE ParticleFlowElementv1::get_type ( ) const
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 31 of file ParticleFlowElementv1.h.

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

References _type.

Referenced by identify().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from ParticleFlowElement.

Definition at line 16 of file ParticleFlowElementv1.cc.

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

References get_e(), get_id(), get_px(), get_py(), get_pz(), and get_type().

+ Here is the call graph for this function:

int ParticleFlowElementv1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from ParticleFlowElement.

Definition at line 32 of file ParticleFlowElementv1.cc.

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

References _e, and _mom.

void ParticleFlowElementv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 26 of file ParticleFlowElementv1.cc.

View newest version in sPHENIX GitHub at line 26 of file ParticleFlowElementv1.cc

References _e, and _mom.

void ParticleFlowElementv1::set_e ( float  e)
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 47 of file ParticleFlowElementv1.h.

View newest version in sPHENIX GitHub at line 47 of file ParticleFlowElementv1.h

References _e, and e.

void ParticleFlowElementv1::set_id ( unsigned int  id)
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 35 of file ParticleFlowElementv1.h.

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

References _id.

void ParticleFlowElementv1::set_px ( float  px)
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 38 of file ParticleFlowElementv1.h.

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

References _mom.

void ParticleFlowElementv1::set_py ( float  py)
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 41 of file ParticleFlowElementv1.h.

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

References _mom.

void ParticleFlowElementv1::set_pz ( float  pz)
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 44 of file ParticleFlowElementv1.h.

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

References _mom.

void ParticleFlowElementv1::set_type ( ParticleFlowElement::PFLOWTYPE  type)
inlineoverridevirtual

Reimplemented from ParticleFlowElement.

Definition at line 32 of file ParticleFlowElementv1.h.

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

References _type.

Member Data Documentation

float ParticleFlowElementv1::_e
private

pflow energy

Definition at line 67 of file ParticleFlowElementv1.h.

View newest version in sPHENIX GitHub at line 67 of file ParticleFlowElementv1.h

Referenced by get_e(), isValid(), Reset(), and set_e().

unsigned int ParticleFlowElementv1::_id
private

unique identifier within container

Definition at line 58 of file ParticleFlowElementv1.h.

View newest version in sPHENIX GitHub at line 58 of file ParticleFlowElementv1.h

Referenced by get_id(), ParticleFlowElementv1(), and set_id().

float ParticleFlowElementv1::_mom[3]
private

pflow momentum vector (px,py,pz)

Definition at line 64 of file ParticleFlowElementv1.h.

View newest version in sPHENIX GitHub at line 64 of file ParticleFlowElementv1.h

Referenced by get_px(), get_py(), get_pz(), isValid(), ParticleFlowElementv1(), Reset(), set_px(), set_py(), and set_pz().

ParticleFlowElement::PFLOWTYPE ParticleFlowElementv1::_type
private

Definition at line 61 of file ParticleFlowElementv1.h.

View newest version in sPHENIX GitHub at line 61 of file ParticleFlowElementv1.h

Referenced by get_type(), ParticleFlowElementv1(), and set_type().


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