1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef OSCAR_UnitConverter_h
#define OSCAR_UnitConverter_h
#include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
#include <iostream>
#include <string>
// inserts a multiplication '*' between a value and a unit
// returned from G4BestUnit
class CocoaBestUnit;
class UnitConverter;
//ostream & operator<<(ostream &, const UnitConverter & );
class UnitConverter {
public:
UnitConverter(ALIdouble val, const ALIstring& category);
~UnitConverter();
std::string ucstring();
//friend ostream& operator(std::ostream & ,const UnitConverter & VU);
CocoaBestUnit* bu_;
bool angl_;
};
#endif
|