Main Page
Namespaces
Classes
Package Documentation
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
{
17
public
:
18
UnitConverter
(
ALIdouble
val
,
const
ALIstring
&
category
);
19
~UnitConverter
();
20
std::string
ucstring
();
21
//friend ostream& operator(std::ostream & ,const UnitConverter & VU);
22
23
CocoaBestUnit
*
bu_
;
24
bool
angl_
;
25
};
26
27
28
#endif
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
UnitConverter
Definition:
UnitConverter.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CocoaBestUnit
Definition:
CocoaUnitsTable.h:103
UnitConverter::~UnitConverter
~UnitConverter()
Definition:
UnitConverter.cc:24
CocoaGlobals.h
UnitConverter::bu_
CocoaBestUnit * bu_
Definition:
UnitConverter.h:23
UnitConverter::ucstring
std::string ucstring()
Definition:
UnitConverter.cc:29
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
UnitConverter::UnitConverter
UnitConverter(ALIdouble val, const ALIstring &category)
Definition:
UnitConverter.cc:17
UnitConverter::angl_
bool angl_
Definition:
UnitConverter.h:24
taus_updatedMVAIds_cff.category
category
Definition:
taus_updatedMVAIds_cff.py:29
heppy_batch.val
val
Definition:
heppy_batch.py:351
Generated for CMSSW Reference Manual by
1.8.11