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

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

+ Inheritance diagram for G4RootRawTower:
+ Collaboration diagram for G4RootRawTower:

Public Member Functions

 G4RootRawTower ()
 
 G4RootRawTower (const float ieta, const float iphi, const float e)
 
 ~G4RootRawTower () override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
void identify (std::ostream &os=std::cout) const override
 
float get_eta () const
 
float get_phi () const
 
float get_energy () 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 Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

float eta
 
float phi
 
float energy
 

Detailed Description

Definition at line 8 of file G4RootRawTower.h.

View newest version in sPHENIX GitHub at line 8 of file G4RootRawTower.h

Constructor & Destructor Documentation

G4RootRawTower::G4RootRawTower ( )

Definition at line 8 of file G4RootRawTower.cc.

View newest version in sPHENIX GitHub at line 8 of file G4RootRawTower.cc

G4RootRawTower::G4RootRawTower ( const float  ieta,
const float  iphi,
const float  e 
)

Definition at line 15 of file G4RootRawTower.cc.

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

G4RootRawTower::~G4RootRawTower ( )
inlineoverride

Definition at line 13 of file G4RootRawTower.h.

View newest version in sPHENIX GitHub at line 13 of file G4RootRawTower.h

Member Function Documentation

float G4RootRawTower::get_energy ( ) const
inline

Definition at line 21 of file G4RootRawTower.h.

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

References energy.

Referenced by identify(), and isValid().

+ Here is the caller graph for this function:

float G4RootRawTower::get_eta ( ) const
inline

Definition at line 19 of file G4RootRawTower.h.

View newest version in sPHENIX GitHub at line 19 of file G4RootRawTower.h

References eta.

float G4RootRawTower::get_phi ( ) const
inline

Definition at line 20 of file G4RootRawTower.h.

View newest version in sPHENIX GitHub at line 20 of file G4RootRawTower.h

References phi.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 34 of file G4RootRawTower.cc.

View newest version in sPHENIX GitHub at line 34 of file G4RootRawTower.cc

References eta, get_energy(), and phi.

+ Here is the call graph for this function:

int G4RootRawTower::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 29 of file G4RootRawTower.cc.

View newest version in sPHENIX GitHub at line 29 of file G4RootRawTower.cc

References get_energy().

+ Here is the call graph for this function:

void G4RootRawTower::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 22 of file G4RootRawTower.cc.

View newest version in sPHENIX GitHub at line 22 of file G4RootRawTower.cc

References energy, eta, and phi.

Member Data Documentation

float G4RootRawTower::energy
protected

Definition at line 26 of file G4RootRawTower.h.

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

Referenced by get_energy(), and Reset().

float G4RootRawTower::eta
protected

Definition at line 24 of file G4RootRawTower.h.

View newest version in sPHENIX GitHub at line 24 of file G4RootRawTower.h

Referenced by get_eta(), identify(), and Reset().

float G4RootRawTower::phi
protected

Definition at line 25 of file G4RootRawTower.h.

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

Referenced by get_phi(), identify(), and Reset().


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