23 ,
const std::string& lopt_in
24 ,
const std::string& namePrefix
25 ,
const std::string& lineshapePrefix
26 ,
const std::vector<double>& numOpts_in
32 , _lsPrefix(lineshapePrefix)
34 , _numOpts(numOpts_in)
35 , _autoSwap(autoSwap_in)
41 cout <<
"ERROR in constructor of AmpInitialiser from string: " 42 << StandardisedDecayTreeName << endl;
43 cout <<
"Can't find NamedDecayTreeList!" << endl;
46 (*this) = ndl->
find(StandardisedDecayTreeName, success);
48 cout <<
"ERROR in constructor of AmpInitialiser from string: " 49 << StandardisedDecayTreeName << endl;
50 cout <<
"Can't find this decay in List" << endl;
56 ,
const std::string& lopt_in
57 ,
const std::string& namePrefix
58 ,
const std::string& lineshapePrefix
59 ,
const std::vector<double>& numOpts_in
64 , _lsPrefix(lineshapePrefix)
66 , _numOpts(numOpts_in)
67 , _autoSwap(autoSwap_in)
74 ,
const std::string& lopt_in
75 ,
const std::string& namePrefix
76 ,
const std::string& lineshapePrefix
77 ,
const std::vector<double>& numOpts_in
82 , _lsPrefix(lineshapePrefix)
84 , _numOpts(numOpts_in)
85 , _autoSwap(autoSwap_in)
94 , _valid(other._valid)
95 , _prefix(addedPrefix + other._prefix)
96 , _lsPrefix(addedLineshapePrefix + other._lsPrefix)
98 , _numOpts(other._numOpts)
99 , _autoSwap(other._autoSwap)
100 , _index(other._index)
124 std::vector<int> fs_int;
125 fs_int.push_back(
tree().getVal().pdg());
126 for(
unsigned int i=0; i< fs.size(); i++){
127 fs_int.push_back(fs[i]->pdg());
221 return "Tree not set - so no name";
const AmpInitialiser & find(const std::string &name, bool &successFlag) const
const std::string & lopt() const
std::string uniqueName() const
const DecayTree & tree() const
bool standardSort(DecayTree &A)
bool A_is_in_B(const std::string &a, const std::string &b)
std::string indexString() const
static NamedDecayTreeList * getMe(const std::string &printopt="printNever")
void setTree(const DecayTree &dt_in)
const std::string & lsPrefix() const
bool setAutoSwap(bool autoSwap_in=true)
void setLopt(const std::string &lopt_in)
std::string anythingToString(const T &anything)
const std::string & prefix() const
std::vector< const ValueType * > finalState() const
void oneLiner(std::stringstream &seam, int generation=0) const
const std::vector< double > & numOpts() const
AmpInitialiser & operator=(const AmpInitialiser &rhs)
void addLopt(const std::string &lopt_in)
DalitzEventPattern getEventPattern() const
void addPrefix(const std::string &namePrefix)
void addLsPrefix(const std::string &linshapePrefix)
void setNumOpts(const std::vector< double > &numOpts_in=std::vector< double >())
std::vector< double > _numOpts