Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
XFunc.hh File Reference

Go to the source code of this file.

Functions

int func1 (int i)
 
double func1 (int i, double d)
 
int func2 (int i)
 
int func2 (int i0, int i1)
 
int func3 (int i)
 
int func3 (double d)
 

Function Documentation

int func1 ( int  i)

Definition at line 40 of file XFunc.cc.

Referenced by pyofsh(), and G4MuBremsstrahlungModel::SampleSecondaries().

41 {
42  return i;
43 }
double func1 ( int  i,
double  d 
)

Definition at line 45 of file XFunc.cc.

46 {
47  return i*d;
48 }
int func2 ( int  i)

Definition at line 51 of file XFunc.cc.

Referenced by pyofsh(), and G4MuBremsstrahlungModel::SampleSecondaries().

52 {
53  return i;
54 }
int func2 ( int  i0,
int  i1 
)

Definition at line 56 of file XFunc.cc.

57 {
58  return i0*i1;
59 }
int func3 ( int  i)

Definition at line 61 of file XFunc.cc.

62 {
63  return 0;
64 }
int func3 ( double  d)

Definition at line 66 of file XFunc.cc.

67 {
68  return 1;
69 }