ROOTPWA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
rpwa::diffractivePhaseSpace Class Reference

Phase Space generator for diffractive pion dissociation. More...

#include <diffractivePhaseSpace.h>

Public Member Functions

 diffractivePhaseSpace ()
 ~diffractivePhaseSpace ()
const TLorentzVector *const GetDecay (unsigned int i)
TLorentzVector * GetBeam ()
TVector3 * GetVertex ()
double Gettprime ()
void SetBeam (double Mom=190, double MomSigma=1.2, double DxDz=0, double DxDzSigma=0, double DyDz=0, double DyDzSigma=0)
 Set beam parameters.
void SetTarget (double zPos, double length, double r, double mass)
 Set beam parameters The target is assumed to be a single cylinder centered at zPos and r=0;.
void SetTPrimeSlope (double slopePar)
 Set the slope b of the t-prime distribution.
void SetTPrimeSlope (double *slopePar, double *inv_m=NULL, int nvalues=1)
 Set the slopes b of the t-prime distribution depending on the invariant mass.
void SetMassRange (double min, double max)
 Set mass range of produced system X.
void SetDecayProducts (const std::vector< particleInfo > &info)
void AddDecayProduct (const particleInfo &info)
void SetSeed (int seed)
void setVerbose (bool flag)
void SetImportanceBW (double mass, double width)
void SettMin (double tMin)
void SettprimeMin (double tprimeMin)
void SettprimeMax (double tprimeMax)
void SetPrimaryVertexGen (primaryVertexGen *primaryVertexGen)
unsigned int event ()
 generates on event
unsigned int event (ostream &)
 generates on event
unsigned int event (ostream &, ostream &)
 generates on event
double impWeight () const

Private Member Functions

TLorentzVector makeBeam ()
bool writePwa2000Ascii (std::ostream &out, const int beamGeantId, const int beamCharge)
bool writeComGeantAscii (ostream &out, bool formated=true)
void BuildDaughterList ()
float Calc_t_prime (const TLorentzVector &particle_In, const TLorentzVector &particle_Out)
double Get_inv_SlopePar (double invariant_M=-1.)

Private Attributes

rpwa::nBodyPhaseSpaceGen _phaseSpace
primaryVertexGen_primaryVertexGen
double _targetZPos
double _targetZLength
double _targetR
double _targetMass
double _recoilMass
double _beamMomSigma
double _beamMom
double _beamDxDz
double _beamDxDzSigma
double _beamDyDz
double _beamDyDzSigma
TLorentzVector _beamLab
TLorentzVector _recoilprotonLab
TVector3 _vertex
double _tprime
double * _invSlopePar
double * _invM
int _ninvSlopePar
double _tMin
double _tprimeMin
double _tprimeMax
double _xMassMin
double _xMassMax
std::vector< particleInfo_decayProducts
double _protonMass
double _pionMass
double _pionMass2

Detailed Description

Phase Space generator for diffractive pion dissociation.

Author
Sebastian Neubert TUM (original author)

Definition at line 68 of file diffractivePhaseSpace.h.


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