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

#include <tutorials/blob/master/MyOwnTTree/src/MySimpleTree.h>

+ Inheritance diagram for MySimpleTree:
+ Collaboration diagram for MySimpleTree:

Public Member Functions

 MySimpleTree ()
 
 ~MySimpleTree () override
 
void Reset () override
 Clear Event.
 
void MyFloat (const float f)
 
float MyFloat () const
 
void MyInt (const int i)
 
int MyInt () 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 void identify (std::ostream &os=std::cout) const
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Attributes

int myint = -9999
 
float myfloat = NAN
 

Detailed Description

Definition at line 22 of file MySimpleTree.h.

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

Constructor & Destructor Documentation

MySimpleTree::MySimpleTree ( )

Definition at line 5 of file MySimpleTree.cc.

View newest version in sPHENIX GitHub at line 5 of file MySimpleTree.cc

References Reset().

+ Here is the call graph for this function:

MySimpleTree::~MySimpleTree ( )
inlineoverride

Definition at line 28 of file MySimpleTree.h.

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

Member Function Documentation

void MySimpleTree::MyFloat ( const float  f)
inline

Definition at line 32 of file MySimpleTree.h.

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

References f, and myfloat.

Referenced by MakeSimpleTree::process_event(), and AnalyzeSimpleTree::process_event().

+ Here is the caller graph for this function:

float MySimpleTree::MyFloat ( ) const
inline

Definition at line 33 of file MySimpleTree.h.

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

References myfloat.

void MySimpleTree::MyInt ( const int  i)
inline

Definition at line 34 of file MySimpleTree.h.

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

References i, and myint.

Referenced by MakeSimpleTree::process_event().

+ Here is the caller graph for this function:

int MySimpleTree::MyInt ( ) const
inline

Definition at line 35 of file MySimpleTree.h.

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

References myint.

void MySimpleTree::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 11 of file MySimpleTree.cc.

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

References myfloat, and myint.

Referenced by MySimpleTree().

+ Here is the caller graph for this function:

Member Data Documentation

float MySimpleTree::myfloat = NAN
private

Definition at line 39 of file MySimpleTree.h.

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

Referenced by MyFloat(), and Reset().

int MySimpleTree::myint = -9999
private

Definition at line 38 of file MySimpleTree.h.

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

Referenced by MyInt(), and Reset().


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