1 #ifndef PhysicsTools_Utilities_rootFunction_h
2 #define PhysicsTools_Utilities_rootFunction_h
7 template <
unsigned int args,
typename Tag,
typename F>
12 template <
unsigned int args,
typename F>
14 return function_t<args, helper::null_t>(
f);
17 template <
unsigned int args,
typename Tag,
typename F>
25 template <
unsigned int args,
typename F>
27 return function_t<args, helper::null_t>(
f, p0);
30 template <
unsigned int args,
typename Tag,
typename F>
41 template <
unsigned int args,
typename F>
45 return function<args, helper::null_t>(
f, p0,
p1);
48 template <
unsigned int args,
typename Tag,
typename F>
61 template <
unsigned int args,
typename F>
66 return function<args, helper::null_t>(
f, p0,
p1,
p2);
69 template <
unsigned int args,
typename Tag,
typename F>
84 template <
unsigned int args,
typename F>
90 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3);
93 template <
unsigned int args,
typename Tag,
typename F>
110 template <
unsigned int args,
typename F>
117 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4);
120 template <
unsigned int args,
typename Tag,
typename F>
139 template <
unsigned int args,
typename F>
147 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5);
150 template <
unsigned int args,
typename Tag,
typename F>
171 template <
unsigned int args,
typename F>
180 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6);
183 template <
unsigned int args,
typename Tag,
typename F>
206 template <
unsigned int args,
typename F>
216 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7);
219 template <
unsigned int args,
typename Tag,
typename F>
244 template <
unsigned int args,
typename F>
255 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8);
258 template <
unsigned int args,
typename Tag,
typename F>
285 template <
unsigned int args,
typename F>
297 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9);
300 template <
unsigned int args,
typename Tag,
typename F>
329 template <
unsigned int args,
typename F>
342 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10);
345 template <
unsigned int args,
typename Tag,
typename F>
376 template <
unsigned int args,
typename F>
390 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11);
393 template <
unsigned int args,
typename Tag,
typename F>
426 template <
unsigned int args,
typename F>
441 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12);
444 template <
unsigned int args,
typename Tag,
typename F>
479 template <
unsigned int args,
typename F>
495 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13);
498 template <
unsigned int args,
typename Tag,
typename F>
535 template <
unsigned int args,
typename F>
552 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14);
555 template <
unsigned int args,
typename Tag,
typename F>
594 template <
unsigned int args,
typename F>
612 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15);
615 template <
unsigned int args,
typename Tag,
typename F>
656 template <
unsigned int args,
typename F>
675 return function<args, helper::null_t>(
f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16);
678 template <
unsigned int args,
typename Tag,
typename F>
721 template <
unsigned int args,
typename F>
741 return function<args, helper::null_t>(
742 f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17);
745 template <
unsigned int args,
typename Tag,
typename F>
790 template <
unsigned int args,
typename F>
811 return function<args, helper::null_t>(
812 f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18);
815 template <
unsigned int args,
typename Tag,
typename F>
862 template <
unsigned int args,
typename F>
884 return function<args, helper::null_t>(
885 f, p0,
p1,
p2,
p3,
p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19);
888 template <
unsigned int args,
typename Tag,
typename F>
890 F&
f,
const std::vector<funct::Parameter>& pars) {
893 std::vector<funct::Parameter>::const_iterator
i,
b = pars.begin(),
e = pars.end();
894 for (
i =
b;
i !=
e; ++
i)
899 template <
unsigned int args,
typename F>
901 const std::vector<funct::Parameter>& pars) {
902 return function_t<args, helper::null_t>(
f, pars);
905 template <
unsigned int args,
typename Tag,
typename F>
910 std::vector<std::shared_ptr<double> >::const_iterator
i,
b = pars.begin(),
e = pars.end();
911 for (
i =
b;
i !=
e; ++
i)
916 template <
unsigned int args,
typename F>
918 F&
f,
const std::vector<std::shared_ptr<double> >& pars) {
919 return function_t<args, helper::null_t>(
f, pars);