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

#include <fun4all_tutorials/blob/master/MyOwnTTree/src/MyTClonesArray.h>

+ Inheritance diagram for MyTClonesArray:
+ Collaboration diagram for MyTClonesArray:

Public Member Functions

 MyTClonesArray ()
 
virtual ~MyTClonesArray ()
 
void Reset ()
 Clear Event.
 
MySimpleTreeGetNewItem ()
 
MySimpleTreeGetItem (const unsigned int i) const
 
int Entries ()
 
void MyEventInt (const int i)
 
int MyEventInt () const
 
void MyEventFloat (const float f)
 
float MyEventFloat () 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 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 myeventint
 
float myeventfloat
 
TClonesArray * MyTCArray
 

Detailed Description

Definition at line 15 of file MyTClonesArray.h.

View newest version in sPHENIX GitHub at line 15 of file MyTClonesArray.h

Constructor & Destructor Documentation

MyTClonesArray::MyTClonesArray ( )

Definition at line 25 of file MyTClonesArray.cc.

View newest version in sPHENIX GitHub at line 25 of file MyTClonesArray.cc

MyTClonesArray::~MyTClonesArray ( )
virtual

Definition at line 33 of file MyTClonesArray.cc.

View newest version in sPHENIX GitHub at line 33 of file MyTClonesArray.cc

References MyTCArray, and return().

+ Here is the call graph for this function:

Member Function Documentation

int MyTClonesArray::Entries ( )

Definition at line 95 of file MyTClonesArray.cc.

View newest version in sPHENIX GitHub at line 95 of file MyTClonesArray.cc

References MyTCArray.

Referenced by AnalyzeSimpleTree::process_event().

+ Here is the caller graph for this function:

MySimpleTree * MyTClonesArray::GetItem ( const unsigned int  i) const

Definition at line 81 of file MyTClonesArray.cc.

View newest version in sPHENIX GitHub at line 81 of file MyTClonesArray.cc

References MyTCArray, and PHWHERE.

Referenced by AnalyzeSimpleTree::process_event().

+ Here is the caller graph for this function:

MySimpleTree * MyTClonesArray::GetNewItem ( )

Definition at line 64 of file MyTClonesArray.cc.

View newest version in sPHENIX GitHub at line 64 of file MyTClonesArray.cc

References DEFAULTSIZE, and MyTCArray.

Referenced by MakeSimpleTree::process_event().

+ Here is the caller graph for this function:

void MyTClonesArray::MyEventFloat ( const float  f)
inline

Definition at line 27 of file MyTClonesArray.h.

View newest version in sPHENIX GitHub at line 27 of file MyTClonesArray.h

References myeventfloat.

Referenced by MakeSimpleTree::process_event().

+ Here is the caller graph for this function:

float MyTClonesArray::MyEventFloat ( ) const
inline

Definition at line 28 of file MyTClonesArray.h.

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

References myeventfloat.

void MyTClonesArray::MyEventInt ( const int  i)
inline

Definition at line 25 of file MyTClonesArray.h.

View newest version in sPHENIX GitHub at line 25 of file MyTClonesArray.h

References myeventint.

Referenced by MakeSimpleTree::process_event().

+ Here is the caller graph for this function:

int MyTClonesArray::MyEventInt ( ) const
inline

Definition at line 26 of file MyTClonesArray.h.

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

References myeventint.

void MyTClonesArray::Reset ( )
virtual

Clear Event.

Reimplemented from PHObject.

Definition at line 45 of file MyTClonesArray.cc.

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

References DEFAULTSIZE, myeventfloat, myeventint, MyTCArray, and return().

+ Here is the call graph for this function:

Member Data Documentation

float MyTClonesArray::myeventfloat
protected

Definition at line 32 of file MyTClonesArray.h.

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

Referenced by MyEventFloat(), and Reset().

int MyTClonesArray::myeventint
protected

Definition at line 31 of file MyTClonesArray.h.

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

Referenced by MyEventInt(), and Reset().

TClonesArray* MyTClonesArray::MyTCArray
protected

Definition at line 33 of file MyTClonesArray.h.

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

Referenced by Entries(), GetItem(), GetNewItem(), Reset(), and ~MyTClonesArray().


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