Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:04

0001 #ifndef OSCAR_UnitConverter_h
0002 #define OSCAR_UnitConverter_h
0003 
0004 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0005 
0006 #include <iostream>
0007 #include <string>
0008 // inserts a multiplication '*' between a value and a unit
0009 // returned from G4BestUnit
0010 class CocoaBestUnit;
0011 class UnitConverter;
0012 
0013 //ostream & operator<<(ostream &, const UnitConverter & );
0014 
0015 class UnitConverter {
0016 public:
0017   UnitConverter(ALIdouble val, const ALIstring& category);
0018   ~UnitConverter();
0019   std::string ucstring();
0020   //friend ostream& operator(std::ostream & ,const UnitConverter & VU);
0021 
0022   CocoaBestUnit* bu_;
0023   bool angl_;
0024 };
0025 
0026 #endif