EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EtmOrphans.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EtmOrphans.h
1 
2 #ifndef _ETM_ORPHANS_
3 #define _ETM_ORPHANS_
4 
5 namespace etm {
6  // For now I need only convenient length units I guess;
7  static const double cm = 1.0;
8  static const double mm = 0.1;
9  static const double um = 1E-4;
10  static const double m = 100.0;
11  static const double inch = 2.54;
12 
14 
15  enum LineStyle {solid = 1, dashed = 7, dotted = 3, dashdotted = 8};
16 }
17 namespace g4 {
18  // FIXME: this looks dumb, but what else one can do in order to be able mixing
19  // ROOT geometry pieces and GEANT translations in one code;
20  static const double cm = 10.0;
21  static const double mm = 1.0;
22  static const double m = 1000.0;
23 }
24 
25 extern "C" {
26  double Eta2Theta(double eta);
27  double Theta2Eta(double theta);
28 
29  // FIXME: do a better exception handing scheme;
30  bool ConditionChecker(bool condition, const char *fmt, const char *message = 0);
31 }
32 
33 #endif