Something went wrong on our end
-
Bertram Kopf authoredebe87808
AbsDecay.hh 7.27 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
#pragma once
#include <iostream>
#include <vector>
#include <complex>
#include <map>
#include <vector>
#include <string>
#include <sstream>
#include <memory>
#include "PwaUtils/DataUtils.hh"
#include "PwaUtils/AbsChannelEnv.hh"
#include "Utils/PawianCollectionUtils.hh"
class Particle;
class EvtData;
class AbsDynamics;
class ProdChannelInfo;
class AbsDecay : public std::enable_shared_from_this<AbsDecay>{
public:
typedef enum decayLevel {noLevel=-1, isProdAmp, firstLevel, secondLevel, thirdLevel, fourthLevel, fifthLevel, severalLevels} decLevel;
AbsDecay(Particle* mother, Particle* daughter1, Particle* daughter2, ChannelID channelId, std::string typeName="AbsDecay");
AbsDecay(std::shared_ptr<const IGJPC> motherIGJPCPtr, Particle* daughter1, Particle* daughter2, std::string motherName, ChannelID channelId, std::string typeName="AbsDecay");
virtual ~AbsDecay();
// virtual AbsDecay* clone_() const = 0;
virtual const std::string name() const {return _name;}
const std::string wignerDKey() {return _wignerDKey;}
const std::string refKey() {return _refKey;}
virtual std::string fitParSuffix() const {return _fitParamSuffix;}
void setFitParSuffix(std::string& suffix) {_fitParamSuffix = suffix;}
virtual std::string& massParKey() {return _massParamKey;}
void setMassParKey(const std::string& newKey) {_massParamKey = newKey;}
virtual std::string& prodParKey() {return _prodParamKey;}
void setProdParKey(const std::string& newKey) {_prodParamKey = newKey;}
void setPreFactor(double thePreFactor) {_preFactor=thePreFactor;}
double preFactor() {return _preFactor;}
std::shared_ptr<const jpcRes> motherJPC(){ return _motherJPCPtr;}
std::shared_ptr<const IGJPC> motherIGJPC(){ return _motherIGJPCPtr;}
// std::vector< std::shared_ptr<const JPCLS> > JPCLSAmps(){ return _JPCLSDecAmps;}
std::shared_ptr<AbsDecay> decDaughter1() {return _absDecDaughter1;}