laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.

Class for defining (a section of) the Dalitz plot integration binning scheme. More...

#include <LauDPPartialIntegralInfo.hh>

Public Member Functions

 LauDPPartialIntegralInfo (const Double_t minm13, const Double_t maxm13, const Double_t minm23, const Double_t maxm23, const Double_t m13BinWidth, const Double_t m23BinWidth, const Double_t precision, const UInt_t nAmp, const UInt_t nIncohAmp, const Bool_t squareDP=kFALSE, const LauKinematics *kinematics=0)
 Constructor. More...
 
virtual ~LauDPPartialIntegralInfo ()
 Destructor. More...
 
Double_t getMinm13 () const
 Retrieve the minm13 of DP. More...
 
Double_t getMaxm13 () const
 Retrieve the maxm13 of DP. More...
 
Double_t getMinm23 () const
 Retrieve the minm23 of DP. More...
 
Double_t getMaxm23 () const
 Retrieve the maxm23 of DP. More...
 
Double_t getM13BinWidth () const
 Retrieve the m13BinWidth of DP. More...
 
Double_t getM23BinWidth () const
 Retrieve the m23BinWidth of DP. More...
 
UInt_t getnm13Points () const
 Retrieve the number of bins in m13. More...
 
UInt_t getnm23Points () const
 Retrieve the number of bins in m23. More...
 
Bool_t getSquareDP () const
 Retrieve the square DP flag. More...
 
Double_t getWeight (const UInt_t m13Point, const UInt_t m23Point) const
 Retrieve the weight for the given grid point. More...
 
Double_t getM13Value (const UInt_t m13Point) const
 Retrieve the m13 value at the given grid point. More...
 
Double_t getM23Value (const UInt_t m23Point) const
 Retrieve the m23 value at the given grid point. More...
 
Double_t getEfficiency (const UInt_t m13Point, const UInt_t m23Point) const
 Retrieve the efficiency for the given grid point. More...
 
void storeEfficiency (const UInt_t m13Point, const UInt_t m23Point, const Double_t efficiency)
 Store the efficiency for the given grid point. More...
 
const LauComplexgetAmplitude (const UInt_t m13Point, const UInt_t m23Point, const UInt_t iAmp) const
 Retrieve the amplitude for the given grid point and amplitude index. More...
 
void storeAmplitude (const UInt_t m13Point, const UInt_t m23Point, const UInt_t iAmp, const LauComplex &amplitude)
 Store the amplitude for the given grid point and amplitude index. More...
 
Double_t getIntensity (const UInt_t m13Point, const UInt_t m23Point, const UInt_t iAmp) const
 Retrieve the intensity for the given grid point and intensity index. More...
 
void storeIntensity (const UInt_t m13Point, const UInt_t m23Point, const UInt_t iAmp, const Double_t intensity)
 Store the intensity for the given grid point and intensity index. More...
 

Private Member Functions

 LauDPPartialIntegralInfo (const LauDPPartialIntegralInfo &other)
 Copy constructor (not implemented) More...
 
LauDPPartialIntegralInfooperator= (const LauDPPartialIntegralInfo &other)
 Copy assignment operator (not implemented) More...
 

Private Attributes

const Double_t minm13_
 The minimum of the m13 range. More...
 
const Double_t maxm13_
 The maximum of the m13 range. More...
 
const Double_t minm23_
 The minimum of the m23 range. More...
 
const Double_t maxm23_
 The maximum of the m23 range. More...
 
const Double_t m13BinWidth_
 The bin width for m13. More...
 
const Double_t m23BinWidth_
 The bin width for m23. More...
 
const UInt_t nm13Points_
 The number of bins in m13. More...
 
const UInt_t nm23Points_
 The number of bins in m23. More...
 
const UInt_t nAmp_
 The number of amplitude components. More...
 
const UInt_t nIncohAmp_
 The number of amplitude components. More...
 
const Bool_t squareDP_
 Flag whether or not we're using the square DP for the integration. More...
 
std::vector< Double_t > m13Points_
 The m13 positions of the grid points. More...
 
std::vector< Double_t > m23Points_
 The m23 positions of the grid points. More...
 
std::vector< Double_t > m13Weights_
 The Gauss-Legendre weights of the m13 grid points. More...
 
std::vector< Double_t > m23Weights_
 The Gauss-Legendre weights of the m23 grid points. More...
 
std::vector< std::vector
< Double_t > > 
weights_
 The combined weights at each 2D grid point. More...
 
std::vector< std::vector
< Double_t > > 
efficiencies_
 The efficiency at each 2D grid point. More...
 
std::vector< std::vector
< std::vector< LauComplex > > > 
amplitudes_
 The amplitude values at each 2D grid point. More...
 
std::vector< std::vector
< std::vector< Double_t > > > 
incohIntensities_
 The incoherent intensity values at each 2D grid point. More...
 

Detailed Description

Class for defining (a section of) the Dalitz plot integration binning scheme.

Defines the range and bin size of the integration grid. Stores the weights and Jacobian for each grid point. Also stores the amplitude values for each model component at each grid point.

Definition at line 35 of file LauDPPartialIntegralInfo.hh.

Constructor & Destructor Documentation

LauDPPartialIntegralInfo::LauDPPartialIntegralInfo ( const Double_t  minm13,
const Double_t  maxm13,
const Double_t  minm23,
const Double_t  maxm23,
const Double_t  m13BinWidth,
const Double_t  m23BinWidth,
const Double_t  precision,
const UInt_t  nAmp,
const UInt_t  nIncohAmp,
const Bool_t  squareDP = kFALSE,
const LauKinematics kinematics = 0 
)

Constructor.

Parameters
[in]minm13the minimum of the m13 range
[in]maxm13the maximum of the m13 range
[in]minm23the minimum of the m23 range
[in]maxm23the maximum of the m23 range
[in]m13BinWidththe m13 bin width
[in]m23BinWidththe m23 bin width
[in]precisionthe precision required for the Gauss-Legendre weights
[in]nAmpthe number of coherent amplitude components
[in]nIncohAmpthe number of incoherent amplitude components
[in]squareDPwhether or not to use the square DP for the integration - if so, m13 is actually mPrime and m23 is actually thetaPrime
[in]kinematicsthe kinematics object to use to calculate the Jacobians (only relevant if squareDP is true)

Definition at line 14 of file LauDPPartialIntegralInfo.cc.

LauDPPartialIntegralInfo::~LauDPPartialIntegralInfo ( )
virtual

Destructor.

Definition at line 149 of file LauDPPartialIntegralInfo.cc.

LauDPPartialIntegralInfo::LauDPPartialIntegralInfo ( const LauDPPartialIntegralInfo other)
private

Copy constructor (not implemented)

Member Function Documentation

const LauComplex& LauDPPartialIntegralInfo::getAmplitude ( const UInt_t  m13Point,
const UInt_t  m23Point,
const UInt_t  iAmp 
) const
inline

Retrieve the amplitude for the given grid point and amplitude index.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
[in]iAmpthe amplitude index
Returns
the amplitude value

Definition at line 163 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getEfficiency ( const UInt_t  m13Point,
const UInt_t  m23Point 
) const
inline

Retrieve the efficiency for the given grid point.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
Returns
the efficiency value

Definition at line 146 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getIntensity ( const UInt_t  m13Point,
const UInt_t  m23Point,
const UInt_t  iAmp 
) const
inline

Retrieve the intensity for the given grid point and intensity index.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
[in]iAmpthe intensity index
Returns
the intensity value

Definition at line 181 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getM13BinWidth ( ) const
inline

Retrieve the m13BinWidth of DP.

Returns
the the m13BinWidth of DP

Definition at line 92 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getM13Value ( const UInt_t  m13Point) const
inline

Retrieve the m13 value at the given grid point.

Parameters
[in]m13Pointthe grid index in m13
Returns
the m13 value

Definition at line 131 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getM23BinWidth ( ) const
inline

Retrieve the m23BinWidth of DP.

Returns
the the m23BinWidth of DP

Definition at line 98 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getM23Value ( const UInt_t  m23Point) const
inline

Retrieve the m23 value at the given grid point.

Parameters
[in]m23Pointthe grid index in m23
Returns
the m23 value

Definition at line 138 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getMaxm13 ( ) const
inline

Retrieve the maxm13 of DP.

Returns
the the maxm13 of DP

Definition at line 74 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getMaxm23 ( ) const
inline

Retrieve the maxm23 of DP.

Returns
the the maxm23 of DP

Definition at line 86 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getMinm13 ( ) const
inline

Retrieve the minm13 of DP.

Returns
the the minm13 of DP

Definition at line 68 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getMinm23 ( ) const
inline

Retrieve the minm23 of DP.

Returns
the the minm23 of DP

Definition at line 80 of file LauDPPartialIntegralInfo.hh.

UInt_t LauDPPartialIntegralInfo::getnm13Points ( ) const
inline

Retrieve the number of bins in m13.

Returns
the number of bins in m13

Definition at line 104 of file LauDPPartialIntegralInfo.hh.

UInt_t LauDPPartialIntegralInfo::getnm23Points ( ) const
inline

Retrieve the number of bins in m23.

Returns
the number of bins in m23

Definition at line 110 of file LauDPPartialIntegralInfo.hh.

Bool_t LauDPPartialIntegralInfo::getSquareDP ( ) const
inline

Retrieve the square DP flag.

Returns
whether or not the integration is performed in the square DP

Definition at line 116 of file LauDPPartialIntegralInfo.hh.

Double_t LauDPPartialIntegralInfo::getWeight ( const UInt_t  m13Point,
const UInt_t  m23Point 
) const
inline

Retrieve the weight for the given grid point.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
Returns
the value of the weight

Definition at line 124 of file LauDPPartialIntegralInfo.hh.

LauDPPartialIntegralInfo& LauDPPartialIntegralInfo::operator= ( const LauDPPartialIntegralInfo other)
private

Copy assignment operator (not implemented)

void LauDPPartialIntegralInfo::storeAmplitude ( const UInt_t  m13Point,
const UInt_t  m23Point,
const UInt_t  iAmp,
const LauComplex amplitude 
)
inline

Store the amplitude for the given grid point and amplitude index.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
[in]iAmpthe amplitude index
[in]amplitudethe new amplitude value

Definition at line 172 of file LauDPPartialIntegralInfo.hh.

void LauDPPartialIntegralInfo::storeEfficiency ( const UInt_t  m13Point,
const UInt_t  m23Point,
const Double_t  efficiency 
)
inline

Store the efficiency for the given grid point.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
[in]efficiencythe new efficiency value

Definition at line 154 of file LauDPPartialIntegralInfo.hh.

void LauDPPartialIntegralInfo::storeIntensity ( const UInt_t  m13Point,
const UInt_t  m23Point,
const UInt_t  iAmp,
const Double_t  intensity 
)
inline

Store the intensity for the given grid point and intensity index.

Parameters
[in]m13Pointthe grid index in m13
[in]m23Pointthe grid index in m23
[in]iAmpthe intensity index
[in]intensitythe new intensity value

Definition at line 190 of file LauDPPartialIntegralInfo.hh.

Member Data Documentation

std::vector< std::vector< std::vector<LauComplex> > > LauDPPartialIntegralInfo::amplitudes_
private

The amplitude values at each 2D grid point.

Definition at line 251 of file LauDPPartialIntegralInfo.hh.

std::vector< std::vector<Double_t> > LauDPPartialIntegralInfo::efficiencies_
private

The efficiency at each 2D grid point.

Definition at line 248 of file LauDPPartialIntegralInfo.hh.

std::vector< std::vector< std::vector<Double_t> > > LauDPPartialIntegralInfo::incohIntensities_
private

The incoherent intensity values at each 2D grid point.

Definition at line 254 of file LauDPPartialIntegralInfo.hh.

const Double_t LauDPPartialIntegralInfo::m13BinWidth_
private

The bin width for m13.

Definition at line 212 of file LauDPPartialIntegralInfo.hh.

std::vector<Double_t> LauDPPartialIntegralInfo::m13Points_
private

The m13 positions of the grid points.

Definition at line 233 of file LauDPPartialIntegralInfo.hh.

std::vector<Double_t> LauDPPartialIntegralInfo::m13Weights_
private

The Gauss-Legendre weights of the m13 grid points.

Definition at line 239 of file LauDPPartialIntegralInfo.hh.

const Double_t LauDPPartialIntegralInfo::m23BinWidth_
private

The bin width for m23.

Definition at line 215 of file LauDPPartialIntegralInfo.hh.

std::vector<Double_t> LauDPPartialIntegralInfo::m23Points_
private

The m23 positions of the grid points.

Definition at line 236 of file LauDPPartialIntegralInfo.hh.

std::vector<Double_t> LauDPPartialIntegralInfo::m23Weights_
private

The Gauss-Legendre weights of the m23 grid points.

Definition at line 242 of file LauDPPartialIntegralInfo.hh.

const Double_t LauDPPartialIntegralInfo::maxm13_
private

The maximum of the m13 range.

Definition at line 203 of file LauDPPartialIntegralInfo.hh.

const Double_t LauDPPartialIntegralInfo::maxm23_
private

The maximum of the m23 range.

Definition at line 209 of file LauDPPartialIntegralInfo.hh.

const Double_t LauDPPartialIntegralInfo::minm13_
private

The minimum of the m13 range.

Definition at line 200 of file LauDPPartialIntegralInfo.hh.

const Double_t LauDPPartialIntegralInfo::minm23_
private

The minimum of the m23 range.

Definition at line 206 of file LauDPPartialIntegralInfo.hh.

const UInt_t LauDPPartialIntegralInfo::nAmp_
private

The number of amplitude components.

Definition at line 224 of file LauDPPartialIntegralInfo.hh.

const UInt_t LauDPPartialIntegralInfo::nIncohAmp_
private

The number of amplitude components.

Definition at line 227 of file LauDPPartialIntegralInfo.hh.

const UInt_t LauDPPartialIntegralInfo::nm13Points_
private

The number of bins in m13.

Definition at line 218 of file LauDPPartialIntegralInfo.hh.

const UInt_t LauDPPartialIntegralInfo::nm23Points_
private

The number of bins in m23.

Definition at line 221 of file LauDPPartialIntegralInfo.hh.

const Bool_t LauDPPartialIntegralInfo::squareDP_
private

Flag whether or not we're using the square DP for the integration.

Definition at line 230 of file LauDPPartialIntegralInfo.hh.

std::vector< std::vector<Double_t> > LauDPPartialIntegralInfo::weights_
private

The combined weights at each 2D grid point.

Definition at line 245 of file LauDPPartialIntegralInfo.hh.


The documentation for this class was generated from the following files: