src
Alignment
CocoaToDDL
interface
UnitConverter.h
Go to the documentation of this file.
1
#ifndef OSCAR_UnitConverter_h
2
#define OSCAR_UnitConverter_h
3
4
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
5
6
#include <iostream>
7
#include <string>
8
// inserts a multiplication '*' between a value and a unit
9
// returned from G4BestUnit
10
class
CocoaBestUnit
;
11
class
UnitConverter
;
12
13
//ostream & operator<<(ostream &, const UnitConverter & );
14
15
class
UnitConverter
{
16
public
:
17
UnitConverter
(
ALIdouble
val
,
const
ALIstring
&
category
);
18
~UnitConverter
();
19
std::string
ucstring
();
20
//friend ostream& operator(std::ostream & ,const UnitConverter & VU);
21
22
CocoaBestUnit
*
bu_
;
23
bool
angl_
;
24
};
25
26
#endif
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
UnitConverter
Definition:
UnitConverter.h:15
CocoaBestUnit
Definition:
CocoaUnitsTable.h:94
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
UnitConverter::~UnitConverter
~UnitConverter()
Definition:
UnitConverter.cc:22
CocoaGlobals.h
UnitConverter::bu_
CocoaBestUnit * bu_
Definition:
UnitConverter.h:22
validateAlignments.category
category
Definition:
validateAlignments.py:130
UnitConverter::ucstring
std::string ucstring()
Definition:
UnitConverter.cc:24
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
UnitConverter::UnitConverter
UnitConverter(ALIdouble val, const ALIstring &category)
Definition:
UnitConverter.cc:16
UnitConverter::angl_
bool angl_
Definition:
UnitConverter.h:23
heppy_batch.val
val
Definition:
heppy_batch.py:351
Generated for CMSSW Reference Manual by
1.8.14