CMS 3D CMS Logo

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

#include <CocoaUnitsTable.h>

Public Member Functions

 CocoaBestUnit (ALIdouble internalValue, const ALIstring &category)
 
 CocoaBestUnit (const CLHEP::Hep3Vector &internalValue, const ALIstring &category)
 
const ALIstringGetCategory () const
 
size_t GetIndexOfCategory () const
 
ALIdoubleGetValue ()
 
 ~CocoaBestUnit ()
 

Private Attributes

ALIstring Category
 
size_t IndexOfCategory
 
ALIint nbOfVals
 
ALIdouble Value [3]
 

Friends

std::ostream & operator<< (std::ostream &, CocoaBestUnit VU)
 

Detailed Description

Definition at line 103 of file CocoaUnitsTable.h.

Constructor & Destructor Documentation

CocoaBestUnit::CocoaBestUnit ( ALIdouble  internalValue,
const ALIstring category 
)

Definition at line 321 of file CocoaUnitsTable.cc.

CocoaBestUnit::CocoaBestUnit ( const CLHEP::Hep3Vector &  internalValue,
const ALIstring category 
)

Definition at line 350 of file CocoaUnitsTable.cc.

CocoaBestUnit::~CocoaBestUnit ( )

Definition at line 372 of file CocoaUnitsTable.cc.

Member Function Documentation

const ALIstring& CocoaBestUnit::GetCategory ( ) const
inline

Definition at line 118 of file CocoaUnitsTable.h.

References Category.

118 {return Category;}
ALIstring Category
size_t CocoaBestUnit::GetIndexOfCategory ( ) const
inline

Definition at line 119 of file CocoaUnitsTable.h.

References IndexOfCategory.

119 {return IndexOfCategory;}
size_t IndexOfCategory
ALIdouble* CocoaBestUnit::GetValue ( )
inline

Definition at line 117 of file CocoaUnitsTable.h.

References Value.

Referenced by UnitConverter::ucstring().

117 {return Value;}
ALIdouble Value[3]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  flux,
CocoaBestUnit  VU 
)
friend

Definition at line 377 of file CocoaUnitsTable.cc.

Member Data Documentation

ALIstring CocoaBestUnit::Category
private

Definition at line 131 of file CocoaUnitsTable.h.

Referenced by GetCategory().

size_t CocoaBestUnit::IndexOfCategory
private

Definition at line 132 of file CocoaUnitsTable.h.

Referenced by GetIndexOfCategory().

ALIint CocoaBestUnit::nbOfVals
private

Definition at line 130 of file CocoaUnitsTable.h.

ALIdouble CocoaBestUnit::Value[3]
private

Definition at line 129 of file CocoaUnitsTable.h.

Referenced by GetValue().