CMS 3D CMS Logo

Public Member Functions | Public Attributes | Private Attributes

funct::ZLineShape Class Reference

#include <ZLineShape.h>

List of all members.

Public Member Functions

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

Public Attributes

boost::shared_ptr< double > Ngamma
boost::shared_ptr< double > Nint

Private Attributes

BreitWigner bw_
GammaPropagator gp_
GammaZInterference gzi_

Detailed Description

Definition at line 10 of file ZLineShape.h.


Constructor & Destructor Documentation

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

Definition at line 12 of file ZLineShape.h.

                                                        : 
      Ngamma(Ng.ptr()), Nint(Ni.ptr()), 
      bw_(m, g), gp_(), gzi_(m, g) {}
funct::ZLineShape::ZLineShape ( boost::shared_ptr< double >  m,
boost::shared_ptr< double >  g,
boost::shared_ptr< double >  Ng,
boost::shared_ptr< double >  Ni 
) [inline]

Definition at line 16 of file ZLineShape.h.

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

Member Function Documentation

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

Definition at line 20 of file ZLineShape.h.

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

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

Member Data Documentation

Definition at line 25 of file ZLineShape.h.

Referenced by operator()().

Definition at line 26 of file ZLineShape.h.

Referenced by operator()().

Definition at line 27 of file ZLineShape.h.

Referenced by operator()().

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

Definition at line 23 of file ZLineShape.h.

Referenced by operator()().

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

Definition at line 23 of file ZLineShape.h.

Referenced by operator()().