ROOTPWA
Functions | Variables
testNBodyPhaseSpaceGen.C File Reference
#include <iostream>
#include <string>
#include <algorithm>
#include "TStopwatch.h"
#include "TFile.h"
#include "TLorentzVector.h"
#include "TRandom3.h"
#include "TGenPhaseSpace.h"
#include "TH1.h"
#include "TH2.h"
#include "TCanvas.h"
#include "TF1.h"
#include "TF2.h"
#include "TColor.h"
#include "reportingUtils.hpp"
#include "physUtils.hpp"
#include "conversionUtils.hpp"
#include "nBodyPhaseSpaceGen.h"

Go to the source code of this file.

Functions

TLorentzVector constructMother (TRandom3 &random, const double mass, const double maxPt=0.150, const double maxEta=1)
double dalitzKinematicBorder (double *var, double *par)
void setResidualPalette (const unsigned int nmbSteps=99)
double dalitzFitFunc (double *var, double *par)
double nDimIntegral (TF1 *f, int n, const double *min, const double *max, const double *funcPar, int maxNmbOfPoints=10000, double epsilon=0.00001)
double nBodyPhaseSpaceElement (double *var, double *par)
double nBodyPhaseSpace (double *var, double *par)
void testNBodyPhaseSpaceGen (const unsigned int nmbEvents=1000000, const string &outFileName="./testNBodyPhaseSpaceGen.root")

Variables

const double gChargedPionMass = 0.13957018
TF1 * dLips

Function Documentation

TLorentzVector constructMother ( TRandom3 &  random,
const double  mass,
const double  maxPt = 0.150,
const double  maxEta = 1 
)

Definition at line 68 of file testNBodyPhaseSpaceGen.C.

References mass.

Referenced by testNBodyPhaseSpaceGen().

double dalitzFitFunc ( double *  var,
double *  par 
)

Definition at line 116 of file testNBodyPhaseSpaceGen.C.

References dalitzKinematicBorder(), and M.

Referenced by testNBodyPhaseSpaceGen().

double dalitzKinematicBorder ( double *  var,
double *  par 
)

Definition at line 88 of file testNBodyPhaseSpaceGen.C.

References M.

Referenced by dalitzFitFunc(), and testNBodyPhaseSpaceGen().

double nBodyPhaseSpace ( double *  var,
double *  par 
)

Definition at line 187 of file testNBodyPhaseSpaceGen.C.

References A, dLips, i, n, and nDimIntegral().

Referenced by testNBodyPhaseSpaceGen().

double nBodyPhaseSpaceElement ( double *  var,
double *  par 
)

Definition at line 158 of file testNBodyPhaseSpaceGen.C.

References i, M, and n.

Referenced by testNBodyPhaseSpaceGen().

double nDimIntegral ( TF1 *  f,
int  n,
const double *  min,
const double *  max,
const double *  funcPar,
int  maxNmbOfPoints = 10000,
double  epsilon = 0.00001 
)

Definition at line 138 of file testNBodyPhaseSpaceGen.C.

Referenced by nBodyPhaseSpace().

void setResidualPalette ( const unsigned int  nmbSteps = 99)

Definition at line 103 of file testNBodyPhaseSpaceGen.C.

References Double_t.

Referenced by testNBodyPhaseSpaceGen().

void testNBodyPhaseSpaceGen ( const unsigned int  nmbEvents = 1000000,
const string &  outFileName = "./testNBodyPhaseSpaceGen.root" 
)

Variable Documentation

TF1* dLips

Definition at line 183 of file testNBodyPhaseSpaceGen.C.

Referenced by nBodyPhaseSpace(), and testNBodyPhaseSpaceGen().

const double gChargedPionMass = 0.13957018

Definition at line 64 of file testNBodyPhaseSpaceGen.C.

Referenced by testNBodyPhaseSpaceGen().