![]() |
TIMBER
beta
Tree Interface for Making Binned Events with RDataFrame
|
C++ class. Constructs tree by adding particles. Establish relationships between particles (parent, child) and allows you to search for a chain of decays. More...
Public Member Functions | |
| Particle * | AddParticle (Particle particle) |
| Add particle to tree. More... | |
| template<class T > | |
| Particle * | AddParticle (int index, T p) |
| Add particle to tree. More... | |
| std::vector< std::vector< Particle * > > | FindChain (std::string chainstring) |
| Find a chain of decays in the tree. More... | |
| GenParticleTree (int nParticles) | |
| Construct a new GenParticleTree object. More... | |
| std::vector< Particle * > | GetChildren (Particle *particle) |
| Get the list of child particles for a given particle in the tree. More... | |
| Particle * | GetParent (Particle *particle) |
| Get the parent of the given particle in the tree. More... | |
| std::vector< Particle * > | GetParticles () |
| Get the list of particle objects. More... | |
C++ class. Constructs tree by adding particles. Establish relationships between particles (parent, child) and allows you to search for a chain of decays.
| GenParticleTree | ( | int | nParticles | ) |
Construct a new GenParticleTree object.
| nParticles |
| Particle* AddParticle | ( | int | index, |
| T | p | ||
| ) |
Add particle to tree.
| T | GenPartStruct |
| index | Index of the particle in the GenPart collection |
| p | A GenPartStruct from TIMBER |
| std::vector< std::vector< Particle * > > FindChain | ( | std::string | chainstring | ) |
Find a chain of decays in the tree.
| chainstring |
Get the list of child particles for a given particle in the tree.
| particle |
Get the parent of the given particle in the tree.
| particle |
| std::vector<Particle*> GetParticles | ( | ) |
Get the list of particle objects.
1.8.13