LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
XFunc.cc File Reference
#include "XFunc.hh"

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.

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

Definition at line 45 of file XFunc.cc.

References d.

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

Definition at line 51 of file XFunc.cc.

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 }