Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4Cellv1::u_property Union Reference

convert between 32bit inputs and storage type prop_storage_t More...

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4Cellv1.h>

Public Member Functions

 u_property (int32_t in)
 
 u_property (uint32_t in)
 
 u_property (float in)
 
 u_property ()
 
prop_storage_t get_storage () const
 

Public Attributes

float fdata
 
int32_t idata
 
uint32_t uidata
 

Detailed Description

convert between 32bit inputs and storage type prop_storage_t

Definition at line 114 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 114 of file PHG4Cellv1.h

Constructor & Destructor Documentation

PHG4Cellv1::u_property::u_property ( int32_t  in)
inline

Definition at line 120 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 120 of file PHG4Cellv1.h

PHG4Cellv1::u_property::u_property ( uint32_t  in)
inline

Definition at line 124 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 124 of file PHG4Cellv1.h

PHG4Cellv1::u_property::u_property ( float  in)
inline

Definition at line 128 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 128 of file PHG4Cellv1.h

PHG4Cellv1::u_property::u_property ( )
inline

Definition at line 132 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 132 of file PHG4Cellv1.h

Member Function Documentation

prop_storage_t PHG4Cellv1::u_property::get_storage ( ) const
inline

Definition at line 137 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 137 of file PHG4Cellv1.h

References uidata.

Referenced by PHG4Cellv1::add_property(), and PHG4Cellv1::set_property().

+ Here is the caller graph for this function:

Member Data Documentation

float PHG4Cellv1::u_property::fdata

Definition at line 116 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 116 of file PHG4Cellv1.h

Referenced by PHG4Cellv1::get_property_float().

int32_t PHG4Cellv1::u_property::idata

Definition at line 117 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 117 of file PHG4Cellv1.h

Referenced by PHG4Cellv1::get_property_int().

uint32_t PHG4Cellv1::u_property::uidata

Definition at line 118 of file PHG4Cellv1.h.

View newest version in sPHENIX GitHub at line 118 of file PHG4Cellv1.h

Referenced by PHG4Cellv1::get_property_uint(), and get_storage().


The documentation for this union was generated from the following file: