Something went wrong on our end
-
Bertram Kopf authored2b7bd316
AbsDecay.cc 23.60 KiB
//************************************************************************//
// //
// Copyright 2013 Bertram Kopf (bertram@ep1.rub.de) //
// Julian Pychy (julian@ep1.rub.de) //
// - Ruhr-Universität Bochum //
// //
// This file is part of Pawian. //
// //
// Pawian is free software: you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation, either version 3 of the License, or //
// (at your option) any later version. //
// //
// Pawian is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with Pawian. If not, see <http://www.gnu.org/licenses/>. //
// //
//************************************************************************//
// AbsDecay class definition file. -*- C++ -*-
// Copyright 2012 Bertram Kopf
#include <getopt.h>
#include <fstream>
#include <sstream>
#include <algorithm>
#include "PwaUtils/AbsDecay.hh"
#include "PwaUtils/AbsDecayList.hh"
#include "qft++/relativistic-quantum-mechanics/Utils.hh"
#include "Particle/Particle.hh"
#include "Particle/ParticleTable.hh"
#include "Utils/PawianCollectionUtils.hh"
#include "Utils/FunctionUtils.hh"
#include "PwaUtils/KinUtils.hh"
#include "PwaUtils/EvtDataBaseList.hh"
#include "PwaUtils/DynRegistry.hh"
#include "PwaUtils/AbsDynamics.hh"
#include "PwaUtils/GlobalEnv.hh"
#include "PwaUtils/ProdChannelInfo.hh"
#include "PwaDynamics/BarrierFactor.hh"
#include "ErrLogger/ErrLogger.hh"
AbsDecay::AbsDecay(Particle* mother, Particle* daughter1, Particle* daughter2, ChannelID channelId, std::string typeName) :
_typeName(typeName)
,_channelId(channelId)
,_mother(mother)
,_daughter1(daughter1)
,_daughter2(daughter2)
,_daughter1IsStable(true)
,_daughter2IsStable(true)
,_hasMotherPart(true)
,_motherJPCPtr(getJPCPtr(mother))
,_motherIGJPCPtr(getIGJPCPtr(mother))
,_daughter1IGJPCPtr(getIGJPCPtr(daughter1))
,_daughter2IGJPCPtr(getIGJPCPtr(daughter2))
,_isospinClebschG(1.)
,_qR(BarrierFactor::qRDefault)
,_name(mother->name()+"To"+daughter1->name()+"_"+daughter2->name())
,_fitParamSuffix(_name)
,_massParamKey(_mother->name())
,_prodParamKey("")
,_dynType("WoDynamics")
,_dynEnabled(false)
,_preFactor(1.)
,_pathParserFile("")