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

#include <coresoftware/blob/master/offline/framework/ffaobjects/RunHeader.h>

+ Inheritance diagram for RunHeader:
+ Collaboration diagram for RunHeader:

Public Member Functions

 ~RunHeader () override
 dtor
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains valid data
 
virtual int get_RunNumber () const
 get Run Number
 
virtual void set_RunNumber (const int run)
 set Run Number
 
virtual void set_floatval (const std::string &, const float)
 
virtual float get_floatval (const std::string &) const
 
virtual void set_intval (const std::string &, const int)
 
virtual int get_intval (const std::string &) const
 
void NoWarning (const int i=1)
 switches off the pesky virtual warning messages
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
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)
 

Private Member Functions

void warning (const std::string &func) const
 

Detailed Description

Definition at line 13 of file RunHeader.h.

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

Constructor & Destructor Documentation

RunHeader::~RunHeader ( )
inlineoverride

dtor

Definition at line 17 of file RunHeader.h.

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

Member Function Documentation

PHObject * RunHeader::CloneMe ( ) const
overridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 12 of file RunHeader.cc.

View newest version in sPHENIX GitHub at line 12 of file RunHeader.cc

virtual float RunHeader::get_floatval ( const std::string &  ) const
inlinevirtual

Reimplemented in RunHeaderv1.

Definition at line 38 of file RunHeader.h.

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

virtual int RunHeader::get_intval ( const std::string &  ) const
inlinevirtual

Reimplemented in RunHeaderv1.

Definition at line 41 of file RunHeader.h.

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

int RunHeader::get_RunNumber ( ) const
virtual

get Run Number

Reimplemented in RunHeaderv1.

Definition at line 36 of file RunHeader.cc.

View newest version in sPHENIX GitHub at line 36 of file RunHeader.cc

References warning().

Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllRunNodeInputManager::fileopen(), PHNodeDump::GetGlobalVars(), and DumpRunHeader::process_Node().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in RunHeaderv1.

Definition at line 24 of file RunHeader.cc.

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

int RunHeader::isValid ( ) const
overridevirtual

isValid returns non zero if object contains valid data

Reimplemented from PHObject.

Reimplemented in RunHeaderv1.

Definition at line 30 of file RunHeader.cc.

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

References PHWHERE.

Referenced by DumpRunHeader::process_Node().

+ Here is the caller graph for this function:

void RunHeader::NoWarning ( const int  i = 1)

switches off the pesky virtual warning messages

Definition at line 49 of file RunHeader.cc.

View newest version in sPHENIX GitHub at line 49 of file RunHeader.cc

References i, and nowarning.

void RunHeader::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in RunHeaderv1.

Definition at line 18 of file RunHeader.cc.

View newest version in sPHENIX GitHub at line 18 of file RunHeader.cc

References PHWHERE.

virtual void RunHeader::set_floatval ( const std::string &  ,
const float   
)
inlinevirtual

Reimplemented in RunHeaderv1.

Definition at line 37 of file RunHeader.h.

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

virtual void RunHeader::set_intval ( const std::string &  ,
const int   
)
inlinevirtual

Reimplemented in RunHeaderv1.

Definition at line 40 of file RunHeader.h.

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

void RunHeader::set_RunNumber ( const int  run)
virtual

set Run Number

Reimplemented in RunHeaderv1.

Definition at line 42 of file RunHeader.cc.

View newest version in sPHENIX GitHub at line 42 of file RunHeader.cc

References warning().

Referenced by HeadReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RunHeader::warning ( const std::string &  func) const
private

Definition at line 64 of file RunHeader.cc.

View newest version in sPHENIX GitHub at line 64 of file RunHeader.cc

References nowarning.

Referenced by get_RunNumber(), and set_RunNumber().

+ Here is the caller graph for this function:


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