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

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

+ Inheritance diagram for G4RootRawTowerContainer:
+ Collaboration diagram for G4RootRawTowerContainer:

Public Member Functions

 G4RootRawTowerContainer ()
 
 ~G4RootRawTowerContainer () override
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
G4RootRawTowerAddG4RootRawTower (const G4RootRawTower &g4tower)
 
void set_etotal (const float e)
 
float get_etotal () 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

float etotal
 
int event
 
TClonesArray * SnglG4RootRawTowers
 

Detailed Description

Definition at line 11 of file G4RootRawTowerContainer.h.

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

Constructor & Destructor Documentation

G4RootRawTowerContainer::G4RootRawTowerContainer ( )

Definition at line 14 of file G4RootRawTowerContainer.cc.

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

References NMAX, and SnglG4RootRawTowers.

G4RootRawTowerContainer::~G4RootRawTowerContainer ( )
override

Definition at line 21 of file G4RootRawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 21 of file G4RootRawTowerContainer.cc

References SnglG4RootRawTowers.

Member Function Documentation

G4RootRawTower * G4RootRawTowerContainer::AddG4RootRawTower ( const G4RootRawTower g4tower)

Definition at line 40 of file G4RootRawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 40 of file G4RootRawTowerContainer.cc

References SnglG4RootRawTowers.

Referenced by G4RawTowerTTree::process_event().

+ Here is the caller graph for this function:

float G4RootRawTowerContainer::get_etotal ( ) const
inline

Definition at line 23 of file G4RootRawTowerContainer.h.

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

References etotal.

int G4RootRawTowerContainer::get_event ( ) const
inline

Definition at line 26 of file G4RootRawTowerContainer.h.

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

References event.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 52 of file G4RootRawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 52 of file G4RootRawTowerContainer.cc

References SnglG4RootRawTowers.

void G4RootRawTowerContainer::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 27 of file G4RootRawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 27 of file G4RootRawTowerContainer.cc

References etotal, NMAX, and SnglG4RootRawTowers.

void G4RootRawTowerContainer::set_etotal ( const float  e)
inline

Definition at line 22 of file G4RootRawTowerContainer.h.

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

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

Referenced by G4RawTowerTTree::process_event().

+ Here is the caller graph for this function:

void G4RootRawTowerContainer::set_event ( const int  i)
inline

Definition at line 25 of file G4RootRawTowerContainer.h.

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

References i.

Referenced by G4RawTowerTTree::process_event().

+ Here is the caller graph for this function:

Member Data Documentation

float G4RootRawTowerContainer::etotal
protected

Definition at line 30 of file G4RootRawTowerContainer.h.

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

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

int G4RootRawTowerContainer::event
protected

Definition at line 31 of file G4RootRawTowerContainer.h.

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

Referenced by get_event().

TClonesArray* G4RootRawTowerContainer::SnglG4RootRawTowers
protected

Definition at line 32 of file G4RootRawTowerContainer.h.

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

Referenced by AddG4RootRawTower(), G4RootRawTowerContainer(), identify(), Reset(), and ~G4RootRawTowerContainer().


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