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

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

+ Inheritance diagram for G4RootScintillatorTowerContainer:
+ Collaboration diagram for G4RootScintillatorTowerContainer:

Public Member Functions

 G4RootScintillatorTowerContainer ()
 
 ~G4RootScintillatorTowerContainer () override
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
G4RootScintillatorTowerAddTower (double towerenergy, int ieta, int iphi)
 
void set_idet (const int i)
 
int get_idet () const
 
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 Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

int idet
 
float etotal
 
float eion
 
float leakage
 
int event
 
TClonesArray * SnglTowers
 

Detailed Description

Definition at line 12 of file G4RootScintillatorTowerContainer.h.

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

Constructor & Destructor Documentation

G4RootScintillatorTowerContainer::G4RootScintillatorTowerContainer ( )

Definition at line 14 of file G4RootScintillatorTowerContainer.cc.

View newest version in sPHENIX GitHub at line 14 of file G4RootScintillatorTowerContainer.cc

References NMAX, and SnglTowers.

G4RootScintillatorTowerContainer::~G4RootScintillatorTowerContainer ( )
override

Definition at line 24 of file G4RootScintillatorTowerContainer.cc.

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

References SnglTowers.

Member Function Documentation

G4RootScintillatorTower * G4RootScintillatorTowerContainer::AddTower ( double  towerenergy,
int  ieta,
int  iphi 
)

Definition at line 44 of file G4RootScintillatorTowerContainer.cc.

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

References SnglTowers.

Referenced by G4ScintillatorTowerTTree::process_event().

+ Here is the caller graph for this function:

float G4RootScintillatorTowerContainer::get_eion ( ) const
inline

Definition at line 30 of file G4RootScintillatorTowerContainer.h.

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

References eion.

float G4RootScintillatorTowerContainer::get_etotal ( ) const
inline

Definition at line 27 of file G4RootScintillatorTowerContainer.h.

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

References etotal.

int G4RootScintillatorTowerContainer::get_event ( ) const
inline

Definition at line 36 of file G4RootScintillatorTowerContainer.h.

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

References event.

int G4RootScintillatorTowerContainer::get_idet ( ) const
inline

Definition at line 24 of file G4RootScintillatorTowerContainer.h.

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

References idet.

float G4RootScintillatorTowerContainer::get_leakage ( ) const
inline

Definition at line 33 of file G4RootScintillatorTowerContainer.h.

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

References leakage.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 56 of file G4RootScintillatorTowerContainer.cc.

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

References SnglTowers.

void G4RootScintillatorTowerContainer::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 30 of file G4RootScintillatorTowerContainer.cc.

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

References etotal, leakage, NMAX, and SnglTowers.

void G4RootScintillatorTowerContainer::set_eion ( const float  e)
inline

Definition at line 29 of file G4RootScintillatorTowerContainer.h.

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

References Acts::UnitConstants::e, and eion.

void G4RootScintillatorTowerContainer::set_etotal ( const float  e)
inline

Definition at line 26 of file G4RootScintillatorTowerContainer.h.

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

References Acts::UnitConstants::e, and etotal.

Referenced by G4ScintillatorTowerTTree::process_event().

+ Here is the caller graph for this function:

void G4RootScintillatorTowerContainer::set_event ( const int  i)
inline

Definition at line 35 of file G4RootScintillatorTowerContainer.h.

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

References i.

Referenced by G4ScintillatorTowerTTree::process_event().

+ Here is the caller graph for this function:

void G4RootScintillatorTowerContainer::set_idet ( const int  i)
inline

Definition at line 23 of file G4RootScintillatorTowerContainer.h.

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

References i, and idet.

void G4RootScintillatorTowerContainer::set_leakage ( const float  f)
inline

Definition at line 32 of file G4RootScintillatorTowerContainer.h.

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

References f, and leakage.

Member Data Documentation

float G4RootScintillatorTowerContainer::eion
protected

Definition at line 42 of file G4RootScintillatorTowerContainer.h.

View newest version in sPHENIX GitHub at line 42 of file G4RootScintillatorTowerContainer.h

Referenced by get_eion(), and set_eion().

float G4RootScintillatorTowerContainer::etotal
protected

Definition at line 41 of file G4RootScintillatorTowerContainer.h.

View newest version in sPHENIX GitHub at line 41 of file G4RootScintillatorTowerContainer.h

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

int G4RootScintillatorTowerContainer::event
protected

Definition at line 44 of file G4RootScintillatorTowerContainer.h.

View newest version in sPHENIX GitHub at line 44 of file G4RootScintillatorTowerContainer.h

Referenced by get_event().

int G4RootScintillatorTowerContainer::idet
protected

Definition at line 40 of file G4RootScintillatorTowerContainer.h.

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

Referenced by get_idet(), and set_idet().

float G4RootScintillatorTowerContainer::leakage
protected

Definition at line 43 of file G4RootScintillatorTowerContainer.h.

View newest version in sPHENIX GitHub at line 43 of file G4RootScintillatorTowerContainer.h

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

TClonesArray* G4RootScintillatorTowerContainer::SnglTowers
protected

Definition at line 45 of file G4RootScintillatorTowerContainer.h.

View newest version in sPHENIX GitHub at line 45 of file G4RootScintillatorTowerContainer.h

Referenced by AddTower(), G4RootScintillatorTowerContainer(), identify(), Reset(), and ~G4RootScintillatorTowerContainer().


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