14 std::ostringstream os1, os2;
17 if( os1.str() != os2.str() ) {
18 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
21 os1.str(std::string());
22 os2.str(std::string());
25 if( os1.str() != os2.str() ) {
26 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
29 os1.str(std::string());
30 os2.str(std::string());
31 os1 << std::fixed << std::showpoint << std::setprecision(3) <<
util::kModBoxA ;
33 if( os1.str() != os2.str() ) {
34 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
37 os1.str(std::string());
38 os2.str(std::string());
41 if( os1.str() != os2.str() ) {
42 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
45 os1.str(std::string());
46 os2.str(std::string());
48 os2 <<
"42370000.000";
49 if( os1.str() != os2.str() ) {
50 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
53 os1.str(std::string());
54 os2.str(std::string());
57 if( os1.str() != os2.str() ) {
58 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
61 os1.str(std::string());
62 os2.str(std::string());
65 if( os1.str() != os2.str() ) {
66 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
69 os1.str(std::string());
70 os2.str(std::string());
73 if( os1.str() != os2.str() ) {
74 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
77 os1.str(std::string());
78 os2.str(std::string());
81 if( os1.str() != os2.str() ) {
82 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
85 os1.str(std::string());
86 os2.str(std::string());
89 if( os1.str() != os2.str() ) {
90 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
93 os1.str(std::string());
94 os2.str(std::string());
97 if( os1.str() != os2.str() ) {
98 std::cout <<
"compare --" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
105 os1.str(std::string());
106 os2.str(std::string());
109 if( os1.str() != os2.str() ) {
110 std::cout <<
"compare ->" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
113 os1.str(std::string());
115 if( os1.str() != os2.str() ) {
116 std::cout <<
"compare ->" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
119 os1.str(std::string());
120 os2.str(std::string());
123 if( os1.str() != os2.str() ) {
124 std::cout <<
"compare ->" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
127 os1.str(std::string());
128 os2.str(std::string());
130 os2 <<
"-1642408503589454.5";
131 if( os1.str() != os2.str() ) {
132 std::cout <<
"compare ->" << os1.str() <<
"-- to --" << os2.str() <<
"--" << std::endl;
constexpr int kBogusI
obviously bogus integer value
constexpr double keVToMeV
1e6 eV = 1 MeV
constexpr double kGeVToElectrons
23.6eV per ion pair, 1e9 eV/GeV
constexpr double kModBoxB
Modified Box Beta in g/(MeV cm)*kV/cm.
constexpr T DegreesToRadians(T angle)
Converts the argument angle from degrees into radians.
constexpr double kCentimeterToMeter
constexpr double kMeterToKilometer
1000 m = 1 km
constexpr double kKilometerToMeter
constexpr double kMeVToeV
constexpr double quietCompiler
constexpr float kBogusF
obviously bogus float value
constexpr double kRecombk
constexpr T RadiansToDegrees(T angle)
Converts the argument angle from radians into degrees ( )
constexpr double kBogusD
obviously bogus double value
constexpr double kRecombA
A constant.
constexpr double kModBoxA
Modified Box Alpha.
constexpr double kMeterToCentimeter
1 m = 100 cm
BEGIN_PROLOG could also be cout