CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
BStorageArray Struct Reference

#include <Grid3D.h>

Public Member Functions

 BStorageArray ()
 
 BStorageArray (float x, float y, float z)
 
float const & operator[] (int i) const
 

Public Attributes

float v [3]
 

Detailed Description

Definition at line 19 of file Grid3D.h.

Constructor & Destructor Documentation

BStorageArray::BStorageArray ( )
inline

Definition at line 20 of file Grid3D.h.

20 {}
BStorageArray::BStorageArray ( float  x,
float  y,
float  z 
)
inline

Definition at line 21 of file Grid3D.h.

References x, and detailsBasic3DVector::y.

21 : v{x,y,z}{}
float v[3]
Definition: Grid3D.h:25
float float float z
Definition: DDAxes.h:10

Member Function Documentation

float const& BStorageArray::operator[] ( int  i) const
inline

Definition at line 23 of file Grid3D.h.

References i, and v.

23 { return v[i];}
int i
Definition: DBlmapReader.cc:9
float v[3]
Definition: Grid3D.h:25

Member Data Documentation

float BStorageArray::v[3]

Definition at line 25 of file Grid3D.h.

Referenced by operator[]().