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

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

+ Inheritance diagram for G4RootScintillatorTower:
+ Collaboration diagram for G4RootScintillatorTower:

Public Member Functions

 G4RootScintillatorTower ()
 
 G4RootScintillatorTower (double towerenergy, int ieta, int iphi)
 
 ~G4RootScintillatorTower () 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
 
int get_row () const
 
int get_column () const
 
double 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

short row
 
short column
 
double energy
 

Detailed Description

Definition at line 12 of file G4RootScintillatorTower.h.

View newest version in sPHENIX GitHub at line 12 of file G4RootScintillatorTower.h

Constructor & Destructor Documentation

G4RootScintillatorTower::G4RootScintillatorTower ( )

Definition at line 9 of file G4RootScintillatorTower.cc.

View newest version in sPHENIX GitHub at line 9 of file G4RootScintillatorTower.cc

G4RootScintillatorTower::G4RootScintillatorTower ( double  towerenergy,
int  ieta,
int  iphi 
)

Definition at line 17 of file G4RootScintillatorTower.cc.

View newest version in sPHENIX GitHub at line 17 of file G4RootScintillatorTower.cc

G4RootScintillatorTower::~G4RootScintillatorTower ( )
inlineoverride

Definition at line 17 of file G4RootScintillatorTower.h.

View newest version in sPHENIX GitHub at line 17 of file G4RootScintillatorTower.h

Member Function Documentation

int G4RootScintillatorTower::get_column ( ) const
inline

Definition at line 24 of file G4RootScintillatorTower.h.

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

References column.

double G4RootScintillatorTower::get_energy ( ) const
inline

Definition at line 25 of file G4RootScintillatorTower.h.

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

References energy.

int G4RootScintillatorTower::get_row ( ) const
inline

Definition at line 23 of file G4RootScintillatorTower.h.

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

References row.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 37 of file G4RootScintillatorTower.cc.

View newest version in sPHENIX GitHub at line 37 of file G4RootScintillatorTower.cc

References column, energy, and row.

int G4RootScintillatorTower::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 32 of file G4RootScintillatorTower.cc.

View newest version in sPHENIX GitHub at line 32 of file G4RootScintillatorTower.cc

References row.

void G4RootScintillatorTower::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 25 of file G4RootScintillatorTower.cc.

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

References column, energy, and row.

Member Data Documentation

short G4RootScintillatorTower::column
protected
double G4RootScintillatorTower::energy
protected

Definition at line 30 of file G4RootScintillatorTower.h.

View newest version in sPHENIX GitHub at line 30 of file G4RootScintillatorTower.h

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

short G4RootScintillatorTower::row
protected

Definition at line 28 of file G4RootScintillatorTower.h.

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

Referenced by get_row(), identify(), isValid(), and Reset().


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