LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 39 of file XFunc.cc.

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

Definition at line 44 of file XFunc.cc.

References d.

45 {
46  return i*d;
47 }
Float_t d
Definition: plot.C:235
int func2 ( int  i)

Definition at line 50 of file XFunc.cc.

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

Definition at line 55 of file XFunc.cc.

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

Definition at line 60 of file XFunc.cc.

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

Definition at line 65 of file XFunc.cc.

66 {
67  return 1;
68 }