11#ifndef MCPARTICLEUTILS_DECAYPARSER_H
12#define MCPARTICLEUTILS_DECAYPARSER_H
49 const std::vector<McUtils::Strings>&
getParents()
const;
50 const std::vector<McUtils::Strings>&
getChildren()
const;
54 int pdgId(
const std::string& pdgIdString )
const;
59 void parse(
const std::string& cmd );
118const std::vector<McUtils::Strings>&
125const std::vector<McUtils::Strings>&
const std::vector< McUtils::Strings > & getParents() const
I/O operators.
DecayParser()
Default constructor:
void printMcUtilsStrings(const std::vector< McUtils::Strings > &list) const
Print the content of a vector of McUtils::Strings to std::cout.
void dump() const
Const methods:
virtual ~DecayParser()
Destructor:
DecayParser(const std::string &cmd)
Constructor with parameters:
std::vector< McUtils::Strings > m_parents
List of parents : each slot of the vector is a list of candidates So one could have something like : ...
void parse(const std::string &cmd)
Non-const methods:
int pdgId(const std::string &pdgIdString) const
DecayParser & operator=(const DecayParser &obj)
Assignment operator:
DecayParser(const DecayParser &rhs)
Copy constructor:
PyObject * m_parseFct
python function to parse the input string modeling the decay pattern to look for.
const std::vector< McUtils::Strings > & getChildren() const
std::vector< McUtils::Strings > m_children
List of children : each slot of the vector is a list of candidates So one could have something like :...
std::vector< std::string > Strings