ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/vararray/VariableArray.h>
Public Member Functions | |
VariableArray (const unsigned int idval=0) | |
~VariableArray () override | |
void | identify (std::ostream &os=std::cout) const override |
void | set_val (const std::vector< short > &vec) |
const short int * | get_array () const |
unsigned int | get_array_size () const |
int | Id () const |
void | Reset () override |
Clear Event. | |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
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 | |
int | id |
unsigned int | nVal |
short * | sval |
Definition at line 9 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 9 of file VariableArray.h
VariableArray::VariableArray | ( | const unsigned int | idval = 0 | ) |
Definition at line 7 of file VariableArray.cc.
View newest version in sPHENIX GitHub at line 7 of file VariableArray.cc
|
override |
Definition at line 15 of file VariableArray.cc.
View newest version in sPHENIX GitHub at line 15 of file VariableArray.cc
References Reset().
|
inline |
Definition at line 19 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 19 of file VariableArray.h
References sval.
Referenced by PHG4InEventReadBack::process_event(), and DumpVariableArray::process_Node().
|
inline |
Definition at line 20 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 20 of file VariableArray.h
References nVal.
Referenced by PHG4InEventReadBack::process_event(), and DumpVariableArray::process_Node().
|
inline |
Definition at line 21 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 21 of file VariableArray.h
References id.
Referenced by DumpVariableArray::process_Node().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 21 of file VariableArray.cc.
View newest version in sPHENIX GitHub at line 21 of file VariableArray.cc
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 44 of file VariableArray.cc.
View newest version in sPHENIX GitHub at line 44 of file VariableArray.cc
Referenced by ~VariableArray().
void VariableArray::set_val | ( | const std::vector< short > & | vec | ) |
Definition at line 31 of file VariableArray.cc.
View newest version in sPHENIX GitHub at line 31 of file VariableArray.cc
Referenced by PHG4InEventCompress::process_event().
|
protected |
Definition at line 25 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 25 of file VariableArray.h
Referenced by Id().
|
protected |
Definition at line 26 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 26 of file VariableArray.h
Referenced by get_array_size(), identify(), Reset(), and set_val().
|
protected |
Definition at line 27 of file VariableArray.h.
View newest version in sPHENIX GitHub at line 27 of file VariableArray.h
Referenced by get_array(), identify(), Reset(), and set_val().