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

#include <OnlMon/blob/main/onlmondatabase/OnlMonDBVar.h>

+ Collaboration diagram for OnlMonDBVar:

Public Member Functions

 OnlMonDBVar ()
 
virtual ~OnlMonDBVar ()
 
int SetVar (const float rval[3])
 
void Print () const
 
int wasupdated ()
 
void resetupdated ()
 
float GetVar (const int i)
 

Protected Attributes

int updated = 0
 
std::array< float, 3 > val
 

Detailed Description

Definition at line 6 of file OnlMonDBVar.h.

View newest version in sPHENIX GitHub at line 6 of file OnlMonDBVar.h

Constructor & Destructor Documentation

OnlMonDBVar::OnlMonDBVar ( )

Definition at line 6 of file OnlMonDBVar.cc.

View newest version in sPHENIX GitHub at line 6 of file OnlMonDBVar.cc

References val.

virtual OnlMonDBVar::~OnlMonDBVar ( )
inlinevirtual

Definition at line 10 of file OnlMonDBVar.h.

View newest version in sPHENIX GitHub at line 10 of file OnlMonDBVar.h

Member Function Documentation

float OnlMonDBVar::GetVar ( const int  i)
inline

Definition at line 16 of file OnlMonDBVar.h.

View newest version in sPHENIX GitHub at line 16 of file OnlMonDBVar.h

References i, and val.

void OnlMonDBVar::Print ( ) const

Definition at line 22 of file OnlMonDBVar.cc.

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

References updated, and val.

void OnlMonDBVar::resetupdated ( )
inline

Definition at line 15 of file OnlMonDBVar.h.

View newest version in sPHENIX GitHub at line 15 of file OnlMonDBVar.h

References updated.

int OnlMonDBVar::SetVar ( const float  rval[3])

Definition at line 12 of file OnlMonDBVar.cc.

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

References i, updated, and val.

int OnlMonDBVar::wasupdated ( )
inline

Definition at line 14 of file OnlMonDBVar.h.

View newest version in sPHENIX GitHub at line 14 of file OnlMonDBVar.h

References updated.

Member Data Documentation

int OnlMonDBVar::updated = 0
protected

Definition at line 19 of file OnlMonDBVar.h.

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

Referenced by Print(), resetupdated(), SetVar(), and wasupdated().

std::array<float, 3> OnlMonDBVar::val
protected

Definition at line 20 of file OnlMonDBVar.h.

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

Referenced by GetVar(), OnlMonDBVar(), Print(), and SetVar().


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