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

#include <coresoftware/blob/master/simulation/g4simulation/g4histos/G4RootHitContainer.h>

+ Inheritance diagram for G4RootHitContainer:
+ Collaboration diagram for G4RootHitContainer:

Public Member Functions

 G4RootHitContainer ()
 
 ~G4RootHitContainer () override
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
PHG4HitAddHit (const PHG4Hit *g4hit)
 
void set_etotal (const float e)
 
float get_etotal () const
 
void set_eion (const float e)
 
float get_eion () const
 
void set_leakage (const float f)
 
float get_leakage () const
 
void set_event (const int i)
 
int get_event () 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
 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

float etotal
 
float eion
 
float leakage
 
int event
 
TClonesArray * SnglHits
 

Detailed Description

Definition at line 11 of file G4RootHitContainer.h.

View newest version in sPHENIX GitHub at line 11 of file G4RootHitContainer.h

Constructor & Destructor Documentation

G4RootHitContainer::G4RootHitContainer ( )

Definition at line 15 of file G4RootHitContainer.cc.

View newest version in sPHENIX GitHub at line 15 of file G4RootHitContainer.cc

References NMAX, and SnglHits.

G4RootHitContainer::~G4RootHitContainer ( )
override

Definition at line 24 of file G4RootHitContainer.cc.

View newest version in sPHENIX GitHub at line 24 of file G4RootHitContainer.cc

References SnglHits.

Member Function Documentation

PHG4Hit * G4RootHitContainer::AddHit ( const PHG4Hit g4hit)

Definition at line 44 of file G4RootHitContainer.cc.

View newest version in sPHENIX GitHub at line 44 of file G4RootHitContainer.cc

References SnglHits.

Referenced by G4HitTTree::process_event().

+ Here is the caller graph for this function:

float G4RootHitContainer::get_eion ( ) const
inline

Definition at line 26 of file G4RootHitContainer.h.

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

References eion.

float G4RootHitContainer::get_etotal ( ) const
inline

Definition at line 23 of file G4RootHitContainer.h.

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

References etotal.

int G4RootHitContainer::get_event ( ) const
inline

Definition at line 32 of file G4RootHitContainer.h.

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

References event.

float G4RootHitContainer::get_leakage ( ) const
inline

Definition at line 29 of file G4RootHitContainer.h.

View newest version in sPHENIX GitHub at line 29 of file G4RootHitContainer.h

References leakage.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 56 of file G4RootHitContainer.cc.

View newest version in sPHENIX GitHub at line 56 of file G4RootHitContainer.cc

References SnglHits.

void G4RootHitContainer::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 30 of file G4RootHitContainer.cc.

View newest version in sPHENIX GitHub at line 30 of file G4RootHitContainer.cc

References etotal, leakage, NMAX, and SnglHits.

void G4RootHitContainer::set_eion ( const float  e)
inline

Definition at line 25 of file G4RootHitContainer.h.

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

References e, and eion.

Referenced by G4HitTTree::process_event().

+ Here is the caller graph for this function:

void G4RootHitContainer::set_etotal ( const float  e)
inline

Definition at line 22 of file G4RootHitContainer.h.

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

References e, and etotal.

Referenced by G4HitTTree::process_event().

+ Here is the caller graph for this function:

void G4RootHitContainer::set_event ( const int  i)
inline

Definition at line 31 of file G4RootHitContainer.h.

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

Referenced by G4HitTTree::process_event().

+ Here is the caller graph for this function:

void G4RootHitContainer::set_leakage ( const float  f)
inline

Definition at line 28 of file G4RootHitContainer.h.

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

References f, and leakage.

Referenced by G4HitTTree::process_event().

+ Here is the caller graph for this function:

Member Data Documentation

float G4RootHitContainer::eion
protected

Definition at line 37 of file G4RootHitContainer.h.

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

Referenced by get_eion(), and set_eion().

float G4RootHitContainer::etotal
protected

Definition at line 36 of file G4RootHitContainer.h.

View newest version in sPHENIX GitHub at line 36 of file G4RootHitContainer.h

Referenced by get_etotal(), Reset(), and set_etotal().

int G4RootHitContainer::event
protected

Definition at line 39 of file G4RootHitContainer.h.

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

Referenced by get_event().

float G4RootHitContainer::leakage
protected

Definition at line 38 of file G4RootHitContainer.h.

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

Referenced by get_leakage(), Reset(), and set_leakage().

TClonesArray* G4RootHitContainer::SnglHits
protected

Definition at line 40 of file G4RootHitContainer.h.

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

Referenced by AddHit(), G4RootHitContainer(), identify(), Reset(), and ~G4RootHitContainer().


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