Skip to content

Commit

Permalink
extent constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Mar 29, 2024
1 parent 5130146 commit f4835d2
Showing 1 changed file with 68 additions and 4 deletions.
72 changes: 68 additions & 4 deletions source/include/Ostap/MoreRooFit.h
Original file line number Diff line number Diff line change
Expand Up @@ -2288,14 +2288,22 @@ namespace Ostap
const std::string& title = "" )
: BesselJ ( name , title , x , nu )
{}
/// constructor with two variables
/// constructor with one variables
BesselJ
( RooAbsReal& x ,
const double nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselJ ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variables
BesselJ
( const double x ,
RooAbsReal& nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselJ ( name , title , RooFit::RooConst( x ) , nu )
{}
/// constructor with one variable
BesselJ
( const std::string& name ,
Expand All @@ -2304,6 +2312,14 @@ namespace Ostap
const double nu )
: BesselJ ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variable
BesselJ
( const std::string& name ,
const std::string& title ,
const double x ,
RooAbsReal& nu )
: BesselJ ( name , title , RooFit::RooConst ( x ) , nu )
{}
// ======================================================================
/// fake defautl constructor (needed for serisalization)
BesselJ () = default ;
Expand Down Expand Up @@ -2350,14 +2366,22 @@ namespace Ostap
const std::string& title = "" )
: BesselY ( name , title , x , nu )
{}
/// constructor with two variables
/// constructor with one variables
BesselY
( RooAbsReal& x ,
const double nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselY ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variables
BesselY
( const double x ,
RooAbsReal& nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselY ( name , title , RooFit::RooConst ( x ) , nu )
{}
/// constructor with one variable
BesselY
( const std::string& name ,
Expand All @@ -2366,6 +2390,14 @@ namespace Ostap
const double nu )
: BesselY ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variable
BesselY
( const std::string& name ,
const std::string& title ,
const double x ,
RooAbsReal& nu )
: BesselY ( name , title , RooFit::RooConst ( x ) , nu )
{}
// ======================================================================
/// fake defautl constructor (needed for serisalization)
BesselY () = default ;
Expand Down Expand Up @@ -2412,14 +2444,22 @@ namespace Ostap
const std::string& title = "" )
: BesselI ( name , title , x , nu )
{}
/// constructor with two variables
/// constructor with one variables
BesselI
( RooAbsReal& x ,
const double nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselI ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variables
BesselI
( const double x ,
RooAbsReal& nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselI ( name , title , RooFit::RooConst ( x ) , nu )
{}
/// constructor with one variable
BesselI
( const std::string& name ,
Expand All @@ -2428,6 +2468,14 @@ namespace Ostap
const double nu )
: BesselI ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variable
BesselI
( const std::string& name ,
const std::string& title ,
const double x ,
RooAbsReal& nu )
: BesselI ( name , title , RooFit::RooConst ( x ) , nu )
{}
// ======================================================================
/// fake defautl constructor (needed for serisalization)
BesselI () = default ;
Expand Down Expand Up @@ -2474,14 +2522,22 @@ namespace Ostap
const std::string& title = "" )
: BesselK ( name , title , x , nu )
{}
/// constructor with two variables
/// constructor with one variables
BesselK
( RooAbsReal& x ,
const double nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselK ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variables
BesselK
( const double x ,
RooAbsReal& nu ,
const std::string& name = "" ,
const std::string& title = "" )
: BesselK ( name , title , RooFit::RooConst ( x ) , nu )
{}
/// constructor with one variable
BesselK
( const std::string& name ,
Expand All @@ -2490,6 +2546,14 @@ namespace Ostap
const double nu )
: BesselK ( name , title , x , RooFit::RooConst ( nu ) )
{}
/// constructor with one variable
BesselK
( const std::string& name ,
const std::string& title ,
const double x ,
RooAbsReal& nu )
: BesselK ( name , title , RooFit::RooConst ( x ) , nu )
{}
// ======================================================================
/// fake defautl constructor (needed for serisalization)
BesselK () = default ;
Expand Down

0 comments on commit f4835d2

Please sign in to comment.