CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes
funct::ZLineShape Class Reference

#include <ZLineShape.h>

Public Member Functions

double operator() (double x) const
 
 ZLineShape (const Parameter &m, const Parameter &g, const Parameter &Ng, const Parameter &Ni)
 
 ZLineShape (std::shared_ptr< double > m, std::shared_ptr< double > g, std::shared_ptr< double > Ng, std::shared_ptr< double > Ni)
 

Public Attributes

std::shared_ptr< double > Ngamma
 
std::shared_ptr< double > Nint
 

Private Attributes

BreitWigner bw_
 
GammaPropagator gp_
 
GammaZInterference gzi_
 

Detailed Description

Definition at line 9 of file ZLineShape.h.

Constructor & Destructor Documentation

◆ ZLineShape() [1/2]

funct::ZLineShape::ZLineShape ( const Parameter m,
const Parameter g,
const Parameter Ng,
const Parameter Ni 
)
inline

Definition at line 11 of file ZLineShape.h.

12  : Ngamma(Ng.ptr()), Nint(Ni.ptr()), bw_(m, g), gp_(), gzi_(m, g) {}

◆ ZLineShape() [2/2]

funct::ZLineShape::ZLineShape ( std::shared_ptr< double >  m,
std::shared_ptr< double >  g,
std::shared_ptr< double >  Ng,
std::shared_ptr< double >  Ni 
)
inline

Definition at line 13 of file ZLineShape.h.

17  : Ngamma(Ng), Nint(Ni), bw_(m, g), gp_(), gzi_(m, g) {}

Member Function Documentation

◆ operator()()

double funct::ZLineShape::operator() ( double  x) const
inline

Definition at line 18 of file ZLineShape.h.

18 { return (1.0 - *Nint - *Ngamma) * bw_(x) + *Ngamma * gp_(x) + *Nint * gzi_(x); }

References bw_, gp_, gzi_, Ngamma, and Nint.

Member Data Documentation

◆ bw_

BreitWigner funct::ZLineShape::bw_
private

Definition at line 22 of file ZLineShape.h.

Referenced by operator()().

◆ gp_

GammaPropagator funct::ZLineShape::gp_
private

Definition at line 23 of file ZLineShape.h.

Referenced by operator()().

◆ gzi_

GammaZInterference funct::ZLineShape::gzi_
private

Definition at line 24 of file ZLineShape.h.

Referenced by operator()().

◆ Ngamma

std::shared_ptr<double> funct::ZLineShape::Ngamma

Definition at line 19 of file ZLineShape.h.

Referenced by operator()().

◆ Nint

std::shared_ptr<double> funct::ZLineShape::Nint

Definition at line 19 of file ZLineShape.h.

Referenced by operator()().

DDAxes::x
funct::ZLineShape::Nint
std::shared_ptr< double > Nint
Definition: ZLineShape.h:19
funct::ZLineShape::gp_
GammaPropagator gp_
Definition: ZLineShape.h:23
funct::m
m
Definition: Factorize.h:45
funct::ZLineShape::Ngamma
std::shared_ptr< double > Ngamma
Definition: ZLineShape.h:19
funct::ZLineShape::gzi_
GammaZInterference gzi_
Definition: ZLineShape.h:24
funct::ZLineShape::bw_
BreitWigner bw_
Definition: ZLineShape.h:22
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4